Solved

Setting Resolution of application

Posted on 2002-04-22
5
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

756 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