README.md

December 5, 2022 ยท View on GitHub

Creating Dynamic ODBC DSN

Description

ODBCDSN Project main Idea is Adding a ODBCDSN Dynamically Inside a Program using

the Registry.

It is Written in Generic and nothing is Hard coded.

It is Generic and it has ODBCDSN.ini Configuration File.

User needs to change the Name of the Odbc What every they want to create

More Info

User needs to change the Name of the Odbc What every they want to create

Configuration File Read as follows:

'Don't Change this line MAINKEY is must

MainKey="SOFTWARE\ODBC\ODBC.INI"

'Change the DataSourceName What ever you want to call it

DataSourceName = "MIDAS PRODUCTION"

'Type the DatabaseName

DatabaseName = "MIDAS"

'Type the Description

Description = "MIDAS ON CLUSTER VIRTUAL SQL SERVER TROYSQL"

'Type the SqlServer Name Example TROYSQL, THEN TYPE \TROYSQL\PIPE\SQL\QUERY

DriverPath = "\TROYSQL\pipe\sql\query"

'If you want Trusted Connection then Say Yes Otherwise No

Trusted_Connection= "Yes"

'Type the User who you want to connect Say Train

LastUser = "TRAIN"

'Type the Server Name

Server = "TROYSQL"

'Type the Driver Name SQl Server

DriverName = "SQL Server"

'Type Whether you need QuoteId Yes or No

QuotedId = "No"

Submitted On2001-07-13 14:24:00
ByN/A
LevelAdvanced
User Rating4.8 (19 globes from 4 users)
CompatibilityVB 5.0, VB 6.0
CategoryMiscellaneous
WorldVisual Basic
Archive FileCreating D227167132001.zip