Click here to Skip to main content
15,913,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all, i just finished my first windows form application. I would like to know how to set the image of the form that will be displayed on the desktop after i publish it. I know how to set the icon of the form but that is just for the start up menu and taskbar, i would like to know how to know how to set the desktop image...thanking you in advance
Posted
Comments
Richard MacCutchan 23-Sep-13 3:45am    
The first icon in the program's resources will be used on the desktop.

1 solution

When you create a new shortcut on the desktop, it gets the icon from the EXE file.
To specify the icon it should use, open the project in VS, and double click on the "Properties" branch in the Solution Explorer pane.
In the page that results, select the "Application" tab, and make sure the "Icon and manifest" radio button is selected. Point the "Icon" at your .ICO file, and rebuild your project.
 
Share this answer
 
Comments
Ruwaldo 23-Sep-13 4:06am    
Thanks man
OriginalGriff 23-Sep-13 4:11am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900