How can I control Internet Explorer attributes from a VB.NET app?
How can I control Internet Explorer 6.0 Web browser window size, placement, and other attributes (so it doesn't display menu, title bar, toolbar, etc.) from a VB.NET Web application, so the browser window will be sized to 800 x 600, centered on the screen, and have no browser controls displayed when my application runs?
When you register, you'll begin receiving targeted emails from my team of award-winning writers. Our goal is to provide a unique online resource for developers, architects and development managers tasked with building and maintaining enterprise applications using Visual Basic, C# and the Microsoft .NET platform.
Hannah Smalltree, Editorial Director
I have no idea if this is possible, but I do have to say that it would be incredibly rude of a Web site to do all those sorts of things to a browser you are proposing. Even if this were a focused application only used inside a company I would highly recommend against even considering it. If you need a very specific look to the browser, you really need to be thinking about a rich client application. With it's great deployment capabilities, .NET makes it easy for folks to browse to a Web site and auto-download a Windows Forms application. See Chris Sell's excellent Wahoo game for an example:
http://www.sellsbrothers.com/wahoo/.
Dig Deeper
-
People who read this also read...
This was first published in December 2003