[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 775
  • Last Modified:

! ! ! X X X PWD PWD PWD PWD PWS X X X ! ! !

I have given a  Password to a Access Database.
I cannot open the above said Database file
with VB.  That means How can I specify the
Password for Opening the Database saved with
password in VB Program?

0
eesrinivaassan
Asked:
eesrinivaassan
  • 2
1 Solution
 
watyCommented:
Send me your DB, I will deprotect it :
Thierry.WATY@cec.eu.int
0
 
st_steveCommented:
I think "eesrinivaassan" meant he wants to open the DB from within VB (which is what I want to do as well...but I don't know how!)....I don't think "eesrinivaassan" lost the password....he just wants to specify the password from VB....
0
 
alokanantCommented:
here is an example of opening a password protected access db

Dim db As Database
   
   
Set db = Workspaces(0).OpenDatabase("C:\winnt\profiles\90127\alok\vb5\db1.mdb", Exclusive, True, ";pwd=helphelp")


hth
alok
0
 
alokanantCommented:
replace "helphelp" with the actual password.
u can set the readonly option as False also, instead of True, above.

hth
alok.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now