Page 43 - Open Soource Technologies 304.indd
P. 43
Unit 3: Understanding Controls and Control Events
3.1.7. Making Your First *.exe!?
To make an excutable from a project choose ‘Make project.exe from the ‘File’ menu. Then click
once on the Make project.exe choose a default location to store your executable, you can also
change some advanced options by clicking on the Options. tag before saving your exe.
The above image will be displayed in the comment’s value type some comments company name
etc. The Title tag represents the caption you will see if you press Control + Alt + Del. And the
icon is the icon that will be available on the execute icon. As you can see it is quite simple to
understand. All the comments, data and name appear when you click on the compiled (execute)
exe and click properties.
Save the exe file name of “Alld”.
3.1.8. Saving your Visual Basic Project
Save your work to disk. Use the Windows Explorer or any desktop windows to check that all
files have been saved. There should be one Visual Basic Project (.VBP) file and separate Form
(.FRM) and Module (.BAS) files for each form and module used in the current project.
Figure 3.5: Visual Basic Project (.VBP) File.
When a program is run, all the work done so far on the program is automati-
cally saved in a temporary location with the name listed earlier in the New
Project input dialog box.
LOVELY PROFESSIONAL UNIVERSITY 37