Solved

FORM size and position

Posted on 2003-10-30
5
192 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now