VISUAL STUDIO 2010 change icon - can't find FILE SYSTEM EDITOR

I have a VB one-click solution and  project in Visual Studio 2010.
I've done some upgrades and would like to change the ICON.

It changes in "some places" (like when the app is running in the system tray.
But,
In other places (like when I do ALT+TAB) to cycle thru running applications, it still shows the old ICON.

Also, in add remove programs it shows some sort of defalt icon.

? how can I change the icon? thanks. Phil
LVL 1
philkryderAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
I don't understand your question, and the problem that you have described...
0
Jacques Bourgeois (James Burger)PresidentCommented:
The icon can be defined in many places, depending on where its used.

For the icon used by shortcuts, it's in the project's Properties window, in the Application tab.

The icon used for TaskBar needs to be set in the Icon property of the form(s).

The Icon used in the system tray is defined as a property of the NotifyIcon component used for the systemtray.

If you mean ClickOnce instead of one-click, it is possible that you did not change the icon in the File Associations. This is done one again in the project's Properties window, in the Publish tab, under Options... File Associations.
0
philkryderAuthor Commented:
Sorry for the delay. Those seemed to work.
There is one more though that I'd like to know.
? where do I set the ICON shown in
Control panel
Programs and Features
?
0
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Jacques Bourgeois (James Burger)PresidentCommented:
The Control Panel uses the same one that you define for the shortcuts, that is the one in the Application tab of the project's Properties window.

If you do not get it, it is probably because the application was previously installed and was not uninstalled. You still get the icon that was there on the first install. Simply uninstall and reinstall to get the new one.
0
philkryderAuthor Commented:
>> The Control Panel uses the same one that you define for the shortcuts, that is the one in the Application tab of the project's Properties window.

any other reason why that might not work?
I did the uninstall and then re-install, but, didn't get the new icon...
0
philkryderAuthor Commented:
this is old - 2005
http://social.msdn.microsoft.com/Forums/en-US/f00e1051-f3ef-46e1-b034-e82f14dc1444/application-icon?forum=vbide

but doesn't explain how to set the iconFile attribute in the .exe.manifest file.
I tried the sugges in the properties but it didn't help.
...
To have a custom icon displayed in your ClickOnce application the icon must be deployed with the application and the file must be specified as the value for the iconFile attribute in the .exe.manifest file.
 
In Visual Studio, this should be as easy as selecting the icon file for the Icon on the Application Property Page.  (The icon file must be part of the main project.)
If the Build Action of the icon file is Embedded Resource, everything should just work.  Visual Studio will automatically deploy the icon file separately and reference the icon file in the .exe.manifest file.  It is a limitation of the ClickOnce runtime that the icon file must be deployed separately and not part of a resource dll.
If the icon file Build Action is Content and the Publish Status of the icon file on the Application Files Dialog (off the Publish Property Page) is Include, then everything should be okay.
If the icon file Build Action is set to Compile or None, it will not be deployed with the application and will not show up in the Start Menu when the application is installed.
 
I hope this information helps you solve your problem.  Please let me know if it does not.
 
Regards,
Elizabeth Maher
VB Team
0
philkryderAuthor Commented:
I was wrong.

it specific here that the .exe.manifest will reference the ICO - mine does, but still uses a generic icon in control panel.

If the Build Action of the icon file is Embedded Resource, everything should just work.  Visual Studio will automatically deploy the icon file separately and reference the icon file in the .exe.manifest file.
0
philkryderAuthor Commented:
help please - I'm still getting a generic icon on the control panel.
0
Jacques Bourgeois (James Burger)PresidentCommented:
Sorry, I misinformed you.

I started using ClickOnce as soon as it appeared, somewhere around 2005. At that time, it reused the same icon as the application in the Control Panel. So I never cared anymore about that. My answer came from that experience.

Your last message caused me to search a bit more, and I found out that this changed in later versions of ClickOnce. Applications that were installed by ClickOnce on one of my old computers from that time, still running Windows XP, and it does show the application icon. But more recent ones do not and all display the same generic icon.

A search on the Internet shows that defining the icon to display in the Control Panel for a ClickOnce application is not supported nowadays. Somebody has an untested way of doing it through the application code at http://stackoverflow.com/questions/3085154/application-icon-doesnt-show-in-control-panel-add-remove-programs.

Small price to pay for the convenience of ClickOnce.

Once again, I am sorry for the misinformation.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
philkryderAuthor Commented:
thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.