Make A SQL Message To A Specific Folder - What Value To Put On "Archive_to_read"?
Apr 30, 2012
The program is suppose to make an SQL message to a specific folder in "C: emp",but theirs one problem I don't know what value to put on "Archive_to_read" and its really starting to bug me..This is the Code:
Imports System.Data.OleDb
Public Class Form1
Dim Conection_to_Access As OleDbConnection[code]..............
View 1 Replies
ADVERTISEMENT
Jun 9, 2011
Is it plausible to have a listview item search a specific folder that has nothing but text files in it, pull the first 2 lines from the text file(s) and display them in columns 1 and 2. [Code]
View 4 Replies
Jun 14, 2009
I have search system that works like charm: 1> Searches specific folder for text files which contain specific word 2> Puts those text file names and/or paths to listbox However i want it to put (instead of InputStr) the specific line where word is found in text file to listbox.
[Code]...
View 8 Replies
Dec 19, 2011
So im trying to get evything that has ends with .iso into a list box, tryed a couple of things but not getting anywhere as yeat
Here is code.
Dim Locate As String = Application.StartupPath & "\Games\"
ListBox1.Items.Add(Locate.EndsWith("*.iso"))
The Locate String is there because thats the location where the iso files are but the application is in the root of the drive. The ListBox1 command is fairly easy to understand
View 14 Replies
Mar 15, 2009
I need a code to work to simply open the my document folder.However, I tried using open file dialog:[code]
View 4 Replies
Dec 13, 2010
just curious if there was a way to make the text in a message box scroll across the message box
View 1 Replies
Jan 14, 2009
i have a log file which contains hundreds/thousands of seperate XML messages and need to find a way to extract a complete xml message depending on the parameters given (values of nodes).My biggest problem is that even though i program a fair amount i have had very little contact with XML or the XML libraries of the languages i use and didnt think that a simple text parsing would be an elegant solution!I am going to attempt this in C# or VB.net
View 3 Replies
Sep 6, 2011
How do I correctly extract specific info from an sql error message number 547? [code]
View 2 Replies
May 18, 2011
I'm trying to send a message to a specific IP/Port and receive a reply in an ASP.net website, i tried the method describd at the following link but it didn't work for me as you can see SocketException An attempt was made to access a socket in a way forbidden by its access permissions
View 1 Replies
Apr 12, 2010
create some code that detects if a selected folder is over 4GB, if it is, then the code displays a message to the user that the folder is above this size?
View 4 Replies
Jan 12, 2012
I want to get all the files from a folder using DirectoryInfo, how can i perform check and get all the images from the folder,
For checking i want to pass a productid as all the images are saved with their productids, for instance a product (bmw) has a product id 100 ,
View 2 Replies
Apr 25, 2009
I have a big problem finding out how to delete a file in a folder when i dont know the name(s) on the folder before this one. Like this one, but what if i dont know the folder "test1" and "test2"?
[Code]...
View 2 Replies
Jul 2, 2011
I'm developing an application that adds .class files to a .jar using Ionic.Zip (Found Here) but this library does not support removing files from a zip, only adding them. Is there another free, open-source API that would allow me to add and remove files from an archive?
For those of you who don't know, .jar files work the same as .zip files, except their executable java files. The .jar i'm adding to and removing from, the developer said that anyone can do such things with it if they want.
View 1 Replies
Apr 23, 2012
i am currently creating a quick and easy way of renaming files in a specific folder, what i need to do is create a program that will populate a listbox with the names of all the files in a specific folder, then i need to be able to select each item in the list box and rename it with whatever i type into a textbox, but it also needs to rename the file in my selected folder with whatever is typed into the text box...
I have done the initial bit which populates the listbox with the names of the files in my folder:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim di As New IO.DirectoryInfo("\c:TestFolder")
[Code]......
View 3 Replies
Jun 29, 2009
Is it possible to lock a folder in such a way that just one specified application can open/write/read it??
View 13 Replies
Apr 28, 2011
I am using the following code to send an email through Outlook, but I want the email to be saved in a predefined directory. Under the Sent Items folder I have a sub folder called "Simon". What I want is when the email is sent for the email to be saved here.I have tried using the following code, but it appears that it does not use string values to specify the folder location but a value. I am unable to determine what value the "Sent Items\Simon" folder is.
MailFolder = tempNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail & "\Simon")
Dim tempNS As Outlook.NameSpace
Dim MailFolder As Outlook.MAPIFolder
[code]....
View 5 Replies
May 17, 2012
A picture is displayed from a webcam into a picturebox. That picture must be saved to a specific folder.
View 6 Replies
Aug 28, 2010
I How can I search a specific file using vb.net and store the path in a variable?For example if I need to know where I have *.abc files in my entire computer, how can this be done?
View 2 Replies
Feb 3, 2009
I need to know how I can use VB2008 to check a pop3 email inbox and only download a certain message with a specific subject line.I have looked and looked and cant seem to find anything.
View 2 Replies
Aug 19, 2011
How can I Search for a Image File in a spesific Folder. I need the code to be able to find an Image File by searching for an string in the Image File's name. For instance if the string I am searching for is "26" the resalts will bring up a file with a name like "Nick's Pie 00026" Hendri Bissolati [URL]
View 1 Replies
Jun 12, 2011
How I can upload and store image to specific folder?
View 2 Replies
May 31, 2012
I have a WPF program that will go through all of the emails in a users inbox (outlook) and save all of the attachments to a specified folder (C:Attachments)What I want to do is to be able to select the folder within the Inbox to run the program on as it currently only works on the root of the inbox.I have seen several snippets of code on sites such as MSDN but cannot get them to compile.Does anyone know how I can point the function at a specific folder? [code]
View 1 Replies
May 17, 2012
I am using impersonate user to copy files form one location to other.
Only impersonate user will have write permission on the destination folder.
But i want to check before if that user has write permission before i copy file.
Currently i could able to get it using try catch exception, for that i need to perform the copy file process
View 3 Replies
Mar 15, 2009
i have created an application using vb.net 2008 which will maintain backup of the database in system32 folder
View 2 Replies
May 27, 2009
i'm currently working on making a program that does all my normal pc clean up work for me. delete temp files, tif, cookies prefetch etc and i'm using code like this
vb.net
Dim rKey As Microsoft.Win32.RegistryKey
Dim path As String
rKey =
[Code]....
I'm stuck in the cookiew folder since "index.dat" doesn't delete and it causes the form to crash.
View 8 Replies
Nov 3, 2009
I have the following code used to enter the name of a text file and then display it in a richtextbox. This is working but I would like it so that I could take out the initial part of the filename detailing the location of the filename to simply set it to the project folder, is there any way of doing this using the App.path function?
My code is as follows:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code].....
View 3 Replies
Jun 1, 2010
I have setup my listview to View: Details
I want the listview to show all the keys of a specific folder.
Example: HKEY_CURRENT_USER\Software\Microsoft\VBExpress\10.0
So you click button1 and it adds all the keys within the example to your listview.
View 3 Replies
Mar 11, 2011
I've created a Setup project (in VB.Net 2008 Standard Edition) and I need to deploy some .rtf files in a specific folder for the user to edit. I've added these files to the project as content files but the Setup project installs them in Program File/MyApp along with the exe. As these rtf files need to be found easily by the user I need to specify a different folder on the hard drive. These are not mdb or xls files so are not used by the app itself. All the user needs to do is find them manually loading them into MS Word for editing. I don't need to load MS Word from the app, but I do need to deploy them so the user has access to them. How do I edit the file path so it does not bury them in Common Files or the User App Data or app folder itself? Ideally, since these are rtf files they could go in My Documents. (The app itself will work whether or not these files exist elsewhere.)
View 5 Replies
Jun 15, 2012
I want to copy files with a specific extension (for example .config or .exe). It should create a structure of nested directories, and then insert each file into a specified place in the directory hierarchy. Ideally I would just specify a parent directory for each file and a parent directory for each directory and it would build it.
I need any existing utility or batch file or power-shell script or C#/VB .Net code to perform this activity.
View 2 Replies
May 17, 2012
I am using impersonate user to copy files form one location to other.Only impersonate user will have write permission on the destination folder.But i want to check before if that user has write permission before i copy file.Currently i could able to get it using try catch exception, for that i need to perform the copy file process.
View 7 Replies