Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting success of operation
Message
 
To
23/08/2004 17:40:01
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00935760
Message ID:
00936137
Views:
22
XMLHTTP throws exceptions on failures. You should be able to trap these with TRY/CATCH blocks.

+++ Rick ---

>I have this code:
>
>
>loHTTP=CREATEOBJECT('Msxml2.ServerXMLHTTP')
>loHTTP.Open('GET',lcURL,.F.)
>
>* Set a timeout in order to avoid long request to time out the server
>loHTTP.setTimeouts(20000,20000,20000,20000)
>
>loHTTP.Send()
>
>
>I must have that somewhere but I can't remember where it is. On the Send() command, what would be the best approach to detect the success of the operation?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform