Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DocumentComplete Not Firing
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00288932
Message ID:
00289159
Views:
46
>>I have an ActiveX web browser control on Page2 of a page frame on a form. I have code in the DocumentComplete event of the control. I have noted that when Page1 is the visible page and I fire the web browser's Navigate2 event from Page1, the DocumentComplete event does not fire until Page2 containing the web browser control is made the visible page. Is this normal behavior or am I missing something here?
>>
>>Thanks,
>>Bill
>
>Try putting your code in the downloadcomplete event.

Yeah, I looked at puttng it there, but it doesn't quite accomplish the same thing. Quoting from the MSDN Library: "Unlike NavigateComplete2, which is fired only when a URL is successfully navigated to, this event is always fired after a navigation starts". I'm not quite sure how this works out, but I was seeing my code execute twice for every navigation. I'll have to experiment with this some more.

Thanks
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform