473,472 Members | 2,140 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows application and low resolution?

I have a Windows application developed in VS.Net 2002 and upgraded to
VS2005, and when I try to run it in an 800x600 resolution, it doesn't load
completely (plus its memory usage is really high). If I minimize, and
maximize it, then it'll display correctly.
How come? Is there a fix?

Thanks.
Aug 2 '07 #1
11 3815
Doc John wrote:
I have a Windows application developed in VS.Net 2002 and upgraded to
VS2005, and when I try to run it in an 800x600 resolution, it doesn't load
completely (plus its memory usage is really high). If I minimize, and
maximize it, then it'll display correctly.
How come? Is there a fix?
That doesn't happen normally. So your application does something
unusual that depends on the resolution somehow. If you can post a
concise-but-complete sample of code that reliably reproduces the
problem, someone might have a suggestion for how to fix it.

Otherwise, the chances are relatively low that someone can answer your
question.

Pete
Aug 2 '07 #2
Hi Doc,

Could you tell me in what screen resolution the application was developed,
800x600, 1024x768, or something else?

Do you have code to "relocate" the controls on the form in the application?
Otherwise, the controls on the form shouldn't display correctly after you
minimize and then maximize the form, if they don't display properly when
the application is run.
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

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

Aug 3 '07 #3
Hi Doc,

How about the problem now?

If the problem is still not solved and you need our further assistace,
please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support

Aug 7 '07 #4
The application was developed in 1024x768. The problem is that the
application doesn't completely load when the resolution is 800x600. It
seems to freeze when it loads in low resolutions. The Forms are half-drawn
(it also freezes). Not only that, but while it's loading, the process uses
100% CPU. The only way to "fix" it is to minimize it (and let Windows draw
the Forms in that state), and maximize it.
Thanks.

"Linda Liu [MSFT]" <v-****@online.microsoft.comwrote in message
news:Zn*************@TK2MSFTNGHUB02.phx.gbl...
Hi Doc,

Could you tell me in what screen resolution the application was developed,
800x600, 1024x768, or something else?

Do you have code to "relocate" the controls on the form in the
application?
Otherwise, the controls on the form shouldn't display correctly after you
minimize and then maximize the form, if they don't display properly when
the application is run.
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

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

Aug 7 '07 #5
Thanks for the help.

The problem (or part of the problem) is that the MDI Form has a tabcontrol
docked to the left, so if the application loads at 800x600, the Tab Control
automatically resizes and "hides" to the left. This resizing while loading
was causing this problem. I eliminated this and the application loads
correctly.

So it's not possible to do this at such low resolutions?

Thanks.

"Linda Liu [MSFT]" <v-****@online.microsoft.comwrote in message
news:2o*************@TK2MSFTNGHUB02.phx.gbl...
Hi Doc,

How about the problem now?

If the problem is still not solved and you need our further assistace,
please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support

Aug 8 '07 #6
Hi Doc,

Thank you for your reply and more detailed information.

I performed a test based on your description.

1. Under the 1024x768 screen resolution, I create a WinForm application
project which has a form with a TabControl docked to the left side and the
form's size is 1024x700.

2. Build the project.

3. Run the application under the 800x600 screen resolution and the size of
the form becomes 812x612 when it is shown. Part of form falls outside of
the display area of screen.

4. Memory usage doesn't become higher when application is run under 800x600
screen resolution.

To ensure your form to be shown properly under any screen resolution, I
suggest that you set the WindowState property of the form to Maximized.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support\

Aug 9 '07 #7
Hi Doc,

Thank you for your reply and more detailed information.

I performed a test based on your description.

1. Under the 1024x768 screen resolution, I create a WinForm application
project which has a form with a TabControl docked to the left side and the
form's size is 1024x700.

2. Build the project.

3. Run the application under the 800x600 screen resolution and the size of
the form becomes 812x612 when it is shown. Part of form falls outside of
the display area of screen.

4. Memory usage doesn't become higher when application is run under 800x600
screen resolution.

To ensure your form to be shown properly under any screen resolution, I
suggest that you set the WindowState property of the form to Maximized.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support\

Aug 9 '07 #8
Hi Doc,

Thank you for your reply and more detailed information.

I performed a test based on your description.

1. Under the 1024x768 screen resolution, I create a WinForm application
project which has a form with a TabControl docked to the left side and the
form's size is 1024x700.

2. Build the project.

3. Run the application under the 800x600 screen resolution and the size of
the form becomes 812x612 when it is shown. Part of form falls outside of
the display area of screen.

4. Memory usage doesn't become higher when application is run under 800x600
screen resolution.

To ensure your form to be shown properly under any screen resolution, I
suggest that you set the WindowState property of the form to Maximized.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support\

Aug 9 '07 #9
Hi Doc,

Thank you for your reply and more detailed information.

I performed a test based on your description.

1. Under the 1024x768 screen resolution, I create a WinForm application
project which has a form with a TabControl docked to the left side and the
form's size is 1024x700.

2. Build the project.

3. Run the application under the 800x600 screen resolution and the size of
the form becomes 812x612 when it is shown. Part of form falls outside of
the display area of screen.

4. Memory usage doesn't become higher when application is run under 800x600
screen resolution.

To ensure your form to be shown properly under any screen resolution, I
suggest that you set the WindowState property of the form to Maximized.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support\

Aug 9 '07 #10
Hi Doc,

Thank you for your reply and more detailed information.

I performed a test based on your description.

1. Under the 1024x768 screen resolution, I create a WinForm application
project which has a form with a TabControl docked to the left side and the
form's size is 1024x700.

2. Build the project.

3. Run the application under the 800x600 screen resolution and the size of
the form becomes 812x612 when it is shown. Part of form falls outside of
the display area of screen.

4. Memory usage doesn't become higher when application is run under 800x600
screen resolution.

To ensure your form to be shown properly under any screen resolution, I
suggest that you set the WindowState property of the form to Maximized.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support\

Aug 9 '07 #11
Hi Doc,

How about the problem now?

If the problem is still not resolved, please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support

Aug 13 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
5
by: VMI | last post by:
I have a BMP image (the form is also in PDF) that contains a scanned copy of a paper form that we need to fill out. Is it possible to use this image in my application so that the application can...
2
by: VMI | last post by:
How can I change the size of the forms in my Windows application when the screen resolution the user has is higher than the one I developed the application in? I have a customer that has a screen...
1
by: sympatico | last post by:
Hi, I am developing an application using VB.Net Windows applications. I have developed this by setting a screen resolution of 1024 X 768. If the user changes the screen resolution or the font...
2
by: Visu | last post by:
Hi All, I am new to this group, and I would like to know how we can design a windows application which would automatically change the form size, controls size, position etc., as and when the...
1
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
Hello: I have a C# Windows App that has a reference to the Word 2003 dll, which from my understanding of things will boil down to the Microsoft.Office.Interop.Word.dll PIA that lives in the GAC of...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
4
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it...
2
by: ojhashankar | last post by:
hi all, i have developed the windows application in 1024*768 resolution. its working fine it that resolution. but when i reduce the resolution to the 800*600 , all the controls are not shown...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.