Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting success of operation
Message
 
À
23/08/2004 17:40:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00935760
Message ID:
00936137
Vues:
20
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform