strProvider = "Provider=Microsoft.Jet.OLEDB.4.0;Data   Source=D:\oracle\200208\db1.dbt;Persist Security Info=False;User ID=sa;Password=pwd;"

解决方案 »

  1.   

    bluecc(深蓝) 调不通,提示"Cannot start your application. The workgroup information file is missing or opened exclusively by other user."当前只有我一个用户使用该数据库。
      

  2.   

    PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=YourDB.mdb;Jet OLEDB:Database Password=YourPassword;
      

  3.   

    Set adoCnn_1 = New ADODB.Connection
        Dim strcnn As String
        With adoCnn_1
             .Provider = "Microsoft.Jet.OLEDB.4.0"
             .Properties("Data Source") = "D:\oracle\200208\db1.dbt"
             .Properties("Jet OLEDB:Database Password") = "aaaaaaa"
             .Open
        End With