developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 4 and 5 Forum

Notes/Domino 4 and 5 Forum

developerWorks




XML Parser in Scheduled Agent
Pria Therese Paruman 09/30/2004 04:15 AM
Domino Designer -- Agents 5.0.6 Windows 2000


I have to following code :

Messagebox("before create object")
Set objHttp = CreateObject("Microsoft.XMLHTTP")
Messagebox("After creae Object")
url = |http://www.resbank.co.za/sarbdata/rates/rates.asp?type=HPR|
objHttp.open "POST", url, False, "", ""
objHttp.send

response = objHttp.ResponseText
test = response

I am using this code to get the HTML from the specified URL for an application that I am using ..... the problem is that if I run this code on my machine , it runs perfectly ... if I run it on our server , it throws out an OLE Automation object Error.... Do you have any idea what could be wrong with my code ? we are using IE 6

The code bombs out at create object statement... Carolyn Short posted the exact same question on the forum but there were no answers ...

Go back