On 24 Aug 2006 04:14:24 -0700, "jatphat" <ja*****@gmail.comwrote:
>Somebody help me.
How do i copy my Access database from one location on my hard disk to
another .
i tried file.copy(source, distination ) but the file would not move.
i always get this error message "Another process is using the
destinationFileName" .
thanks
"File.Copy" by design does not allow a file that is currently open to be copied.
It appears that you are trying to create a copy of an Access database file that is currently open
and in use.
If using VB2005, you might look at My.Computer.FileSystem.CopyFile method which, I believe, will not
error on copying open files.
Gene