Solved

FORM size and position

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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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 Month6 days, 9 hours left to enroll

636 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