Solved

FORM size and position

Posted on 2003-10-30
5
194 Views
Last Modified: 2010-08-05
Hi, I am tring to build an application with VB6.0.  This application will be run on different comps with different screen resolution.  Is there any way to design the form to be display at full screen(or a fixed size) regardless what screen resolution it is?  Also is there any way to format the fonts on the form (like cascading style sheet in HTML) so that their sizes won't be changed if the user switches their screen font to be bigger or smaller?
many thanks.
0
Comment
Question by:joett
[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
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
PBuck earned 80 total points
ID: 9650751
Hello Joett,

Here are a few suggestions.  To display your app at full screen, simply try this code in your form_load event:

Me.WindowState = vbMaximized

A few of the steps we take here is to design always using small fonts.  Because small fonts look just fine on a large font machine where the large font design looks horrible on a small font PC.  

Try to download a free or purchase a good resizer control, this will usually allow font resizing or not.  So if your choose not to resize your fonts from the resizer it will mostly likely look as you designed it (I personally use one called SOD).    http://home.a-city.de/dmitri.sorokine/

Finally, my last suggestion would be to use an web browser within your VB app if you are really concerned with the browser style look.  There are many examples of this on planet-source code.  

http://www.planet-source-code.com/vb/

Hope this helps some.

0
 
LVL 4

Expert Comment

by:PBuck
ID: 10165484
I care!  :-)  What can I say?  This may or may not have answered the question?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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.
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…

738 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