Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Sep 24, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Alpha Resource IDs can Spell Trouble

Resource files are a great way to store text strings and images, but beware: Use of a resource file can override the property setting for your application's icon. When Windows needs an icon to represent your application, it always grabs the first one available.

You can use the VB Resource Editor add-in to store icons. Normally, VB assigns an ID of "1" to the icon you assign as the application default. However, if you assign alphanumeric IDs in the Resource Editor, instead of using only numerics, the icon used for your application will be the first one listed under Icons. I always preface the desired application icon's ID with the string "AAA" to ensure that it remains first alphabetically.

Al Meadows
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date