|
|
|
![]() | |
|
|
|
To access the contents, click the chapter and section titles.
Visual Basic 6 Black Book
Setting A Projects Version InformationFive years from now, a user stumbles across your EXE file, which youve conveniently named CDU2000.exe. This makes perfect sense to youwhat else would you name the EXE file for a utility named Crop Dusting Utility 2000? However, the user is a little puzzled. How can he get more information directly from the EXE file to know just what CDU2000.exe does? He can do that by interrogating the files version information. A programs version information includes more than just the version number of the program; it also can include the name of the company that makes the software, general comments to the user, legal copyrights, legal trademarks, the product name, and the product description. All these items are available to the user, and if youre releasing your software commercially, you should fill these items in. Heres how you do it:
Sometimes, version information is all that users have to go on when they encounter your program, so be sure to include it before releasing that product. Setting An EXE Files Name And IconYoure about to release your software commercially, but you suddenly realize that Project1.exe might not be the best name for your products executable file. The stockholders meeting is in five minuteshow can you change your EXE files name? To set the EXE files name, you just set the projects name. Heres how you do it:
Now youve named your EXE file, but how do you set the programs icon that will appear in Windows? The programs icon is just the icon of the startup form, and you can set that by setting that forms Icon property in the Properties window. If you have a new icon in ICO file format, you can load that icon right into that form by setting the forms Icon property to the ICO file name. Displaying The Debug, Edit, And Form Editor ToolbarsBy default, Visual Basic displays one toolbar, the standard toolbar. However, there are other toolbars availablethe Debug, Edit, and Form Editor toolbars. If you want them, you add those toolbars with the Toolbars submenu of the Visual Basic View menujust click the new toolbar you want to add. You can also remove one or all toolbars the same way. The Debug toolbar has the following buttons:
The Edit toolbar includes these buttons:
The Form Editor toolbar includes these buttons:
The Debug, Edit, and Form Editor toolbars appear from left to right in the top toolbar in Figure 2.22.
|
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. |