Home
Level Extreme platform
Subscription
Corporate profile
Products & Services
Login
FRANÇAIS
Home
FRANÇAIS
Level Extreme platform
Login
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Français
How to test if an ODBC DSN exists?
Message
From
27/12/2003 18:15:10
Anatoliy Mogylevets
1361529 Ontario, Inc. (News2News)
Scarborough
,
Ontario
,
Canada
To
27/12/2003 03:18:14
Joel Chaban
All Things Connected
Gualala
,
California
,
United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Re:
How to test if an ODBC DSN exists?
Miscellaneous
Thread ID:
00862216
Message ID:
00862288
Views:
17
Hi Joel,
As well as reading ODBC parameters from the Registry -- it's also possible to use
SQLDataSources
API function combined with several other API calls:
SQLAllocEnv SQLAllocHandle SQLFreeEnv SQLFreeHandle SQLGetEnvAttr SQLSetEnvAttr
FoxPro examples (some of them in members area):
How to get a list of system DSNs (Data Source Name) with parameters
http://www.news2news.com/vfp/?example=375
List of ODBC drivers installed (read from the [ODBC Drivers] section)
http://www.news2news.com/vfp/?example=378
Enumerating ODBC Data Sources available on the local computer
http://www.news2news.com/vfp/?example=284
Enumerating ODBC drivers available on the local computer
http://www.news2news.com/vfp/?example=285
Saving HKEY_LOCAL_MACHINE\\Software\\ODBC Registry Entries to an XML file
http://www.news2news.com/vfp/?example=379
Anatoliy Mogylevets
devicecontext@msn.com
Win32 API Online Reference
Previous
Reply
Map
View the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only
Click here to load this message in the networking platform
Level Extreme platform
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Login
Google
Copyright © 1993-2024 by Level Extreme Inc. All rights reserved · Website by
levelextreme.com