473,387 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Change default icon for Windows Application

Creating an Windows application with C# (a.exe).
My program a.exe has default icon (in Windows Explorer). How to change
default icon for my program ?
(Certainly, not by creating an shortcuts to a.exe)

Thanks
Nov 15 '05 #1
1 28513
Asuming you are using MS VS .Net

Add the Icon you want to your project,
Set the build action property for the icon to "embedded resource"

Open the property dialog for the project,
under Common properties/General/Application Icon/
enter the name of your added file.

Thats it

/Tomas P.

"Hai Ly Hoang" <Re**********@Mail.com> wrote in message
news:ed**************@TK2MSFTNGP11.phx.gbl...
Creating an Windows application with C# (a.exe).
My program a.exe has default icon (in Windows Explorer). How to change
default icon for my program ?
(Certainly, not by creating an shortcuts to a.exe)

Thanks

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Diego F. | last post by:
Hi. Can you explain me how to change the default icon that Visual Studio sets to all applications? I mean Windows Forms apps. I want to change it for another icon, but I don't find any property...
2
by: Rob Meade | last post by:
Hi all, After some success work today I've built my first app! yay! anyway, minor thing but I dont like the standard white/blue windows program icon - how can I change this to use my own? ...
16
by: Phil Hey | last post by:
Hi, I can change the icon for a folder by right clicking on it > going to the customize tab > and selecting Choose Picture. Does anyone know if it is possible to do this programmatically...
1
by: UJ | last post by:
Is there a way to change the default icon for a window to be the application icon? It's just that if you create a new window you have to remember to go in and set the icon where it would be nice if...
1
by: ImageAnalyst | last post by:
Yay!!! They fixed this for VS2005. You can now set the default installation to be "Everyone" instead of "Just Me" and you can control whether you even want those radio button installed in your...
0
by: Anish G | last post by:
Hi, I have created a setup file(vb.net project) using .net Setup and Deployment Wizard. Now, I am trying to change the default icon present in the .net setup wizard(top right corner). I tried in...
1
by: EgoSum | last post by:
How do I change default startup icon in application? Thanks in advance.
1
by: Terez | last post by:
I am new to this forum, and hope that someone will be able to help me. How can I change the icon of an application? For instance, if I have AOL open, is there a way I can change the icon to a Word...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.