General information
Category:
COM/DCOM and OLE Automation
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only