How do I maximize IE when web project starts F5

  • Thread starter Thread starter IGM
  • Start date Start date
It's bothering me so much because every time I start the project using F5,
and then when IE starts, I have to manually maximize it.
When I start IE manually to surf the web, it's always maximized, but when it
is started by VS it's always small so I have to resize it all the time.
 
I actually found the solution, don't know why I did not think of this first.
Just put this code in your startup window:

<script language="JavaScript">
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);
</script>
 
Back
Top