Results 1 to 8 of 8

Thread: Adding Components (Newbie Question)

  1. #1

    Thread Starter
    Addicted Member Celest's Avatar
    Join Date
    Jun 2001
    Posts
    134

    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

  2. #2
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046
    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.

  3. #3
    hellswraith
    Guest
    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.

  4. #4
    Frenzied Member Skitchen8's Avatar
    Join Date
    Feb 2001
    Location
    Binghamotn, NY
    Posts
    1,943
    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

  5. #5
    hellswraith
    Guest
    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.

  6. #6
    Frenzied Member Skitchen8's Avatar
    Join Date
    Feb 2001
    Location
    Binghamotn, NY
    Posts
    1,943
    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

  7. #7

    Thread Starter
    Addicted Member Celest's Avatar
    Join Date
    Jun 2001
    Posts
    134
    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.

  8. #8
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    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
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width