
Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Thanks Jochen :
I have reviewed the link, But I found reference to OpenDatabase (vBa with
";PWD="xx") while in Visual C++ I am using CDaoDatabase, How can I translate
PWD from OpenDatabase to CDaoDatabase ?
Thanks in advanced,
German Medina
GermanMedina@inen.sld.pe
> Hi German!
> > I have a mdb file (with password, I know the password)
[quoted text clipped - 12 lines]
> Access 2000
> http://support.microsoft.com/kb/235422/en-us
Jochen Kalmbach [MVP] - 04 Jul 2005 17:10 GMT
Hi German!
> I have reviewed the link, But I found reference to OpenDatabase (vBa with
> ";PWD="xx") while in Visual C++ I am using CDaoDatabase, How can I translate
> PWD from OpenDatabase to CDaoDatabase ?
See: CDaoDatabase::Open
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc
_cdaodatabase.3a3a.open.asp
Pass the string to "lpszConnect"...

Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/