For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > August 2005 > Create a profile









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Create a profile
Beth

2005-08-31, 6:55 pm

I am relatively new to Visual Basic, but I am trying to create an
application in VB6 with multiple forms that all have the same look. For
instance, the same font style and color, and the same background color for
the form. I see in the form wizard a place to select a profile, which
appears to set these items. However, I have not been able to find
instructions on how to create a profile to appear in that box. Can anyone
direct me on how to either create the profile, or find another easy way to
standardize my forms?

Thanks in advance,
Beth


Bob Butler

2005-08-31, 6:55 pm

"Beth" <Invalid@sbcglobal.net.invalid> wrote in message
news:RnjRe.175$XY7.5@newssvr11.news.prodigy.com
> I am relatively new to Visual Basic, but I am trying to create an
> application in VB6 with multiple forms that all have the same look.
> For instance, the same font style and color, and the same background
> color for the form. I see in the form wizard a place to select a
> profile, which appears to set these items. However, I have not been
> able to find instructions on how to create a profile to appear in
> that box. Can anyone direct me on how to either create the profile,
> or find another easy way to standardize my forms?


I can't say about the form wizard as I've never used that but what you can
do is create a template.

Open a new project and customize the default Form1 as you want it to be.
Then use File, Save Form1 As, and save it under the directory
C:\Program Files\Microsoft Visual Studio\VB98\Template\Forms
(adjust the path as needed if you installed VB in a non-default location)
giving it a recognizable name. When you add a new form to your project it
will appear as one of the options in the dialog box.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

Jan Hyde

2005-08-31, 6:55 pm

"Beth" <Invalid@sbcglobal.net.invalid>'s wild thoughts were
released on Wed, 31 Aug 2005 14:45:05 GMT bearing the
following fruit:

>I am relatively new to Visual Basic, but I am trying to create an
>application in VB6 with multiple forms that all have the same look. For
>instance, the same font style and color, and the same background color for
>the form.


This is the state by default, however I suspect you intend
on changing this default?

>I see in the form wizard a place to select a profile, which
>appears to set these items. However, I have not been able to find
>instructions on how to create a profile to appear in that box. Can anyone
>direct me on how to either create the profile, or find another easy way to
>standardize my forms?


No idea what the form wizard or profile is? You'll have to
give us more info on these




Jan Hyde (VB MVP)

--
Hardware, n.: The parts of a computer system that can be kicked.

[Abolish the TV Licence - http://www.tvlicensing.biz/]

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com