473,320 Members | 1,887 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,320 software developers and data experts.

Changing the Icon of the *.exe file

Hi,

I've created a project, and after compiling the *.exe file has created, i
want to change the icon of that file, i changed the App.ico file to my Icon,
but still i can't change the icon, is there another way?

Thanks,
Gidi.
Nov 17 '05 #1
3 5071
Bry
I'm using vs .net 2005, so ymmv if you are using 2003.

* Click on the Project menu
* Select "<application name> properties"
* Change the icon

Nov 17 '05 #2

Gidi,

Might not be what your looking for but based on your time line you outline
in your message. I think you just need to recompile. Especially if the
app.ico file is an embedded resources.

Michael
"Gidi" wrote:
Hi,

I've created a project, and after compiling the *.exe file has created, i
want to change the icon of that file, i changed the App.ico file to my Icon,
but still i can't change the icon, is there another way?

Thanks,
Gidi.

Nov 17 '05 #3
Gidi wrote:
Hi,

I've created a project, and after compiling the *.exe file has
created, i want to change the icon of that file, i changed the
App.ico file to my Icon, but still i can't change the icon, is there
another way?


Just to explain why you are having these problems. The application
icon - the one that Windows Explorer shows, or the one that you see in
the application list when you press Alt-Tab - is an unmanaged resource,
so you have to add it as such. The C# compiler has a switch /win32icon
to allow you to specify the icon to use, and there is a VS way to do
this too, as Bry mentions. The Form icon is a *managed* resource and it
is stored in a totally different part of the file (anyway, it is a
compiled resource), so the OS does not know about it.

Richard
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm
Nov 17 '05 #4

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

Similar topics

1
by: sarmin kho | last post by:
Hi Pythoners, i remember that i saw posting about changing the icon of a python executable but i kind of lost where to find the posting... basically, this is my first time using the py2exe to...
1
by: sos00 | last post by:
hi guys, how can i change icon of an executable file in vb.net ? thanx
1
by: MW | last post by:
Hi all, I would like to change icon in my dll for a custom new one. When I change it in properties in VS.NET nothing hapenns. Still in the upper left corner of the window I have default icon. I...
3
by: Charlotte | last post by:
Hi there, does anyone know the HTML code or Java script for changing the website icon when other people add the link to their favourites menu?? Thanks~ Charlotte
1
by: David Burkinshaw | last post by:
I have a form and I assigned an icon to it. For arguements sake let's say the icon is a smiley face. I compile, run, and save the program. The icon on the form shows up as a smiley face. At a later...
14
by: Kishan Hathiwala | last post by:
Hi i have kept a statusbar in the form with panels = true. and total there 3 panels. whenever i click on the 3rd panel a menu appears showing online and offline and either is enable at a time....
2
by: Amjad | last post by:
Hi, I'm using the NotifyIcon to process some text files in the background periodically. I want to display one icon in the task bar when the program is in stand by mode, and I want to display...
13
by: Kevin | last post by:
Hi, I have used ASP for years using MS Access and have used MSSQL quite a lot as well. I have never came across something like this before. MSSQL table names and types: ProductName nvarchar...
7
by: student2 | last post by:
Hi! I want to create a command from my Desktop that would automatically open my Database from that button or Icon. I've tried going to the Properties of the AutoExecute Form (SwitchBoard) to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.