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

VB6 and FoxPro

Status
Not open for further replies.

oldwen

Programmer
Dec 2, 2003
23
US
Can anyone tell me how to create a MS FoxPro table using VB6. Basically I have an application that has a FoxPro backend and I need some data to be pulled from an oracle database, then create a table and insert that data into the newly created FoxPro table. Can this be done?

Oldwen
 
You should be able to create the FoxPro database using ADOX then then use ADOX or SQL DDL/DML statements via ADO to create and populate the tables.

See:

OLE DB Provider for Visual FoxPro
Download: Microsoft OLE DB Provider for Visual FoxPro 8.0
ADO Programmer's Reference
Visual FoxPro 8.0 SQL Commands and Functions

... to get started.

This should give you the basic tools and references to accomplish this via VB6 (or even VBScript) on a machine that doesn't have Visual FoxPro installed but does have MDAC 2.6+ installed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top