Invisible WebBrowser control on form?

  • Thread starter Thread starter J Williams
  • Start date Start date
J

J Williams

Hi,

I want to use the axWebBrowser control and MSHTML DOM in a Windows form
application, but not have the control visible. However I've found that if I
set the Visible property to False, the control's DocumentComplete event
doesn't fire.

Is there any way I can use the WebBrowser control without it being visible
to the user?

Thanks for any help.
 
J Williams said:
Hi,

I want to use the axWebBrowser control and MSHTML DOM in a Windows form
application, but not have the control visible. However I've found that if I
set the Visible property to False, the control's DocumentComplete event
doesn't fire.

Is there any way I can use the WebBrowser control without it being visible
to the user?

Thanks for any help.

I haven't tried this with VB.Net but I have encountered the same problem
using Delphi. Try leaving the control as visible but change its position so
that it is off the form (and thus not visible), eg set left to some large
value left of screen or right of screen.

hope this helps,

Brian.

www.cryer.co.uk/brian
 
J William,

I thought that at least I use it where I have hide it behind a panel.

Cor
 
Back
Top