|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
I know that ODBC is out of date, but I need to create an ODBC source with
scripting. I use VBScript to create enter all the register values. This only works if someone has previously set up an ODBS data source name on the target computer. If I follow up by using the ODBC Administrator tool, it recognizes all the data I entered and then the data source works. Running the administrator manually defeats teh purpose of the script. Does any one know what part I'm missing? Even the MSDN stuff I've read says that programmatic creation of an ODBC DSN only works if the computer has seen such a source before. Any help would be appreciated. Bob Trapp wrote:
> I know that ODBC is out of date, but I need to create an ODBC source vbscript create odbc group:*.scripting - Google Groups> with scripting. I use VBScript to create enter all the register > values. This only works if someone has previously set up an ODBS > data source name on the target computer. If I follow up by using the > ODBC Administrator tool, it recognizes all the data I entered and > then the data source works. Running the administrator manually > defeats teh purpose of the script. > > Does any one know what part I'm missing? Even the MSDN stuff I've > read says that programmatic creation of an ODBC DSN only works if the > computer has seen such a source before. Any help would be > appreciated. http://groups.google.com/groups?q=vbscript%20create%20odbc%20%20group:*.scripting -- Michael Harris Microsoft MVP Scripting |
|||||||||||||||||||||||