J
JIM.H.
Hello
I do not know anything about asb but I just want to import this part of VBscript file to an asp code to help my frined. This part of code is working if I run it as a vbscript on the command line, but we could not get it run in a asb files.
MyODBC = "SQLODBC
MyUsername = "sa
MyPassword = "password
Set objADODBConn = CreateObject("ADODB.Connection"
strConn="DSN=" & MyODBC & ";UID=" & MyUsername & ";PWD=" & MyPassword & ";
objADODBConn.Open(strConn
Any suggestion? Is there anything we miss? Can anyone give us an example to make a ODBC connection in an asb file
Thanks
cT
I do not know anything about asb but I just want to import this part of VBscript file to an asp code to help my frined. This part of code is working if I run it as a vbscript on the command line, but we could not get it run in a asb files.
MyODBC = "SQLODBC
MyUsername = "sa
MyPassword = "password
Set objADODBConn = CreateObject("ADODB.Connection"
strConn="DSN=" & MyODBC & ";UID=" & MyUsername & ";PWD=" & MyPassword & ";
objADODBConn.Open(strConn
Any suggestion? Is there anything we miss? Can anyone give us an example to make a ODBC connection in an asb file
Thanks
cT