Hello frenzz m new to forums pls forgive if i offend ne1 in ne manner
I have created a backup utility in VB.NET for MS Access backend i am using the copy method to copy the updated db to new location
System.IO.File. Copy(DBFile, BackupFile, True)
but the problem is it gets copied only if the file exists at the "BackupFile " location
to overcome this problem i have created file at the location i want the backup
System.IO.File. Create( BackupFile)
but now when code reaches the copying procedure it returns me an error saying
"An another process is trying acess the file "
Pls help me frenz ......
I have created a backup utility in VB.NET for MS Access backend i am using the copy method to copy the updated db to new location
System.IO.File. Copy(DBFile, BackupFile, True)
but the problem is it gets copied only if the file exists at the "BackupFile " location
to overcome this problem i have created file at the location i want the backup
System.IO.File. Create( BackupFile)
but now when code reaches the copying procedure it returns me an error saying
"An another process is trying acess the file "
Pls help me frenz ......
Comment