Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call a URL from the VFP 9 app?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01677841
Message ID:
01677876
Vues:
90
>Thank you, Rick. I will try the WW Client Tools. Hopefully it also has a method to close the tab that was just opened.

Not sure what you mean. If you use `wwHttp` you're not opening any tabs - you're just making an HTTP call to a server without a browser.

+++ Rick ---

>
>>Dmitry,
>>
>>You already own West Wind Client and Internet Tools so the following is simple:
>>
>>
>>loHttp = CREATEOBJECT("wwHttp")
>>lcOutput = loHttp.Get("https://somesite.com/somePage.data")
>>
>>
>>If all you're doing is literally sending a request with no response there are also simple Win API calls that can fire a URL or using `MSXML2.ServerXMLHTTP`.
>>
>>More complete tools like Client Tools or Chilcat are more useful for more intricate HTTP interactions, but if you're already using those tools then the simpler functions make things easy.
>>
>>+++ Rick ---
>>
>>>Hi,
>>>
>>>How would you write a code to call a URL from the VFP application? As if a user clicked on this URL. Specifically, I want to create a small PRG to call a URL every 1 or 2 minutes? Basically a FOR loop and then call this URL?
>>>
>>>How would you do it?
>>>
>>>TIA
+++ 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
Répondre
Fil
Voir

Click here to load this message in the networking platform