Page 174 - DCAP408_WEB_PROGRAMMING
P. 174
Windows Programming
Notes VFT_APP BEGIN
BLOCK “StringFileInfo”
BEGIN
BLOCK “040904E4”
BEGIN
VALUE “CompanyName”, “Some Company\000”
VALUE “FileDescription”, “What it is\000”
VALUE “FileVersion”, “03.00.0005\000”
VALUE “InternalName”, “XYZ.EXE\000”
VALUE “LegalCopyright”, “Copyright ) abcdefg”
VALUE “LegalTrademarks”, “Whatever you want\000”
VALUE “ProductName”, “asdfg\000”
VALUE “ProductVersion”, “see above”
VALUE “Comments”, “Some comments”
END
END
END
5. Double-click the control box to close the current window. Click Yes when Resource
Workshop asks you if you wish to save changes.
6. Your Application now contains version information. Choose Exit from the File menu to
exit Resource Workshop (ALT+F X). Click Yes when Resource Workshop asks you to
verify that you want to update your EXE.
Self Assessment
Fill in the blank:
11. Visual Basic does not have the ability to add resource information to its .........................
files.
10.4 Complex Menu
Now that you have an overview of how to use the Menu Editor to make a menu, the following
example creates a menu system for a simple text editor.
The Amazing Text Editor, the code for which can do the following tasks:
Create a new file
Open an existing file
Save a file
Reverse the editor’s font and background color setting
Provide copyright notification
Exit the program
Undo the preceding action
168 LOVELY PROFESSIONAL UNIVERSITY