Load Internet Page to Maximum Window

  • Thread starter Thread starter Hugh O
  • Start date Start date
H

Hugh O

Hi,
I am familiar with the option within VB windows forms to load a form via a
property setting or code that will display the form in the maximum window
size.

I am using Visual Studio,Net 2003 running an internet app on my desktop.
When I start the app using the Debug Start menu, the program loads in the
browser window but at a small size. I have to manually click it to have it
maximize the window.

Is there an option within VS.Net to load the program at the maximum size?
Or is there a VB.Net code command that I can put in the PageLoad procedure
that will force a maximum window display.

Thanks,
hugh
 
Hugh said:
Hi,
I am familiar with the option within VB windows forms to load a form via a
property setting or code that will display the form in the maximum window
size.

I am using Visual Studio,Net 2003 running an internet app on my desktop.
When I start the app using the Debug Start menu, the program loads in the
browser window but at a small size. I have to manually click it to have it
maximize the window.

Is there an option within VS.Net to load the program at the maximum size?
Or is there a VB.Net code command that I can put in the PageLoad procedure
that will force a maximum window display.

Thanks,
hugh

You have to do this in Javascript.
 
Hi Hugh,

I understand you are using an ASP.NET application.
In ASP.NET application, the code hehind code is running at server side(ie
the webserver), but the window display the page is at client side,(IE
windows), so we need to use client script to do that e.g. Javascript.
Here is a link for your referecne.
Resize the Browser Window
http://www.codeave.com/javascript/code.asp?u_log=7065


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Peter and Chris,
Just wanted to say thanks. This MSDN Newsgroup is a really great service.
It has kept me going all this time.

peace,
hugh
 

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

Similar Threads

Maximum Form Height? 3
How do I resize a form 3
on maximum size changed 5
Maximum window size 11
MDI Child Form Height 1
MDI Forms 8
Can you test for the debugger at runtime? 3
How to start a form in maximum size 2

Back
Top