VB allows you to choose an icon for an executable, but it offers a somewhat limited choice. The icon must be stored in a form included in your VB project, and you can only pick one icon to be exposed publicly per project. Whilst the single icon is the most important one, you might want to have additional icons for two reasons:
- To allow the user to pick alternative icons in Explorer's "Change Icon" dialog for shortcuts.
- To allow a document icon to be associated with files for your application.
Last Updated: 21 March 2000
Often your application will have associated data, such as pictures, sounds, static data and
so forth you need to ship with it. If you are localizing your application then you also
need to be able to provide alternative text strings for menus, messages, labels on so forth.
Resources are a great way to package up all of this extra data into a single file and read
it efficiently at run time. Not just that, but by putting the data into a resource file
you significantly reduce the chances of someone tampering with your files and replacing
them with their own "humourous" versions.
Last Updated: 1 November 1999