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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VB App. to call dbf files if DBC is a different location?

Status
Not open for further replies.

OasisChurch

Technical User
Mar 28, 2002
20
Hi all,
How does one use a VB App. to call the tables if the the tables are pointing to a different location in the dbc?
Is there a way to set this location?

This will need to be done on workstations that do not have FoxPro.

Is this possible?
thanks in advance!!
--scotta
 
You should be able to open whatever tables and databases you want using the VFP 7/8 OLEDB provider - you just need to own one or the other to distibute this .DLL.

Rick
 
Thanks for the response, however in our VB apps. we do not use OLEDB but ODBC. Any suggestions?
thanks rgbean
--scotta
 
Scotta,

In the ODBC setup window, set the database type to "Visual Foxpro database" (NOT "free table directory"), and set the path to the path and filename of the DBC.

Mike


Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top