How To Programmatically Create a DSN for SQL Server with VB (184608)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q184608 SUMMARY
This article demonstrates how to programmatically create a Data Source Name
(DSN) for SQL Server using Visual Basic. The technique discussed in this
article uses Windows Application Programming Interface (API) functions to
create and manipulate entries in the Windows Registry.
REFERENCES
For additional information, please see the following articles in the
Microsoft Knowledge Base:
166392 How To Use "DSN-Less" ODBC Connections with RDO
147875 How To Use "DSN-Less" ODBC Connections with RDO and DAO
171146 How To Create and Remove a DSN in Visual Basic
123008 How To Set Up ODBC Data Sources When Distributing Apps
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbhowto KB184608 |
---|
|