|
-
Jul 28th, 2004, 04:18 PM
#1
Thread Starter
Junior Member
Need help creating an Sql Server System DSN programmatically in VB .NET
I need help creating an Sql Server System DSN programmatically in VB .NET. I am writing a short install procedure for an app and it requires a few data sources to be setup. I would like to avoid having the clients setup the DSN themselves. I have found several code snippets on the net but none address a few configuration requirements I have.
When I ADD the DSN manually I:
Select Driver "SQL Server"
Give Name
Give Description
Select Server
Select "SQL Authentication" (given user name and password)
Select "Client configuration" -> uncheck "dynamically determine port" and type a number.
Is there anyway I can programmatically create and configure a DSN with these settings required? I need a little guidance.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|