Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving toolbox 2

Status
Not open for further replies.

sjulian

Programmer
Aug 15, 2000
56
US
Is there a way to save the toolbox from project to project after adding a component? There are several components that are not in the default toolbox but I use them frequently.
 
You can set up a project with all of the tools you want in and then save it in the vb templates\projects directory (on my machine this is C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects)

This will give you the option of selecting it when you select "File->New".

I haven't worked out yet how to edit the default "Standard Exe" project like you used to be able to do in VB3 :)

Hope this helps

Daren
 

Yes,

Create your project with whatever project name you want and add all the controls you want to the toolbox.

Then save your project to the projects directory under template (C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects) making sure that you do not overwrite any objects withing this folder.

Close VB and restart (or start a new session) and you will see your project in the selection list for new projects. when you select this project you should see all of your controls that you want in the toolbox. Just remember that this is a template so you will want to save this new project once you have modified it someplace else.

I hope this helps you in your quest
 
Thanks to both of you, it worked fine. I did find that if I opened template VB Pro Edition Controls, it has most of the tools I was wanting to save.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top