Solved

Setting Resolution of application

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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

623 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