VB-Access

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jayachandra
    New Member
    • Mar 2007
    • 49

    VB-Access

    Hi everybody,

    I have taken Access as Backend for VB . I set a password to the access file. But when i run the application it is giving an error. How to set the password in the VB 6 in coding. in Connection String. please help me in this concept.

    Thank in advance.
    bye
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by Jayachandra
    Hi everybody,

    I have taken Access as Backend for VB . I set a password to the access file. But when i run the application it is giving an error. How to set the password in the VB 6 in coding. in Connection String. please help me in this concept.

    Thank in advance.
    bye
    Do not post questions in the articles section.
    Moved to the forum.

    Comment

    • ansumansahu
      New Member
      • Mar 2007
      • 149

      #3
      Originally posted by Jayachandra
      Hi everybody,

      I have taken Access as Backend for VB . I set a password to the access file. But when i run the application it is giving an error. How to set the password in the VB 6 in coding. in Connection String. please help me in this concept.

      Thank in advance.
      bye
      Hi ,

      This is how you define the connection string.
      Driver={Microso ft Access Driver (*.mdb)};Dbq=C: \mydatabase.mdb ;Uid=Admin;Pwd= ;

      good luck
      -ansuman sahu

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Please find the details regarding connection string here .

        Comment

        • Jayachandra
          New Member
          • Mar 2007
          • 49

          #5
          Thank you for Reply,

          Here I am using ADODB.connectio n

          How can I open my Access Database which is having password set by Exclusively. while trying with dbOpen.Mode it is not appearing in the list for ADODB connection.

          Thank you

          Comment

          • sumitbatra1981
            New Member
            • Aug 2007
            • 4

            #6
            User id will be admin
            password will be the one u set tou your access file

            Comment

            Working...