Application Icon

G

Guest

In a VB.net project's property pages you can set the application's icon using
<ProjectName> Property Pages -> Common Properties -> Build -> Application
Icon. This allows you to choose any icon that is already within the project
(or you can add a new icon to the project from an existing file and choose it
automatically).

But all my icons are stored in one central "resources" project which is used
by many other "code" projects. I don't really want to copy and duplicate the
icons from the resource project into the code projects because this will give
my a maintenance headache if any of the icons change. But do I have a choice?
 
S

Steven Cheng[MSFT]

Hi Richard,

Thanks for your posting. From your description, you have some projects
which need to set a Application icon and the icon is in a central place( a
shared resource file or assembly) and you don't want to include the icon in
each separate project, yes?

As for this problem, I'm afraid this is a fixed behavior because the
Application Icon is the one which represent the application both at runtime
but also in the file system. When we view the application's executable
file in the file explorer, we can see the Application Icon displayed. So
the application icon must be included in the application(project) itself.
It's different from the Form's icon which can be set at runtime and can be
load from a external location.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top