Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form resize problem after upgrading to vb 2010

Status
Not open for further replies.

shaminda

Programmer
Jun 9, 2000
170
US
I have a windows forms program that I upgraded from VB 2005 to VB2010. When the program was on VB 2005 I had set the form size to 1278 x 891. When I open the program on a windows 7 computer which had a resolution of 1024 x 768 the form would resize to the monitor resolution. But since I upgraded the program to VB 2010 some of my controls are off the screen when I run my program on the 1024 x 768 windows 7 screen resolution. Why is it doing that?
 
Do you mean the form isn't resizing now or that when you resize the controls are no longer visible? What happened if you manually resize it? Also screen shots would be helpful as well.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Unfortunately I am not able to post screen shots. I don’t have access to the site. I have labels text boxes and buttons all over the screen. On the right side I can only see part of my text boxes. And on the bottom I have two buttons and I cannot see them at all. So basically the controls are no longer visibale.
 
It sounds like the controls are not anchored correctly. You want to make sure that anything that is close enough to the right side of the screen to be effected by resizing is anchored to the right and not the left. That is the only thing I can think would cause that.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top