| | |
Permision denied error number 70
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2007
Posts: 44
Reputation:
Solved Threads: 3
Hi All,
I've database application that uses an ADO & Datagrid control. This application has Backup button that should copy the database to another location. When I click on the button it gives me an error Permission denied. When I changed the connection string, record source & refresh the ado then it works but the datagrid shows the new record source data.
Is there any other way to copy the database file?
Shrini
I've database application that uses an ADO & Datagrid control. This application has Backup button that should copy the database to another location. When I click on the button it gives me an error Permission denied. When I changed the connection string, record source & refresh the ado then it works but the datagrid shows the new record source data.
Is there any other way to copy the database file?
Shrini
Hi,
If u want to make the backup of Access Database, I think u r using "fileCopy".
all the Connections Objects which have opened that database should be Closed . then only u can take back up.
Note : u cannot back up even if the access database is open in either Visdata or MS Office/Access.
just b4 backup close adoConnection.
Regards
Veena
If u want to make the backup of Access Database, I think u r using "fileCopy".
all the Connections Objects which have opened that database should be Closed . then only u can take back up.
Note : u cannot back up even if the access database is open in either Visdata or MS Office/Access.
just b4 backup close adoConnection.
Regards
Veena
•
•
Join Date: Jun 2007
Posts: 44
Reputation:
Solved Threads: 3
Thanks for reply. I'm taking backup of database using seperate form. On Main form I've ADODC & Datagrid. In datagrid I'm displaying contents. If I close the connection on main form then datagrid gets cleared. It should not get cleared. So I tried to close in Backup form but still I get same error as "ldb" file is there.
•
•
Join Date: Jun 2007
Posts: 44
Reputation:
Solved Threads: 3
Hi,
I've done the same, backup option in seperate form. But on main form I've displayed the Datagrid which shows the contents of database and it is displayed continuously. So if I close the connection then grid gets cleared. If I try to close on backup form it does get closed but ldb file (MS record locking information) is there, duw to which I can't copy mdb file.
I've done the same, backup option in seperate form. But on main form I've displayed the Datagrid which shows the contents of database and it is displayed continuously. So if I close the connection then grid gets cleared. If I try to close on backup form it does get closed but ldb file (MS record locking information) is there, duw to which I can't copy mdb file.
![]() |
Similar Threads
- Fatal Error (Windows NT / 2000 / XP)
- permission denied error (ASP)
- ActiveX DLL - Permission Denied Error (Visual Basic 4 / 5 / 6)
- runtime error#58 (Visual Basic 4 / 5 / 6)
- XP SP2 installation error: "unable to read from or write to the database" (Windows NT / 2000 / XP)
- php coding (PHP)
- Error when installing some .exe programs (Windows 95 / 98 / Me)
- E-Mail error Message (Web Browsers)
- compiling error wtf!?!? (C)
- Please help me out, need help (C)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: InstallShield in Visual Basic
- Next Thread: how to use generate random numbers
Views: 3293 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






