|
-
Aug 13th, 2001, 01:39 PM
#1
Thread Starter
Addicted Member
Adding Components (Newbie Question)
Well as i am very much a Visual Basic newbie this question will be really simple for u to answer. Whenever i add components to the toolbox (like TreeView, ProgressBar, Slider, etc) - they are there and work fine, but whenever i restart Visual Basic and open a new project (Standard Exe) my customized tool box has been reset to the default one and i have to add all my components again, there must be a little magic button that will save my toolbox 
Thanks in advanced
-
Aug 13th, 2001, 01:44 PM
#2
PowerPoster
I dont think there is a magic button for that.
The problem is each time you add a control, the number of support files needed to install your project on the end user's machine grows. So to keep the setup package as small as possible it is better to add components only as needed.
-
Aug 13th, 2001, 01:55 PM
#3
If you have professional edition, you can start with VB Pro Edition Controls instead of Standard EXE. This will put a little more controls into your box. It is a shame that you can't keep a certain set of controls there you always use.
If you add a whole bunch of controls to your box, but don't use them all, go in and try to remove each check mark in the add components dialog box. VB won't let you take out anything your using in the project, but will let you uncheck things you aren't. This will keep your program size smaller because all those won't be compiled with it. That is how I understand it anyway.
-
Aug 13th, 2001, 01:58 PM
#4
Frenzied Member
hey, i got pro edition so do those controls automatically appear there or do i have to get my lazy ass fingers off the keyboard and click the mouse??
Government is another way to say better…than…you.
It’s like ice but no pick, a murder charge that won’t stick,
it’s like a whole other world where you can smell the food,
but you can’t touch the silverware.
Huh, what luck. Fascism you can vote for.
Humph, isn’t that sweet?
And we’re all gonna die some day, because that’s the American way
-Stone Sour
-
Aug 13th, 2001, 02:02 PM
#5
Just select VB Pro Edition Controls from the New Project dialog that comes up when you start VB. You will get a full toolbox, yet, if you don't use them, it will be a waste of size if you don't get rid of them.
-
Aug 13th, 2001, 02:03 PM
#6
Frenzied Member
cool, and to think i never noticed all these groovy little things.
Government is another way to say better…than…you.
It’s like ice but no pick, a murder charge that won’t stick,
it’s like a whole other world where you can smell the food,
but you can’t touch the silverware.
Huh, what luck. Fascism you can vote for.
Humph, isn’t that sweet?
And we’re all gonna die some day, because that’s the American way
-Stone Sour
-
Aug 13th, 2001, 02:25 PM
#7
Thread Starter
Addicted Member
hehe thanx think i understand it now, only thing i dont know is, where are the TreeView, ProgressBar, Slider, etc stored because i cant find them when i right click and click Components... i know they're available as i downloaded some1 elses source code and it automatically places those controls in the toolbox when i open their project, yet i dont know how to add them myself as i dont know where they are lol
probably just an oversight on my part but if any of u could tell me where then thanks 
[edit] just did some looking and theyre probably in that long list just under a generic name, trouble is i dont know it and i cant be bothered to go thru and tick each one to see if it contains those controls im after [/edit]
Last edited by Celest; Aug 13th, 2001 at 02:29 PM.
-
Aug 13th, 2001, 03:02 PM
#8
PowerPoster
Hi Celest
Havent looked myself (cos eating brekky ) but *most* of the standard add in controls are in the Microsoft Windows Common Controls ... there are a few versions of this in components...2 each for VB 5 & 6 i think
Regards
Stuart
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
|