|
-
Apr 24th, 2010, 09:41 AM
#1
Thread Starter
Lively Member
Open Password Protected Database
Hi
Iam using this code to open an access database but it is password protected where to add the password?
Code:
Dim db As dao.Database
db = DAODBEngine_definst.OpenDatabase(My.Application.Info.DirectoryPath & "\my.mdb")
-
Apr 24th, 2010, 10:03 AM
#2
Re: Open Password Protected Database
Generally you don't want to be using DAO at all unless you have some very specific reason to be using it. Data access should be performed through ADO.NET objects, specifically for an access database, the oledb database objects.
Is there a reason you are using DAO (other than maybe you are trying to migrate something from VB6 or VBA in access over to .NET)?
-
Apr 24th, 2010, 12:04 PM
#3
Thread Starter
Lively Member
Re: Open Password Protected Database
yes i just convert a vb6 programe to vb.net and now want to protect my database how can i do this ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|