Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Direct Link to old btrieve Database files from VB6

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello !

I'm using VB6
I want to directly link to an old btrieve 6.15 database file and read or modify it's data. another old application is using this file too, so I can't convert it to a new format...

thanks.
 
One thing you might try to do is look for the developers kit. I've never gone this route myself, but instead of using SQL you can go the Index Sequential route (a bit like the old COBOL files).

6.15 is fairly old but I'm sure there was a developers kit for that version - it's just getting a copy might be tricky.
 
You need to get the PERVASIVE ODBC Updates, and once U install the same on the server where the Btr files reside...all you need to do is create a Pervasive Engine DSN ... from the "Control Panel--ODBC" on the same machine.

After that Install the Pervasive ODBC client on the machine where you want to access your data from(I mean the client machine). Then go to the Control Panel-ODBC and then define a "Pervasive Client DSN", and point it to the new Engine DSN you just crested on the server...its easy beleive me... No use the new Client DSN as you would be using a normal ODBR DSN
 
One good thing about Btrieve / Pervasive files - the newer requesters will work with the older files.

Go to and download a trial SDK version. The drivers installed by this (especially the ADO driver) will allow for access to the older Btrieve 6.15 files - if you have correct DDF files. If you don't, you will have to use direct BTrieve calls to access them, which is much more difficult (but still doable) in VB.

NOTE: If you are also registered at Novell as a developer (free registration), you can download a full working copy of the Pervasive SDK to work with, instead of a trial version.

Brendt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top