Solved

Incompatible Database Version

Posted on 1997-11-19
1
359 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
[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
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

695 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