Did you try the code i sent you in the last message? HttpLogin *uses NetworkCredential* to do this... It's a helper so you don't need to bother with Network credential.
I apologize for the code error I posted off the top of my head - I missed the last parameter of PreAuthenticate, but Intellisense or the help file will tell you what the proper signature is...
Hi Rick,
I found the solution myself. I have to use NetworkCredential for this webservice
locred = lobridge.createinstance("System.Net.NetworkCredential","WS4SNTRC","ed5R#CK5")
loService.OSERVICE.Credentials = locred
loService.OSERVICE.Url="http://qas.sanitrace.be/int/QAS_Sanitel_ExtInterfacingSvcs/SanitelServices.asmx"
Regards, Paul
With the logon code included I get: OLE error code, the parameter is incorrect
loService.oService.HttpLogin("WS4SNTRC","ed5R#CK5")
Paul