Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Re: ADO connection


Message #1 by Arthur Maloney <ArthurMaloney@s...> on Fri, 14 Jun 2002 07:08:26 +0100
Hi everyone,
I have a problem in establishing connection with Access database wich has 
a password.
My connection string is:

strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Password=proba;User    
ID=admin;Data Source=c:\temp\probapass.mdb;"

and I receive error message:

Cannot start your application. The workgroup information file is missing 
or opened exclusively by another user.

After unsetting password, I use conection string:

strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\temp\proba.mdb"

and programm works fine.

I use VB 6.0 SP5, Access 2002, Windows XP Professional...


  Return to Index