Developers community number 1 connection string reference

MS Jet OLEDB Initialisation Information problem

Posted 2010-06-28 04:43
by sur konsam
in the Access Forum
Sir,

Code:
Private Sub bkLstMn_Click()
Dim sconnectString As String
sconnectString = "Provider=Microsoft.Jet.OLEDB.4.0;jet OLEDB:Database user Name=Admin,Password=xxx;Mode=share Deny None;Data Source=C:\CLIBS 40.0\jolx.mdb"
DataEnvironment1.Connection1.ConnectionString = sconnectString

If DataEnvironment1.Connection1.State Then
DataEnvironment1.Connection1.Close
End If
DataEnvironment1.Connection1.Open
BookListRpt.Show
Set DataEnvironment1 = Nothing

End Subaccessing Ms Access password protected database from Visual Basic 6, it is prompt the message saying " Please Enter MS Jet OLEDB Initialisation Information"
what to do . Please
Reply 2010-06-30 09:08
by Max Wikström
in the Access Forum
Try adding this
Jet OLEDB:Database Password=MyDbPassword;
then omit
Database user Name=Admin

Let me know if this helps!
Reply 2010-10-03 09:20
by boycha mangang
in the Access Forum
Sir,
I tried this but still cant't display giving the same error message MS Jet OLEDB initialisation Information.
I am expecting you will help me this,

connectionstrings.com helped me a lot . So, I will be posting anything when i have.


with regard,
Copyright © 2012 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.