Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2011, 02:41 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default How to add a icon file to my exe file

Hello,I want add an .ico file to my .exe to make my .exe file look more beautiful.In VC++ I just need to add a resource file.But in C#,It looks much more complicated.I can add a resource file,But it seems not work.How can I do this in C#?
 
Old June 1st, 2011, 09:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

It's even easier!!!

Just add it on the project properties what Icon to use! Go into the properties, Application tab, and there you have the icon to use..

:)
__________________
HTH

Gonzalo


================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the
proof.
================================================== =========
 
Old June 14th, 2011, 07:10 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

u maye overwrite ur ICON file as app.ico in project
__________________
Always,
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how can we change the icon of exe file in c++? shiva777 C++ Programming 1 May 13th, 2008 07:00 AM
how to change icon of exe file aashish23 C# 1 September 25th, 2007 08:21 AM
How to add icon file for a web application?? noblez ASP.NET 1.0 and 1.1 Professional 3 April 24th, 2007 02:21 AM
can't open txt file by clicking icon for it ALEX_GRIM Beginning VB 6 6 February 7th, 2005 03:52 PM
Change File Icon red4vbs VBScript 1 January 23rd, 2005 12:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.