Connecting Access 2003

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramzanullah
    New Member
    • Jul 2008
    • 1

    Connecting Access 2003

    I am developing an application in vb2005 with Access 2003 which is protected with password. I am using OLEDB Connection and command. whenever i try to connect with the database an error occures saying " Cannot start your apploication, Workgroup Information file is missing or opened exclusively by another user"
    Problem is with Connection String
    Below is the code for Connection String to connect with the Database,


    dim ConnectionStrin g as String = "Provider = Microsoft.Jet.o ledb.4.0 ; Data Source = E:\mydatabase.m db ; Password = 123"


    I have also tried the following code but failed;

    "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=\somepat h\mydb.mdb;Jet
    OLEDB:Database Password=MyDbPa ssword"

    any body help.

    I have visisted many forums but failed.
  • kartheekmutyala
    New Member
    • Dec 2011
    • 1

    #2
    c# using coding want plz

    Comment

    Working...