Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Password problem

 
   Database Help (Home) -> Visual Basic -> DAO RSS
Next:  Error after converting from Access 97 to Access 2..  
Author Message
David

External


Since: Oct 04, 2004
Posts: 1



(Msg. 1) Posted: Mon Oct 04, 2004 9:21 am
Post subject: Password problem
Archived from groups: microsoft>public>vb>database>dao (more info?)

Hey,

I've been using ADO for a few years now and now I need to simply open
an access DB using DAO3.6 which has is password protected.

set dbtemp = opendatabase("MyDB.MDB",False,False," ;pwd=mypass")

I get an error about "cannot find...ISAM" something, something...
If I remove the second False I get "Invalid password"

I don't want to work with workspaces nor ODBC I simply want to open the
password protected Access2000 DB using DAO3.6.

Thanx in advance.
David

 >> Stay informed about: Password problem 
Back to top
Login to vote
Paul Clement

External


Since: Sep 02, 2003
Posts: 236



(Msg. 2) Posted: Mon Oct 04, 2004 12:44 pm
Post subject: Re: Password problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 4 Oct 2004 09:21:25 -0400, "David" <not.TakeThisOut@directemail.com> wrote:

¤ Hey,
¤
¤ I've been using ADO for a few years now and now I need to simply open
¤ an access DB using DAO3.6 which has is password protected.
¤
¤ set dbtemp = opendatabase("MyDB.MDB",False,False," ;pwd=mypass")
¤
¤ I get an error about "cannot find...ISAM" something, something...
¤ If I remove the second False I get "Invalid password"
¤
¤ I don't want to work with workspaces nor ODBC I simply want to open the
¤ password protected Access2000 DB using DAO3.6.
¤

I believe you need to specify the driver in the Connect string parameter

set dbtemp = opendatabase("MyDB.MDB",False,False,"MS Access;pwd=mypass")


Paul ~~~ pclement.TakeThisOut@ameritech.net
Microsoft MVP (Visual Basic)

 >> Stay informed about: Password problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SQL Date Between Problem - Hello... I need some help with my SQL syntax, so it account for all international date formats. For example, if you set your region to Germany (germany), the short date format is DD.MM.YYYY. This will invoke the 3075 run-time error. Here's my..

Problem with 'Dim' ..... As Database ??? - It's worked perfectly in the past. When I have a 'Dim MyDb As Database' statement in my program, it rejects it saying'User-defined type not Declared' (I have checked that the 'VB' library where this resides is available, and it works on new projects..

Sort of a weird problem! - This has just started happening with one of my apps, the program is a VB6 frontend to a mdb backend connected with DAO. The mdb and exe are in the same folder on the HD of a laptop The laptop is connected to a network and the user has to logon. When th...

Strange Data Control problem - Hi all, if anyone can shed some light on this I'd be very happy! I have an large application which uses the DAO version that is loaded on the users system (normally 3.6). There are currently over 300 users of the application and it would appear that....

Problem with DAO (Import from Excel to Access)! :( - Hi, I am novice and I have problem. I need import some data with Excel file to Access. Problem introduces as follows: In Excel(first sheet) i have data: "TYTUL" - column "A" "NAZWISKO" - column "B" "IMIE&quot...
   Database Help (Home) -> Visual Basic -> DAO All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]