Control Sizing PLEASE HELP

  • Thread starter Thread starter Kevin L
  • Start date Start date
K

Kevin L

Is there a font size setting by which a compiled application bases scaling
on?

I had originally developed an application in VB .NET on a Windows 2000 box.
I have since upgraded to Windows XP and recompiled my project. After
installing the new version on a Windows 2000 Server, my application's forms
are huge.

I am guessing that it is related to the fact that my laptop (which is my
development box) has a font size setting of 120dpi and the Windows 2000
boxes have a setting of 96dpi.

Is there something in code that I can change to have my application scale
correctly in Windows 2000?
 
* "Kevin L said:
Is there a font size setting by which a compiled application bases scaling
on?

I had originally developed an application in VB .NET on a Windows 2000 box.
I have since upgraded to Windows XP and recompiled my project. After
installing the new version on a Windows 2000 Server, my application's forms
are huge.

I am guessing that it is related to the fact that my laptop (which is my
development box) has a font size setting of 120dpi and the Windows 2000
boxes have a setting of 96dpi.

Is there something in code that I can change to have my application scale
correctly in Windows 2000?

In the designer generated code, remove the line that sets
'AutoScaleBaseSize'.
 
Back
Top