Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can ODBC drivers be created programatically?
Message
From
19/11/2001 21:31:00
 
 
To
19/11/2001 15:23:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00583633
Message ID:
00583736
Views:
27
>I have used the 'Registry.vcx' class that comes with VFP to check for the existence of ODBC drivers. There does not seem to be a way to create the drivers programatically. I realize it is different for each data source, but I am trying to create an Access driver which only requires a DSN name and the name of the MDB file.

Besides what you got from J.Crescencio and mark there is also info on the Wiki, with a translation to VFP from a VB sampole in the Msft KB:

http://fox.wikis.com/wc.dll?Wiki~ProgrammaticallyCreatingDSNs~VFP

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform