Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have created one notepad app using c# code.. if someone installs that app... i want to create desktop icon...?? how can i achieve this....???
Posted

While creating the Setup for your App. using VS, you need to Place the Desired Icon in the Desktop folder present in the Setup Process Window in VS.

The image should be in .ICO format for this.
 
Share this answer
 
Comments
prajwal rao 17-Jan-13 1:11am    
i dint get it... can u tell me clearly please.... using c sharp i have built it and published it.... so that i got application and setup file... what to do next...??
P_Dash 17-Jan-13 1:18am    
Yeah Go with the Link Present in Second Solution.
You'll get it Perfectly.
Shambhoo kumar 17-Jan-13 1:13am    
check solution 2 link....
prajwal rao 17-Jan-13 1:24am    
thank you Gitti and Kumar sir....:)
P_Dash 17-Jan-13 1:55am    
No Probs Dear.
first of all u create setup for notepad application.

check this link....

http://balanagaraj.wordpress.com/2007/05/29/create-exe-or-setup-file-in-net-windows-application/[^]

i think this link realy help u....
:)
 
Share this answer
 
Comments
prajwal rao 17-Jan-13 1:12am    
sir i got that setup file....
Shambhoo kumar 17-Jan-13 1:25am    
actualy we inset icon on the time of setup creation...u cann't insert icon alredy created set up...and if u have source code then u again create set up file ....and i think my link is enough for creating setup file....please u read above link carefully....

all the best..
To create icon, I usually recommend IcoFX:
http://en.wikipedia.org/wiki/IcoFX[^],
http://icofx.ro/[^].

You can also use pixels editors of your choice and import some images in IcoFX.

Of course, there is a number of other editors, including Visual Studio.

You should understand that a single icon contains several images of different sizes, so the Shell can use it in different views. You should also use transparency feature, which is important for icons.

Icons are needed only in two places: 1) application icons, set by using application Properties in Visual Studio, 2) Form or Window icon for each form. You should not use icon in other places, where you can use bitmaps, vector graphics, etc.

First use of it mentioned above defines how the application file looks on desktop, file managers (like Explorer), and other views using the system shell.

—SA
 
Share this answer
 
Comments
prajwal rao 17-Jan-13 1:25am    
sir i got that icofx app... what can i do wit that immage...
Sergey Alexandrovich Kryukov 17-Jan-13 1:38am    
I explained that... which part seems to be unclear? 1? 2? anything else? Just look into Visual Studio IDE...
—SA
prajwal rao 17-Jan-13 1:49am    
thank you sir i got it...:)

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