Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Converted vs2008 to vs2010 causes controls on form to overlap

Posted on 2013-01-11
Medium Priority
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.
Question by:Tim313
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
LVL 83

Expert Comment

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

Author Comment

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?
LVL 83

Expert Comment

ID: 38770135
That should not cause a problem. Are you sure you have all the files? Are you only using built in controls?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

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.
LVL 83

Accepted Solution

CodeCruiser earned 2000 total points
ID: 38775208
Have you changed your system font size?

Author Closing Comment

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!

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

597 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