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: Intermediate
Aug 6, 1997

Close VB Before Compiling

When you're finished tinkering with your apps, close and restart VB before making the final EXE. This simple action can reduce the size of your EXE by 10 to 30 percent (many professional programmers also recommend restarting Windows before building an EXE). If you don't close and restart VB, your EXE may contain some garbage: VB doesn't fully clean up all the data structures or variables you used during development. Restarting VB also safeguards against some mysterious GPFs. If you have an app that runs fine in the development environment but GPFs when it's run as an EXE, try closing and restarting. Another option is to compile from the "command line." To do so from either Program Manager or File Manager, select Run from the File menu, and enter:
  C:\VB\VB.EXE /MAKE D:\APPPATH\MYPROJ.MAK
Patrick O'Brien
 
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