Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webbrowser stays blank until F5
Message
De
18/01/2005 16:34:58
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
18/01/2005 16:25:38
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:
00978328
Vues:
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.

All of a sudden it started working... even before this. I've cleared the IE cache, by deleting all the files and subdirectories in the cache folder.

This is one of the scary "don't know why it stopped working, and less I know why it works now"... which may reappear at any time.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform