Solved

Converted vs2008 to vs2010 causes controls on form to overlap

Posted on 2013-01-11
6
306 Views
Last Modified: 2013-01-15
I have converted a couple of vs2008 apps to vs2010. The conversion causes the controls (labels, textboxes, etc.) to overlap each other, as if they are scrunched together on a smaller form size than the original form in vs2008. Can this be prevented? I have a few more conversions to get thru and I would prefer not to waste time shuffling controls around.
0
Comment
Question by:Tim313
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38769817
Never seen that happening. Does the form remain same size?
0
 

Author Comment

by:Tim313
ID: 38770083
I didn't have vs2008 loaded on my current laptop (have vs2010), so I wasn't able to check to see if the form size was changing from vs2008 original upon conversion to vs2010, so I loaded vs2008express, opened the app and have the same problem in vs2008; controls overlapping.

The vs2008 apps I need to convert to vs2010 were developed on a different computer some time ago. Can this cause the problem?
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38770135
That should not cause a problem. Are you sure you have all the files? Are you only using built in controls?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Tim313
ID: 38770421
I was able to retrieve my old laptop from my sister, it still has the original app files and vs2008 that the app was created on. The original form size was 1020, 764, but shows as 1030, 775 on the new laptop. The displayed form appears smaller on the new laptop, although the controls appear to be the same size (just over lapping). For example, the right side of a label is overlapped by the left side of it's corresponding textbox. The original font is set 12pt and Bold. If I change the font size/weight to 10pt/normal the overlap disappears.

All the files are there and only built in controls are used.

The original app was done on a laptop running Windows XP and vs2008. My new laptop has Windows 7 and vs2010.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 38775208
Have you changed your system font size?
0
 

Author Closing Comment

by:Tim313
ID: 38781119
How embarrassing... seems the default display setting is Medium - 125%, when I reset it to Smaller - 100% the font overlap disappeared.

Strange that the form size doesn't scale the same as the font size.

Thanks CodeCruiser, you saved me a whole lot of unnecessary work!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question