DSNs via VBscripts


T

Tony

Does anyone know how to load a Data source name for ODBC
via vbscripts? I have been looking and looking and cannot
find it. This is the last step I need to get rid of an
install shield file we do not want to use any more. Thanks

Tony
 
Ad

Advertisements

D

Dave Patrick

For system DSNs you can use RegWrite method to create the keys/ values.

HKLM\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources

and also the subkey for each DSN
HKLM\SOFTWARE\ODBC\ODBC.INI\

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Does anyone know how to load a Data source name for ODBC
| via vbscripts? I have been looking and looking and cannot
| find it. This is the last step I need to get rid of an
| install shield file we do not want to use any more. Thanks
|
| Tony
 
Ad

Advertisements

T

Tony

Thanks Dave,

I was looking along those lines, but was unsure that was
the way to do it.

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top