Solved

Setting Resolution of application

Posted on 2002-04-22
5
258 Views
Last Modified: 2012-06-27
Hi,
Is it possible to set the different resolution of the application without changing the resolution of the system.
If yes, please help me asap.
Thanks and regards,
+Anil
0
Comment
Question by:anilgupt
  • 3
  • 2
5 Comments
 

Expert Comment

by:WizOfOz
Comment Utility
if you are looking to change the different size of your forms in relation with the resolution of the system I think you can go to
http://www.experts-exchange.com/visualbasic/Q.20291256.html

it is an open question, and have listed everything you need to know to do it.
0
 

Author Comment

by:anilgupt
Comment Utility
Ok. You are saying the for resizing the application according to system's resolution. But i want to set the resolution of the application only. I mean, suppose the resolution of the system is 10200X768, and now i want to set the resolution of the application to 800X600 without changing the resolution of the application.

Regards,
+Anil
0
 

Author Comment

by:anilgupt
Comment Utility
Sorry i typed wrong.

Ok. You are saying for resizing the application according to system's resolution. But i want to
set the resolution of the application only. I mean, suppose the resolution of the system is 1020X768,
and now i want to set the resolution of the application to 800X600 without changing the resolution of
the system.

+Anil



0
 

Author Comment

by:anilgupt
Comment Utility
Sorry i typed wrong.

Ok. You are saying for resizing the application according to system's resolution. But i want to
set the resolution of the application only. I mean, suppose the resolution of the system is 1020X768,
and now i want to set the resolution of the application to 800X600 without changing the resolution of
the system.

+Anil



0
 

Accepted Solution

by:
WizOfOz earned 50 total points
Comment Utility
As I say it doesn't matter why you decide to change the size of your form, it matters the way you do it and in the mentioned question there are two or three methods that looks great to do it...
in any case I think that you must:
1. look what is the system resolution and change the application resolution ie:
Me.Height = Screen.Height * (ratio you would have)

for instance if you want a form 2/3 of the screen try

Me.Height = Screen.Height * (2 / 3)

2. as telluri said in the mentioned question (if you like this way give the points to him) change the size of your controls

3. move your resized controls to a new position to maintain the overall behaviour of the application.

4. eventually change also font size (Bahnass)

if it fits your needings look at the mentioned question and give the points to Telluri or Bahnass.

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 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

10 Experts available now in Live!

Get 1:1 Help Now