Discussion Locked

DSN

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
how to create data source name(DSN) in ODBC using visial foxpro database in visual basic...

1 reply

by madestroitsolutions

It is not clear what you want to do, but I assume you want to create a DSN that you will be using in VISUAL BASIC to connect to a FOX PRO DATABASE.
If that is the case, then simply go to the ODBC manager in the administrative tools under the control panel, Add a new system DSN, select the fox pro driver and configure it appropiately.

If what you want to do is programmatically create a DSN using Visual Basic (trhough code), then you need to do it using API functions. If this is what you want, e-mail me at juanr@akaconsulting.com, I will send you the code.

Good luck!

This discussion is closed to new replies.