Mike Lewis
Programmer
I have a form with a Web Browser Control. The control contains code in its BeforeNavigate2 event.
Most of the time, everything works fine. But occasionally, the BeforeNavigate2 fails to fire. As far as I can see, this happens the first time that the browser tries to navigate to a URL since instantiating the form. After that first time, everything works as expected.
The behaviour is the same, regardless of whether I call Navigate2 explicitly, or the user clicks a hyperlink.
Any insights would be appreciated. The problem occurs both with VFP 8.0 and 9.0; I've only tested it with IE 6.0.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My Visual FoxPro site: www.ml-consult.co.uk