Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webbrowser stays blank until F5
Message
De
18/01/2005 16:25:38
 
 
À
18/01/2005 16:10:52
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
00978318
Message ID:
00978324
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform