[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Connect to FoxPro 2.0 for DOS database from VB6

Posted on 2006-06-15
5
Medium Priority
?
341 Views
Last Modified: 2010-04-17
I have a FoxPro 2.0 for DOS database and am writing an app in VB6. I need to look up a record in the database and then add data to the record and update the record. How do I open the database table from VB6 so that I can work with it? My experience has only been with Access database tables so I need a little help here!
0
Comment
Question by:sahinman
[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
  • 3
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
alainbryden earned 2000 total points
ID: 16915523
Well fortunately for you, you can open this type of file from within Access. With your database open use the Open function, use dbase III as the file type, and select the fox 2.0 file you want to use. It will become an available table in your database.
0
 

Author Comment

by:sahinman
ID: 16918874
I tried your solution with VB6 and received the following error message:  Couldn't find installable ISAM
How do I fix this error?
0
 
LVL 21

Expert Comment

by:alainbryden
ID: 16919348
Microsoft has a very detailed article ( http://support.microsoft.com/kb/155666 ) that described the ISAM DLL's , how to confirm that they are on the PC and that the registry entries are setup for Jet to find them.  The recommend all kinds of things including reinstalling access. The one thing they never mention is to be sure the dll's are registered, so I'll walk you through that.

first, just try regsvr32 "C:\WINDOWS\system32\Msxbse35.dll" in the run box, if that does the trick, then you're set, if not, then it might be a little tougher.

Msxbse35.dll is what you need to user foxpro with access. It's possible that this dll file is unavailable to you. You can check by opening access directly and seeing if the format is available. I guess you could do a check for it. If you find that it isn't registered, you can do so manually like so:

1) From the Start button, choose Find, and then select Files or Folders.
2) In the Named box, enter: Regsvr32.exe
3) Insure the Look in box is for your entire hard disk and the check box for Include Subfolders is checked.
4) This file should be found in your Windows\System directory. If it is found, but not is this directory, simply place a copy in the Windows\System directory
5) Once this file is found, LEAVE the find window open. (If multiple files are found, the copy we are concerned with is in the Windows\System directory.)
6) From the Start button, choose Run.
7) In the Open box, enter: Regsvr32.exe
8) Then, using your mouseis in the proper directory, perform another Find for:
Msxbse35.dll, you can "drag-and-drop" the Msxbse35.dll file that was FOUND next to what you just typed in the open box (this should put the entire path to this DLL file next to regsvr32.exe.)
(if you can't find it I found a download source here http://webzila.com/dll/1/MSXBSE35.zip )
9) Click OK
10) You should get a message box that confirms the DLL file was registered successfully.
11) Click OK
12) Close the Find window
13) Open Access and try the export process again. The Fox file type should now be in the list.

This whole error is probably occuring because you didn't install access with full options. If it's available to you, it may be easier to do this when all else fails.

I really hope that fixes the problem.
0
 

Author Comment

by:sahinman
ID: 16923104
WOW! It works! This web site is awesome. Thanks.
0
 
LVL 21

Expert Comment

by:alainbryden
ID: 16923338
Glad I could help
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

656 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