C# - GUI Resolution problem

Posted on 2009-02-16
Last Modified: 2013-12-17

I build some GUI application using C#. The problem is that on some PCs it looks fine but on other PCs all the controls are "crushed" like in the attached picture.
When the user changes resolution it does not help either.
On Vista application it works fine (although scroll bars appear). The main problem is on Windows XP.
I am new with C# and has no idea how to deal with this problem.

Question by:margarit
    LVL 2

    Expert Comment

    Have you deployed your application. Have you created installation wizard for it and installed it on Windows XP?

    Author Comment

    I developed my application but it does not have an installer only EXE file.
    LVL 19

    Accepted Solution

    Try to design your form at the minimum screen resolution you need to use

    Author Comment

    Thanks for the advice. Next time I design the application I will take this into account.
    The problem is that this form already designed (with many controls on it). I designed it on labtop PC with high resolution :(
    What can I do now inorder to solve the problem?
    LVL 19

    Expert Comment

    you can try to use a small font for the dialog
    LVL 6

    Assisted Solution

    Hello Margrit,

    as alb66 said, Try to design your form at the minimum screen resolution.
    to solve this problem you will need to minimize your resolution adjust the controls and then make sure they are running fine or your laptop resolution too.

    Best Regards,

    Mohamed Allam
    Senior Solution Developer

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

    745 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

    14 Experts available now in Live!

    Get 1:1 Help Now