Solved

Incompatible Database Version

Posted on 1997-11-19
1
356 Views
Last Modified: 2011-09-20
Okay, from the get-go, I don't think this has anything to do with the VBCL. The question relates back to several I've asked about a dBASE program. I wrote it in VB3, and it runs fine under windows 3.1. But if I run it under windows 95, it will give the "incompatible database version" error when it hits the line: Set MyDB= OpenDataBase(form1!Dir2.Path,0,0,"dBASE;"). I can't see why it gives me this error when I am not trying to access an MS Access database.
0
Comment
Question by:dpms
1 Comment
 
LVL 6

Accepted Solution

by:
anthonyc earned 50 total points
ID: 1441583
first of all, dBase is not a valid connect string.  dBase III or dBase IV is.   That could be your problem.  If it is not, make sure your ISAM drivers are installed properly.  Also make sure they are being pointed to by the msacc20.ini (I believe that is what it is in vb3) .  In vb4-16 you can make your own INI file, and set the path to it by

dbengine.inipath = "filepath"

but make sure you do this prior to doing ANY data operations.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

911 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

17 Experts available now in Live!

Get 1:1 Help Now