Solved

Setting Resolution of application

Posted on 2002-04-22
5
314 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
adding "ungroup sheets" to existing vbs code 5 75
Set WorkSheet  not Working 9 62
Macro problems with Excel file 6 52
Win 10 Automation Error with .doCmd in Access 2 93
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…

752 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