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:
01677858
Vues:
67
Thank you, Rick. I will try the WW Client Tools. Hopefully it also has a method to close the tab that was just opened.

>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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform