Create SQL System DSN Through Registry Edits

Category:
Database
Type:
Snippets
Difficulty:
Intermediate
Author:
Coyote

Version Compatibility: Visual Basic 6

More information:
This code will create a "System DSN" that connects to SQL server. Actually there are two project files in the ZIP. One creates an automatic (hard coded) System DSN when you click the create button. (See the PleaseRead.txt file) The other is set up so that you must enter the information before it will create it.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download dsnsystemsql.zip