PC Review


Reply
Thread Tools Rate Thread

How to Open a Password encrypted .accdb

 
 
New Member
Join Date: Apr 2012
Posts: 1
 
      18th Apr 2012
This is my code but i don't know why it failed to open it. Please help!!!

Dim db As ADODB.Connection
Dim rs As ADODB.Recordset
Dim Password As String


Password = "ABC"
Set db = New ADODB.Connection


db.Provider = "Microsoft.ACE.OLEDB.12.0"
db.ConnectionString = "Data Source=C:\Database (TEST)\test.accdb"
db.Properties("Jet OLEDBatabase Password") = Password
db.Open
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Open a Password encrypted .accdb file in Access 2007 using =?Utf-8?B?SWFuTw==?= Microsoft Access Security 5 29th Jul 2007 09:38 PM
Backing up Bitlocker Encrypted Drive Equals Not Encrypted markbyrn Windows Vista Security 4 19th Mar 2007 03:33 AM
Non-encrypted message detected as encrypted =?Utf-8?B?Y3N0ZWFkaGFt?= Microsoft Outlook Discussion 0 28th Jul 2006 04:56 PM
Cannot open encrypted file after changing password =?Utf-8?B?UGhpbCBZ?= Windows XP Security 4 28th Apr 2004 02:56 PM
Re: Reinstaled, Lost profiles, encrypted files left encrypted Jupiter Jones [MVP] Windows XP Security 0 3rd Jul 2003 04:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:18 PM.