connecting VB 2008 with ms access database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fanoce
    New Member
    • Dec 2007
    • 1

    connecting VB 2008 with ms access database

    how do i connect VB 2008 application to microsoft Access 2003 database
  • VBWheaties
    New Member
    • Feb 2008
    • 145

    #2
    Originally posted by fanoce
    how do i connect VB 2008 application to microsoft Access 2003 database
    Use OLEDBConnection . But you'll need the proper syntax for the connection string.
    Visit then Bookmark this site: ConnectionStrin gs.Com

    Here is the connectionStrin g example. Of course, replace the database (mdb) with your mdb:
    Code:
    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;User Id=admin;Password=;

    Comment

    • lotus18
      Contributor
      • Nov 2007
      • 865

      #3
      Originally posted by VBWheaties
      Visit then Bookmark this site: ConnectionStrin gs.Com
      Nice site ^ ^ .

      Comment

      • VBWheaties
        New Member
        • Feb 2008
        • 145

        #4
        Originally posted by lotus18
        Nice site ^ ^ .
        cant live without it :)

        Comment

        Working...