Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 4th, 2003, 03:04 PM
Registered User
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Controlling brower attributes from VB.net web app

How can I control IE 6.0 web browser window size, placement, and other attributes (don't display menu, titlebar, 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?

Old December 5th, 2003, 01:18 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

if you want to remove toolbars and the status bar, you need to open a new window and close the previous. Usually, only by opening a new window can you shut off those items. From that point, you can manipulate the browser window's size and position. None of this is built into VB.net, you need to do it all in the html with javascript.

You can use window.moveTo and window.resizeTo to change the position and size (respectively) of the window. Here's something that might be useful, it has a bunch of properties of the screen and window objects in JavaScript that provide information that you can use.


Work smarter, not harder.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert a VB.Net app to a web app? furjaw VB.NET 3 September 24th, 2007 12:27 PM
brower based chat application in ASP.NET danish85 ASP.NET 2.0 Professional 1 July 17th, 2007 07:35 AM
Modifying attributes of a VB.NET object ziemniakc ASP.NET 1.0 and 1.1 Professional 0 June 19th, 2007 01:17 PM
Get Column Attributes from VB.NET ~Bean~ Access 1 November 15th, 2005 06:39 PM
VB.Net + Web App. + Access Database SeemaChivate ADO.NET 6 July 7th, 2005 04:06 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.