Open database with password 
Author Message
 Open database with password

What is the method of opening an access database in VB when the database has
a password?
   Thanks,
    Jerry


Sat, 16 Feb 2002 03:00:00 GMT  
 Open database with password
It depends on whether you use DAO or ADO. For ADO, do this:

cn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\yourdb.mdb", ,
"password"

Note 2 commas, then password as string. That should do it (for ADO anyway).

Quote:
> What is the method of opening an access database in VB when the database
has
> a password?
>    Thanks,
>     Jerry



Sun, 17 Feb 2002 03:00:00 GMT  
 Open database with password
Check the Opendatabase method in VB Help

Quote:

> What is the method of opening an access database in VB when the database has
> a password?
>    Thanks,
>     Jerry

--
Humberto Gonzalez

My personal page: http://www.geocities.com/SiliconValley/Park/5117
Business Page: http://www.interven.net/acron


Mon, 18 Feb 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. open database with password

2. Open database with password

3. Opening database with password

4. How to Open Database having password, use OpenDatabase Method

5. Opening database with password

6. Opening database with password

7. How open database with password?

8. Open Database with Password

9. Cant open DataBase with password

10. Opening database with password

11. #### Please : VB ---> DAO ----> Access97 / Open Database with Password

12. Open a password protected database with DAO

 

 
Powered by phpBB® Forum Software