Solved

FORM size and position

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

911 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

21 Experts available now in Live!

Get 1:1 Help Now