|
-
Sep 14th, 2000, 11:16 AM
#1
Thread Starter
Fanatic Member
Hi,
I have several applications written in FoxPro and would like to access the databases from VB. On my development PC, I use the Data Sources Control Panel to create a new Data Source Name and assign it a driver and location of the FoxPro database.
If I want to distribute the VB executable to other machines, is there a way through VB code to set up the Data Source? Or will the user need to use the Control Panel to set it up?
Or am I going about the whole concept the wrong way?
Thanks for any information.
-
Sep 14th, 2000, 12:29 PM
#2
Lively Member
-
Sep 14th, 2000, 02:33 PM
#3
Thread Starter
Fanatic Member
Thanks for the link. That has taken me close to getting this to work, but I obviously am missing something in the connection string.
If anyone out there in VB land has a working example of creating a Data Source for a Visual FoxPro database container using the SQLConfigDataSource API, I would appreciate a post of the code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|