From: Primoz Bratina on 9 Jun 2010 03:35 "CreateObject" works, "Open" doesnt how to catch error and see what's wrong (the same code works on my home computer) thanks! Primoz code: set myConn = CreateObject("ADODB.Connection") myConn.open "PROVIDER=SQLOLEDB;DATA SOURCE=" & serverx & ";UID=" & uidx & ";PWD=" & pwdx & ";DATABASE=" & dbx
|
Pages: 1 Prev: can not send mail from VBS scripts Next: Event Log Queries |