Jump to content

ADODB problem


 Share

Recommended Posts

$conn = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&@ScriptDir&"\test.mdb;"
$fee = ObjCreate("ADODB.Connection")
$fee.Open($conn)

When then access file without a password it can be run normally

but if the file has a password it can not be run

error info:

d:\date\test.au3 (104) : ==> The requested action with this object has failed.:

i tried to use

"Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&@ScriptDir&"\test.mdb;password=pass"

the error info is same to that

how can i let it run ?

thanks!

Link to comment
Share on other sites

$conn = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&@ScriptDir&"\test.mdb;"
$fee = ObjCreate("ADODB.Connection")
$fee.Open($conn)
$conn = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & @ScriptDir & "\test.mdb; Jet OLEDB:Database=YourPassword"

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...