Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not find Refresh2
Message
De
16/06/2017 07:37:53
 
 
À
15/06/2017 19:46:24
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01652058
Message ID:
01652067
Vues:
52
>Suddenly I start receiving this error when attempting to edit a form with a WebBrowser control. I have changed nothing since the last time I suggestively ran the app. I don't even use the Refresh2 event.

IIRC this event should be on MSHtml, not ShDocVw and then check the versions on your machine/your current IE version still sports that method. As a sanity check spin up a clean VM and verify on older OS/IE versions. Sounds bigger then task really is: loIE = createobject("InternetExplorer.Application") and typing loIE.r will present all methods nicely positioned at vfp command prompt without even loading object browser ;-))

I personally had less trouble with WebBrowser in IE4,5&6 than later versions, but that might stem from the fact that usage frequency was much less with newer versions, so I was not forced to find out all the kinks like people using it since than had to. But replacing such a basic interface method seems incredible, either the website has special code or your OS/IE install is borked.


HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform