Invisible WebBrowser control on form?

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.
 
B

Brian Cryer

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
 
C

Cor Ligthert

J William,

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

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top