Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popups and Background with _webbrowser4
Message
 
À
25/01/2005 13:27:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00980421
Message ID:
00980472
Vues:
46
Greg -
I am trying to figure out how to have a VFP COM (foxisapi) return a "hard" page to the browser. I know it can return a "scripted" page. The "Hello World" samples will return script to the client. Can a VFP COM return an HTML (file) page to a client?

Or - is that something that should be done with the ReadURL function?

Thanks


>>Hi Greg,
>>I don't understand. I looked at the page you refered me to. That just reads the URL, it doesn't load in the background, specifically I can't run the _webbrowser4.Refresh2() method on the file that's read (unless I don't understand it). I don't think I can get away from having to see the web page any way.
>>
>>>Unless you need to see the web page, try loading in the background with this.
>>>
>>>Check http://fox.wikis.com/wc.dll?Wiki~ReadUrl~VFP
>
>When you run the ReadURL, it retreives the HTML content of the web page and places it in a string variable.
>
>
>cHTMLstring = ReadURL("http://www.GLRsoftware.com" )
>
>
>Unlike the web browser control (_webbrowser4) which loads and executes any script embedded. This is where the popup is come from. If no script code is execute, no popup will occur. If I understand you right, you are only interested in the contents of the web page, not the script being ran.
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform