AllExperts > Experts 
Search      

VB.NET

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More VB.NET Answers
Question Library

Ask a question about VB.NET
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Syed Rizwan Muhammad Rizvi
Expertise
I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.

Experience
Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.

 
   

You are here:  Experts > Computing/Technology > Basic > VB.NET > Form Size

Topic: VB.NET



Expert: Syed Rizwan Muhammad Rizvi
Date: 6/14/2007
Subject: Form Size

Question
This is not a home work question. I'm a 38 year old developer and an Expert myself. If you don't know the answer, just say so and I'll still rate you high.

Can you tell me a way to override the restriction the VS IDE puts on form size?  It seems when you are designing a form that you can not make the size of the form any larger than your current screen resolution. This causes a problem in that I am trying to develop a form that will run on 1280X1024 as a minimum. This will be the minimum size of the form and I will have controls that will use all the space available at this size.  However, my monitor on my dev machine is a widescreen set to 1440X900 so I am limited on the 900 side.  I want to force the form size to 1280x1024 so I can place my controls at design time.

Answer
First of all, I dont know when I ever said that your question is a home work question. If my memory is serving me right then atleast to not this kind of a question.

Secondly, I dont care about ratings, well yes I do, but not that much :).

Thirdly, going back to the question. I dont understand that if you do have a higher resolution then how come you cant get it down to the resolution that you need by changing your desktop settings. More often than not, the restriction on pixels on any one axis is due either due to mathematical restrictions or unavilability of RAM/Video-RAM. Though the synopsis is not a concern here, but may be it might help you better in deciding.

If I am thinking correctly then you should be able to achieve 1280x900 easily ?

I would have a work around for your dev. machine, which is to set form's autoscroll property to true, this would giv e you a scroll bar even at design time when your control exceeds the form visible are and you would be able to work properly. on a higher resolution the scroll won't be visible ofcourse.

Hope that helps. let me know of your comments.

Regards,
Rizwan

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.