working with Access2000 databases


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: working with Access2000 databases

  1. #1
    Heikki Salomäki Guest

    working with Access2000 databases

    How can I work with Access2000 databases? I'm using Vb 6.0 Sp3. For example
    this doesn't work:

    Set db = OpenDatabase("mydbs.mdb")

    It works with Access97 but not with Access2000 databases. Should I use ADO
    or wath?



  2. #2
    Arthur Wood Guest

    Re: working with Access2000 databases


    Heikki,

    You will be well advised to use ADO for Access2000.

    You might also make sure that you are referencing DAO 3.6 for the Access
    2000 database.(Access 97 used DAO 3.51)

    Arthur Wood

    "Heikki Salomäki" <hsalomak@cc.hut.fi> wrote:
    >How can I work with Access2000 databases? I'm using Vb 6.0 Sp3. For example
    >this doesn't work:
    >
    >Set db = OpenDatabase("mydbs.mdb")
    >
    >It works with Access97 but not with Access2000 databases. Should I use ADO
    >or wath?
    >
    >



  3. #3
    Larry Rebich Guest

    Re: working with Access2000 databases

    Heikki,

    Some months ago I wrote a tip of the month that I call 'What I Learned About
    DAO 3.6 and Jet 4.0'. Link to http://www.buygold.net/tips.html then look for
    the July 1999 tip of the month. A sample program is provided that creates a
    Jet 4 [Access 2000] database. The required DLLs can also be downloaded from
    the site.

    Cheers,
    Larry Rebich

    More tips link to:
    http://www.buygold.net/tips.html

    Please:
    No personal e-mail questions :-)


    "Heikki Salomäki" <hsalomak@cc.hut.fi> wrote in message
    news:3a2f5ed5$1@news.devx.com...
    > How can I work with Access2000 databases? I'm using Vb 6.0 Sp3. For

    example
    > this doesn't work:
    >
    > Set db = OpenDatabase("mydbs.mdb")
    >
    > It works with Access97 but not with Access2000 databases. Should I use ADO
    > or wath?
    >
    >




  4. #4
    Paul Clement Guest

    Re: working with Access2000 databases

    On Thu, 7 Dec 2000 11:58:13 +0200, "Heikki Salomäki" <hsalomak@cc.hut.fi> wrote:

    ¤ How can I work with Access2000 databases? I'm using Vb 6.0 Sp3. For example
    ¤ this doesn't work:
    ¤
    ¤ Set db = OpenDatabase("mydbs.mdb")
    ¤
    ¤ It works with Access97 but not with Access2000 databases. Should I use ADO
    ¤ or wath?
    ¤

    See the following:

    PRB: Getting Unrecognized Database Format Error Message When Upgrading to Access 2000
    http://support.microsoft.com/support.../Q238/4/01.ASP


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center