make webbrowser control invisible at runtime?

lee88 used Ask the Experts™
I have a VB6 project that uses a webbrowser control, WB. I need the WB control to be invisible at runtime. The app works fine as long as the webbrowser control's Visible property is set to true. Am I correct that the WB control does not work when its Visible property set to false?

Other than trying to set the WB contorl's Visible=False (which stops the control from working), I have also tried unsuccessfully to change the WB control's Z-Order, to hide it behind a Shape or Label control.

I just need help getting the WB control to be invisible at runtime.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Tried to set a height = 0 or something?


you are a genius. even though the WB control will not allow less than height=30, I can hide that small size easily. Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial