Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Program Icon Question
 

Program Icon Question

Hi, just a question about what VB Express allows concerning icons. I made an icon (.ico file) which after deployment displays fine for the start menu. However, it does not display in the actual program. Is this a limitation of VB Express or is there a trick to display a custom icon in the actual program (upper left corner & task bar)?

I am asking this because I got an icon I downloaded from somewhere to display in the program (don't ask me how) and now I can't get it to not display.

Any ideas? Thanks,
Daniel
Gage  Tuesday, September 19, 2006 8:39 PM
Bring up the form in question in the design studio. Highlight the form, not an idividual control on the form, and press F4 or right click properties. View the properites til you see an icon or the Icon property. Change the default icon to the one you want.
OmegaMan  Wednesday, September 20, 2006 1:43 PM
The application must use the icon as well. Follow these steps

  1. Highlight the applications project and F4 for properties.
  2. On the Application Tab change the Icon to the one you have created.
  3. Rebuild & Reinstall.
Note the form will not use this icon ... you will need to change the Winform to use the icon as well.
OmegaMan  Tuesday, September 19, 2006 9:02 PM
I have already selected my icon through the project application properties. My icon shows up on the start menu. But what you mentioned about the form sounds like what I need. I want the icon to show up in the top left corner of the program and on the task bar.

How do you change the Winform to use the icon as well? Will that do what I have described?

Thanks very much,
Daniel
Gage  Wednesday, September 20, 2006 1:22 PM
Bring up the form in question in the design studio. Highlight the form, not an idividual control on the form, and press F4 or right click properties. View the properites til you see an icon or the Icon property. Change the default icon to the one you want.
OmegaMan  Wednesday, September 20, 2006 1:43 PM
That was it. I didn't realize you could choose icons for each form.

Great. Thanks very much
Gage  Wednesday, September 20, 2006 2:04 PM

You can use google to search for other answers

Custom Search

More Threads

• Adware?
• Automating ClickOnce Build
• number to words
• Multiple signing and publishing bug
• How to deploy clickonce application without Visual Studio
• Installing Certificates Before ClickOnce Installation
• How to store installed app path to registry in setup project?
• Deployment of VS2005 window application
• Error: Unable to continue. The application is improperly formatted.
• Signing ClickOnce manifests and assemblies