Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not find Refresh2
Message
From
16/06/2017 07:37:53
 
 
To
15/06/2017 19:46:24
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01652058
Message ID:
01652067
Views:
50
>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
Map
View

Click here to load this message in the networking platform