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!!!!!
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.
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
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
Re: Copy directory from hard disk to textbox
I am thinking he is looking for a complicated way of getting app.path ?