Wayne,
I have the connection string setup and I had the service setup a DSN
for me. I am still getting a Run Time Error -2147012867 Internet Client
Error - Cannot Connect to Server.
Am I missing anything? Do I need to load IIS or something? I am
going to contact the ISP this morning.
Using this code:
Dim rsgeneric As Recordset
Dim cnngeneric As Connection
Set cnngeneric = New Connection
cnngeneric.Open "provider=ms remote;" _
& "Remote Provider = MSDataShape;" _
& "Remote Server=http://100.70.160.178;" _
& "Data Source=dispatch;" _
& "User Id=dispatch; Password=test"
' Changed the connection, username and password to test info.
Set rsgeneric = New Recordset
Dim strquery As String
strquery = "select * from sysusers"
rsgeneric.Source = strquery
Set rsgeneric.ActiveConnection = cnngeneric
rsgeneric.Open
Do While rsgeneric.EOF = False
Debug.Print rsgeneric(0)
rsgeneric.MoveNext
Loop
rsgeneric.Close
cnngeneric.Close
James W. Hall Sr.
jh***@alpha-transportation.com
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!