> > > Is there a way that I can change the default font in VB6 so I don't
have
to constantly change the font of each new control that I add to my
project?
If you change the Font properties for the Form first, then every control
you add to that Form will inherit the font settings from the Form. You could
set that up before hand and then save your project as a Template, although
that wouldn't help you any if you added a 2nd form to the project (you would
have to remember to set that up separately).
unless, of course, you use your own form template instead of the standard
one
Well, you caught me. I've never created my own templates before (never found
the setting up of a project to be that much of a problem), so I relied on my
memory of past postings on this subject for my answer. All I remembered
anyone talking about were project templates. Your post made me look... how
about that, you can set up templates for almost everything. Also interesting
is there appears to be pre-defined code module templates for loading
resources and for registry access.
For anyone wondering where this template "stuff" is at, go to your
"c:\Program Files\Microsoft Visual Studio\VB98\Template"
directory. Under it is several more directories, one for each type of entity
for which a templates are already stored and in which you can store your own
templates. Just set up the entity the way you want it and save it to the
appropriate directory for that entity. For example, set up a Form with all
of the pre-set properties the way you want it and then save that form
(right-click the Form in the Project window and select Save or SaveAs) to
the Forms directory under the Template directory whose path I listed above.
After that, when you do a "Project/Add XXX" (where XXX is the type of entity
you are adding to your project), your template will be listed along with the
other pre-defined ones... just select it.
Rick - MVP