You can make an executable file (.exe) from Visual Basic using the following procedure.
To make an executable file in Visual Basic
Ø From the File menu, choose Make projectname .exe where projectname is the application name for the project.
Ø Type a file name, or browse through the directories and select an existing file name to overwrite an existing executable with a newer version.
Ø By clicking the Options button, you can also specify a number of version-specific details about the executable file in the Project Properties dialog box, as shown in Figure 10.4.
Ø If you want to modify the version number of the project, set the appropriate Major, Minor, and Revision numbers. Selecting Auto Increment will automatically step the Revision number each time you run the Make projectname .exe command for this project.
Ø To specify a new name for the application, under Application, type a new name in the Title box. If you want to specify a new icon, choose one from the list.
Ø You can also enter version-specific commentary on a variety of issues under the Version Information box (comments, company name, trademark and copyright information, and so on) by selecting a topic from the list box and entering information in the text box.
You can run the executable file like any other Windows-based application: double-click the icon for the executable file.
Conditional Compilation
Conditional compilation lets you selectively compile certain parts of the program. You can include specific features of your program in different versions, such as changing the date and currency display filters for an application distributed in several different languages.
No comments:
Post a Comment