How to create DSN for foxpro 2.x database in runtime through visual basic 6.0
Rambabu
Printable View
How to create DSN for foxpro 2.x database in runtime through visual basic 6.0
Rambabu
http://www.freevbcode.com/ShowCode.Asp?ID=502 shows you how to create a System DSN at runtime. However, you will have to know the attributes required by the FoxPro driver. You probably can figure them out by adding a DSN through the control panel and looking at the name-value pairs included (or opening up the registry editor and looking at the name-value pairs included as part of the DSN.