Visual Basic 6and Btrieve

Posted on 1999-07-06
Medium Priority
Last Modified: 2013-11-25
Does anyone know a good .OCX file, or have any examples of coding that allow VB 6 to read in btrieve records?
Question by:doctorlove
  • 2

Expert Comment

ID: 1522390
Probably not what you're looking for but what about putting the tables into Access and reading them with ODBC or setting up a DSN?

Accepted Solution

marscpa earned 600 total points
ID: 1522391
I have run into and had to work with Btrieve a lot.  I know of only two controls.

http://www.classicsoftware.com/  writes a control named "Classic control for Btrieve".  I own this one and have found it to work well.  Also see http://www.greymatter.co.uk/gmWEB/Items/bnd00495.htm 
for additional information.

The other option is to go directly to Pervasive, the maker of Btrieve.  From them you can purchase the Pervasive.SQL SDK.  That includes an ActiveX Control amoung other things.
I own this control myself but have not had much of a chance to use it.  It does come with pretty good doc's on the CD.

Watch which version (of Btrieve) you need to work with, I have found the Classic control to work better across older versions of Btrieve. ie. 6.15x.  I believe the Pervasive.SQL ActiveX control only work with the latest version of Btrieve (7.0 or P.SQL), but I would have to test that or as Pervasive.

Hope this helps....Good Luck


Expert Comment

ID: 1522392
A quick comment, the Pervasive.SQL SDK comes with some examples of API calls that one could use to access Btrieve as well.  For now I'm sticking with using a control.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

623 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