Language: Visual Basic
Feb 24, 2000
Remove Unused Controls From Projects
If you usually load many controls into your VB project during development, you often have controls loaded that aren't used any more by the time the project's finished. If the controls were added to the project, they are stored in the VBP file regardless of whether they're used. Here's a quick way to clean up your VBP files so only the controls really being used are stored in your project: Open your VB project. Open your component window under the Project | Components menu or right-click on your toolbox and select Components. Hold down the Shift key and click on OK. All components not being used will be unclicked and removed from your project. VB6 developers: You must not eliminate references to controls you create at run time with the Controls.Add method.