PC Review


Reply
Thread Tools Rate Thread

DSNs via VBscripts

 
 
Tony
Guest
Posts: n/a
 
      8th Jul 2004
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
 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      8th Jul 2004
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


"Tony" wrote:
| 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


 
Reply With Quote
 
Tony
Guest
Posts: n/a
 
      8th Jul 2004
Thanks Dave,

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

Tony
>-----Original Message-----
>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
>
>
>"Tony" wrote:
>| 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
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBScripts Jim Rasmussen Microsoft C# .NET 4 11th Jul 2007 08:49 PM
VBScripts in Vista =?Utf-8?B?YW50aXF1ZTE5NTk=?= Windows Vista General Discussion 6 25th Jun 2007 06:16 AM
vbscripts won't run in FBA =?Utf-8?B?SkJM?= Windows XP Embedded 7 22nd Aug 2006 09:41 PM
VBscripts don't execute JoeG Microsoft Frontpage 12 7th Dec 2004 11:26 PM
Re: SP2 and WMI/VBScripts Malke Windows XP General 0 12th Aug 2004 08:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 PM.