>>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
>
>If you just want to retrieve the contents of a URL then I suggest getting a quality comms library. I use Chilkat from
https://www.chilkatsoft.com/ - they have a great, feature rich libary and great support. Excecllent help documentation complete with VFP examples that you can just copy/paste in to your own apps. Can try before buying too.
No, I don't want to retrieve a content of a URL. Here is an example. Suppose I want to call the URL "
www.msn.com" from a VFP 9 code. Here is a pseudo code:
cUrl = "www.msn.com"
for i = 1 to 100
wait(20)
next
"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