Results 1 to 2 of 2

Thread: Jet OLEDB initialisation information

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    4

    Red face Jet OLEDB initialisation information

    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 Sub
    accessing 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
    Last edited by surk; Jun 26th, 2010 at 05:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width