Solved

Getting from VB6 to Access 2000 DB

Posted on 2000-02-23
3
159 Views
Last Modified: 2010-05-02
I am using VB6 professional on a WinNT computer, and I have had no trouble using commands such as
Set db = OpenDatabase(location)
Set rssch = db.OpenRecordset("schedule")
These commands are fine as long as I use them with Access 97 or previous versions, but with Access 2000, which I am supposed to be using, the error that comes up is that the database is unsupported.  I installed the new mdac from microsoft, and that didn't do anything.  I am connecting to the database simply through these kinds of commands, not through a data control or odbc, or ADO either.  Thank you.
0
Comment
Question by:theravada_maha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Accepted Solution

by:
bruintje earned 50 total points
ID: 2552549
0
 
LVL 6

Expert Comment

by:Marine
ID: 2552572
Answer is simple when using Access 2000 you must reference DAO 3.6. Reference it and your trouble should be gone.
0
 

Author Comment

by:theravada_maha
ID: 2552575
I don't know how you found that page. I searched all over microsoft and altavista and ask.com, not a thing. Must have been searching for the wrong stuff. ANyways, thanks a lot for the help!!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question