Solved

FORM size and position

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

759 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

20 Experts available now in Live!

Get 1:1 Help Now