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.