2
Answers

Windows Forms on hi-def screen

oli b

oli b

12y
1.1k
1
Hi all,

Scenario:
I have a project that compiles and looks fine/awesome on every laptop/desktop it's compiled/deployed to.

Problem:
I just got a new Dell Precision laptop with a hi-def screen (1900x1080 on 15.6") and that is no longer the case. Everything seems to be sized "smaller". All the docking and anchoring properties are still set and functional, but instead of a control spanning, say, the entire width of its parent, it only spans 2/3rd of the width. I can "correct" this by resizing every control and then recompiling on the laptop. But then when I run this version on a non hi-res-configured machine, then the inverse occurs where everything is "too big".

My current thoughts:
It seems like windows is configured to scale things so they don't appear tiny on the hi-res screen. I know that fonts, for instance, are larger. They've scaled things so that font 10 appears the same size physically (i.e. on the screen). I imagine that this scaling thing is what's causing the inconsistencies, but how the hell do I avoid this problem?! It would be massively awesome to not have to compile a "HD" and "non-HD" version of the code.

I can't find a single thing about this online. It's like it's never happened to anyone else... If someone could even point me to some thread or article somewhere that talks about this, then at least I won't feel so alone.

Many thanks in advance!

Oliver
Answers (2)
0
sona kannan
NA 3 0 15y

Thanks for your reply sir,
i checked the framework version it is correct but after install the setup when i click the exe in the program files it shows an error that fingerprep.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
0
Venkatesh Ellur
NA 39 0 15y

Client system does not need the Visual studio to get the application deployed and working
.NET Frame work is more than enough
Please check if you have the version of the .NET frame work installed on the client system. see if the developed application and the installed version of the framework on the client system match. If everything is all right please let me know what exactly is the problem or the error message you get on the deployed machine.