-
November 27th, 2012, 10:42 AM
#1
Copy directory from hard disk to textbox
I am creating 1 textbox and 1 button. A button is open a file contain database (.mdb) and textbox is shown the directory.
Example : C:\ TEST.mdb
I want to copy the directory in the first time and when I open the program in the second time the textbox is shown the directory in the first time.
I am appreciate for your help!!!!!
-
November 27th, 2012, 01:25 PM
#2
Re: Copy directory from hard disk to textbox
That is what the program installer is supposed to do. The only way to do it would be to check for a db file that hasn't been copied, and replace the valid one. Suppose someone copies a file there two years later? You'd lose your DB when the app started "first time" again.
-
November 27th, 2012, 01:39 PM
#3
Re: Copy directory from hard disk to textbox
Clearly you do not mean that you want to copy a directory.
How about telling us what you want to do as your post makes no sense whatsoever
Always use [code][/code] tags when posting code.
-
November 27th, 2012, 06:51 PM
#4
Re: Copy directory from hard disk to textbox
IMO the OP wanted to say PATH instead of Directory
and
In button click event he :
wants to open the mdb typed in the textbox
wants to save the path
and retrieve and show the path every time the program is executed
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
November 28th, 2012, 02:07 AM
#5
Re: Copy directory from hard disk to textbox
I am thinking he is looking for a complicated way of getting app.path ?
Always use [code][/code] tags when posting code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|