Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
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.
Mike Ellis
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date