Topaz Filer - Email filing software
Forms different sizes on different PC's
Messages   Related Types
This message was discovered on microsoft.public.vsnet.ide.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Scott
In VS.NET I develop on both desktop and laptop. When I
move the project from the desktop to my laptop and then
back to the desktop the form size is huge. It's like the
fomr and all controls have been resized by VS.NET. I've
tried different settings for autoscale and nothing works.
COuld someone please confirm this is a bug or do I need to
set something else. If it's a bug is it fixed in VS.NET
2003?

Thanks,
Scott

Reply to this message...
Vote that this is a GOOD answer...
 
Double-click to open VS solution with elevated permissions on Windows 7
New BootFX DBGet build available
 
    
Les Smith
Scott,
Forgive the obvious question, but are both computers set
to the same screen resolution? If not, you could be
designing in a high resolution (say 1024x768) and then
you move your application to a machine that is set to
(800x600), the forms will appear much larger. I know
this is an obvious solution, but I don't know of anything
else to cause such a problem. I move between laptop and
desktop daily.

See articles, books, add-ins, free code, downloads of
free tools at
http://www.knowdotnet.com

[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
Twitter and Snow… simple #uksnow
Windows 7 compatible tool for mounting ISO images
 
    
Ed Dore [MSFT] (VIP)
Hi Scott,

In addition to Les's suggestion, you might also want to make sure that
both machines are using the same font size. The display settings on the
machine can use large or small fonts. If they are different, then the forms
will likely look different on the two machines. I've seem a similar sizing
issues with native Win32 dialog resources and having the small fonts used
on one machine and large fonts on another.

Sincerely,
Ed Dore [MSFT]

This post is "AS IS" with no warranties, and confers no rights.

Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Scott
Ed,

Thanks for the info. The machines do use the same font
size, but the resolution is different. However, I find it
difficult to believe that developing on two different
resolutions and having the entire project dimensions
resize is designed behavior. If it is, then how does
VS.NET handle this when doing team development? If one guy
has 1024 and the other has 1200 does this mean that they
have set their resolutions the same, otherwise one of them
has to resize the project everytime he opens it? This
makes little sense to me. Please explain.

Thanks,
Scott

[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
Introduction to BootFX’s Object Relational Mapping Functionality article now live on CodeProject
Xenu Link Sleuth
 
    
Ed Dore [MSFT] (VIP)
Hi Scott,

If the actually size of the form is getting changed that's definitely a
problem. I was thinking this was just a visual perception thing, as I've
experienced a similar scenario with native WIn32 dialog resources that use
dialog units to size a dialog, and those are based on resolution and system
font size.

I've since seen a few other posts that lead me to believe there's
definately a problem in the form designer, and that forms and/or controls
are getting resized or moved and persisted back to the source file. This
definitely sounds like a bug, and I'd be surprised if the winform designer
folks weren't already familiar with this.

I'll try to dig up a support person from the WinForm support team and see
if we can get this addressed for you.

Sincerely,
Ed Dore [MSFT]

This post is "AS IS" with no warranties, and confers no rights.

Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Ed Dore [MSFT] (VIP)
Hi Scott,

I apologize about the delay in getting back to you on this problem. I did
get confirmation from the WinForm support team that this is a known problem
with their WinForm designer. The problem pops up when there is a different
DPI setting between the two machines, and the form's AutoScale is set to
true. It doesn't look like this was fixed in VS .Net 2003 either. I've
found a number of bugs entered into the product team's database, but both
our C# and VB support folks.

If this is having a substantial impact on your development effort. Don't
hesitate to call into the main support line, and ask the support
professional to escalate a hotfix request for you. I can't guarantee they'd
release a fix, but given the number of people that have run into this, and
the fact that it does have a substantial impact on customers that use
multiple machines to develop a project, I would be suprised if they refused.

Sincerely,
Ed Dore [MSFT]

This post is "AS IS" with no warranties, and confers no rights.

Reply to this message...
Vote that this is a GOOD answer...
 
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
Looking to invest in a major software project? Technical and commercial advice available here.
Other Helpful Sites
MBR 247
Topaz Filer
SharePoint Email Filing
Software Advisory Services
 
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734