|
-
Jan 4th, 2002, 09:33 AM
#1
Thread Starter
Hyperactive Member
Default Toolbox
Is there any way to alter the default items in VBs toolbox.
I'm sick of having to add components, usually the same ones,
for each new project.
It would be great to have them all there by default.
I know I'm probably being lazy but please help.
-
Jan 4th, 2002, 09:36 AM
#2
One way would be to great a generic Project1.Vbp, add all the stuff you want to the tool box, and begin each project with this generic model. Once the project has began, you would do a Save As...give it a new name, thus preserving the generic project.
-
Jan 4th, 2002, 09:39 AM
#3
Thread Starter
Hyperactive Member
Thanks Hack.
Guess the best answers are always the simplest.
I must be simpler for not thinking of it!
-
Jan 4th, 2002, 09:40 AM
#4
Well, you can do almost the thing as Hack said but in a much easier way.
Start a new standard exe project.
Add all the controls you want to have when you create a new project.
Save the project file, with any generic name you like, in the VB\Template\Projects folder.
(The VB is the folder where vb is installed probably c:\Program Files\Microsoft Visual Studio\VB98)
Now every time you bring up the New Project dialog your project will be seen there to open.
Best regards
-
Jan 4th, 2002, 09:42 AM
#5
Simple...thats me!!
By the way, Joacim has a STERLING suggestion!!
-
Jan 4th, 2002, 09:45 AM
#6
Thread Starter
Hyperactive Member
-
Jan 4th, 2002, 09:47 AM
#7
Yes since it's saved as a template you don't have to worry about it being overwritten when you save the new project.
(Unless of course you save it with the same name in the same folder and answer yes on the question if you want to overwrite the project Stupid thing to do)
-
Jan 4th, 2002, 09:50 AM
#8
BTW in the Template folder you have subfolders for Forms, UserControls, Classes and so on.
They will show up in there repective Add Form|Class|User Control dialogs.
Best regards
-
Jan 4th, 2002, 09:50 AM
#9
Thread Starter
Hyperactive Member
Ok, I'm stupid but not that stupid, I hope.
Just need a good name for the new project type!
-
Jan 4th, 2002, 09:57 AM
#10
-
Jan 4th, 2002, 10:00 AM
#11
Thread Starter
Hyperactive Member
Well I guess the new project template has to be called STUPID.vbp
Thanks for your help Joacim & Hack
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|