Solved

Getting from VB6 to Access 2000 DB

Posted on 2000-02-23
3
156 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now