WebBrowser initialization

  • Thread starter Thread starter John Boehme
  • Start date Start date
J

John Boehme

Hi all,

Using a WebBrowser control on a form, after the control has been
initialized, I perform a Navigate to the page I need loaded. I receive
events from the control indicating that it is performing the request, but
the pages never gets displayed.

If, however, I have a button on the form that when clicked performs a
Navigate call, the pages is loaded and displayed properly.

It appears that when the first Navigate method is invoked, the WebBrowser
control is not setup completely yet. Has anyone run into this issue, and if
so, know how to get a page to load automatically when the control is
initialized?

Thanks.

John Boehme
Computer Dynamics, Inc.
 
Maybe, the form is displayed before your WEB broser control actually gets
the data? Use DocumentComplete to refresh your form.
 
Back
Top