Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement