473,805 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ 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 3854
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.mic rosoft.comwrote in message
news:Zn******** *****@TK2MSFTNG HUB02.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.mic rosoft.comwrote in message
news:2o******** *****@TK2MSFTNG HUB02.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

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

Similar topics

11
3774
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 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
5
3485
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 print out the form and the data that the user entered? For example, the user loads the application and a normal Windows Form asks for the user's name. When the user enters the name and clicks on the "Print" button, I'd like to print the form in the...
2
17881
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 resolution of 1600x1200 and I developed the application in a PC with 1024x768 resolution. Is it possible to increase the forms' sizes accordingly? Thanks.
1
2387
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 size in the settings the forms are not displaying properly. The controls are not in a proper. Please let me know how to handle when the user changes the screen resolution.
2
7339
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 screen resolution is changed. Reason being, I have designed an windows application using C# on 1024x728 resolution, and when I installed on my testing machine which is 1280x1024, the screen has become small, and my testing team has placed this as...
1
1749
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 the Development Machine (e.g, my machine), since I have Office 2K3 installed on my development machine. It is also worth noting that the version of the .Net development environment I am using is Team Suite with Team Foundation Server. The Team...
15
7093
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 every second. I remote desktop to the computer hosting this application and run the application. It starts up and displays the counter incrementing every second. If I disconnect the network cable between the two computers for 10 seconds and...
4
10519
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 doesn't seem to write to the screen in the way I would expect. The output is:
2
1694
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 properly i.e. they are out of the page . Can any one help me? how my application will automatically adjust to screen resolution. also monitor size is not uniform , in samll monitor i cant see all controls. thanks in advance.
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10359
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9182
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5541
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4317
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 we have to send another system
2
3843
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.