Solved

Getting from VB6 to Access 2000 DB

Posted on 2000-02-23
3
157 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
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

839 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