Friends, I met with a small problem please help me
I developed a small programme. When I exit from it I want to make a backup in another drive
I coded like this
FileCopy "I:\My Documents\New Folder\Pebble.mdb", "D:\Pebble\Pebble.mdb"
Here the "Pebble.mdb" is my database in Drive "I". I want to copy it to Drive "D" on exiting. The code is under the click event of command button Exit.On running the programme I am getting the error message "Permission Denied" How can I solve?
And if I want to take a back up in my pendrive what coding should be?In my computer the pendrive is in K: While in some it is in H: How can I code the target drive common to all computers?
Please help me..