Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webbrowser stays blank until F5
Message
From
18/01/2005 16:25:38
 
 
To
18/01/2005 16:10:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00978318
Message ID:
00978324
Views:
23
>I have an application where the main component is a web browser control. At app launch, it should navigate to the homepage of the website it serves, and during various events it should navigate to other URLs within the same site.
>
>The trouble is that this browser control goes blank quite often. It helps to click on it and press F5, but can't expect end users to be doing that all the time.
>
>I remember there was a trick to this, but can't find it anywhere. I've tried inserting various doevents, extra refreshes etc - only Keyb "f5" helps, but it's such a kludge, IMO, that I don't feel like leaving it that way at all.
>
>The oie.document.readyState=3, and the oie.document.body has the proper text in it, i.e. the page is loaded. It just doesn't show. What was the trick?

Have you tried this as first:
loBrowser.Navigate("about:Blank")
Then, see if navigating to another page helps.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform