Solved

Setting Resolution of application

Posted on 2002-04-22
5
283 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
ID: 6962101
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
ID: 6962114
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
ID: 6962119
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
ID: 6962133
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
ID: 6962815
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

816 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