Hello.
I have a database with password but I need to open it from anothe
database(it is the program). When I try to open the program it says "N
valid password".
How can I use opendatabase in VB
--
AndyEduard
Hi,
if you open it using OpenDatabase - you have to specify db password in a
last argument. see access help for more info

Signature
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
> Hello.
>
[quoted text clipped - 3 lines]
>
> How can I use opendatabase in VB?
AndyEduardo - 04 Feb 2006 20:47 GMT
I tried to see the Access Help but in this case it has not the topi
OpenDataBAs
--
AndyEduard
> Hello.
>
[quoted text clipped - 3 lines]
>
> How can I use opendatabase in VB?
Is this MS Access?
With such little information, I would guess that the databaes you are trying to open from within "the program" is using a different workgroup than the default. When you are in the default workgroup, you are admin. It is possible the database you are trying to open uses a different workgroup that has changed admin's password.
My two cents.

Signature
James
*Note: Remove every other letter for correct email address
Registered Linux User #253525