Solved

Converted vs2008 to vs2010 causes controls on form to overlap

Posted on 2013-01-11
6
300 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
  • 3
  • 3
6 Comments
 
LVL 83

Expert Comment

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

Author Comment

by:Tim313
Comment Utility
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
Comment Utility
That should not cause a problem. Are you sure you have all the files? Are you only using built in controls?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:Tim313
Comment Utility
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
Comment Utility
Have you changed your system font size?
0
 

Author Closing Comment

by:Tim313
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now