Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Icon Resources in VB.NET 2003
Message
From
18/05/2005 13:21:45
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Icon Resources in VB.NET 2003
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01015453
Message ID:
01015453
Views:
57
This will be a real .NET 101 question but I am struggling to locate an easy to understand solution.
I have icon files that are used by buttons, menus and forms in my Windows Forms application.

How can I store these so that I may simply reference them in my project and the project will know where to find them at run/compile time?

Right now when I use an icon I click the property to assign the icon (e.g. Winform.Icon) and use the Open file dialog that is displayed to "hardcode" an icon to the property. This works but really is a pain if I want to change this icon in 20 or so different places (First I must remember every property that I changed to point to a particular icon and then I must alter that property to point to a new icon).

Any suggestions?
THANKS
Joe Salvatore, Programmer/Analyst - The Stellar Group
Next
Reply
Map
View

Click here to load this message in the networking platform