CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Access 2000

  1. #1
    Join Date
    Aug 2000
    Posts
    265

    Access 2000

    The ADO Data control in VB6 does not work with a connection to Access 2000, although it works with access 97. I get an Invalid database format error. What has to be done to make access 2000 work?


  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Access 2000

    It is always a bad idea to use data control. Try to use connection.
    sConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
    "Data Source=" & DBNAME & _
    ";Persist Security Info=False"


    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

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

Featured