Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Popups and Background with _webbrowser4
Message
From
25/01/2005 13:27:35
 
 
To
25/01/2005 13:16:34
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00980421
Message ID:
00980461
Views:
40
>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.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform