Categories > Etc > Software & Hardware >

How to change file icon?

Posts: 2

Threads: 1

Joined: Sep, 2022

Reputation: 0

Posted

ive been trying to make my first executor for myself on visual studios so im completely new to this but my file is really ugly and doesnt look professional at all and i was trying to see if anyone knows how to change the file icon to something like my own logo or smth? also the same for when its in my taskbar?

 

https://cdn.discordapp.com/attachments/983825167123890189/1016134700445732894/unknown.png

 

https://cdn.discordapp.com/attachments/983825167123890189/1016135945973678183/unknown.png

  • 0

Murz

PixelPenguin

Posts: 240

Threads: 20

Joined: Jul, 2021

Reputation: 29

Replied

Been a while since I have touched anything programming/designing realted. Though I do know you click on the windows form, and then, go to properties, and scroll down until you find something like "Icon" then select a .ico file.

 

 

(Converter)

https://convertio.co/jpg-ico/

  • 0

 

Ty for rep: Swiney, Byoke, Lion, Locust, Waves, Weeb, Nickk, darkn, Atari, CubeFaces, Lux14, Rice, Delta, Syraxes, Aeon, Jordan, Pluto, and Hiroku!

P.S, I like cats better too!

Alternate

stop take my rice

vip

Posts: 710

Threads: 113

Joined: Mar, 2022

Reputation: 40

Replied

Alright, time to be helpful.

 

Assuming your in WinForms, the easiest way to set the application icon is to go the "Project" tab on the top left of Visual Studio, and then click on "[project name] Properties", as shown in the below image.

https://cdn.discordapp.com/attachments/984079138262507573/1016195349955756092/Screenshot_2022-09-04_205717.png

This should open a new tab that should look something like this:

https://cdn.discordapp.com/attachments/984079138262507573/1016195668613799996/unknown.png

If not, repeat the steps until you see something like that. If so, you can proceed and scroll down until you see "Win32 Resources". You can also click on that in the sidebar. You should then see this:

https://cdn.discordapp.com/attachments/984079138262507573/1016196388490596442/Screenshot_2022-09-04_210054.png

Once you see this, if you already have a .ico file, you can proceed. If you don't have an .ico file, use this link to convert image types such as .png or .jpeg into a .ico file: https://www.icoconverter.com/

Once you get your .ico file, click on the "Browse" button and go to the directory your .ico file is in, then upload the .ico file as shown in the below image:

https://cdn.discordapp.com/attachments/984079138262507573/1016197067791671368/unknown.png

And that's it!

https://cdn.discordapp.com/attachments/984079138262507573/1016197635784319036/unknown.png

In the above image, note that the image I used was a light yellow, so based on the Task Manager color scheme it is hard to see. However, you may notice that the icon in your taskbar and the actual application icon have not changed as seen below:

https://cdn.discordapp.com/attachments/984079138262507573/1016197946653560832/unknown.png

To fix this, go back to the main Visual Studio tab and click on the form itself. Then, you need to go to the form properties and find the "Icon" setting, and change that to your .ico file as well, as shown below:

https://cdn.discordapp.com/attachments/984079138262507573/1016198407645319248/unknown.png

Once you did that, it should work and your application icon should change from to your selected icon as shown below:

https://cdn.discordapp.com/attachments/984079138262507573/1016198867794014381/unknown.png

In the above image, you can see how the icon changes once I did that.

After that, you should be all set and your icons will appear everywhere.

As you seem to be new to this community, I doubt you would be using WPF, but if you are the process should be somewhat the same if not exactly the same. Enjoy!

(I know this is long but it's mainly because of the images lol)

 

  • 1

test_bot2 is back

 

please stop taking my rice i need it to breathe

Posts: 2

Threads: 1

Joined: Sep, 2022

Reputation: 0

Replied

@Alternate  thank u so much 

  • 0

Alternate

stop take my rice

vip

Posts: 710

Threads: 113

Joined: Mar, 2022

Reputation: 40

Replied

@ImKaito

No problem! Glad I could help.

  • 0

test_bot2 is back

 

please stop taking my rice i need it to breathe

ChargedX

Owner of ChargedX

Posts: 97

Threads: 6

Joined: Jul, 2022

Reputation: -10

Replied

I use this it works fine for me it is without visual studio btw

icon changer

  • 0

https://cdn.discordapp.com/attachments/980336249820831744/1016151409261027428/standard_1.gif

https://cdn.discordapp.com/attachments/994242253864312843/1016368013534052453/standard_3.gif

Murz

PixelPenguin

Posts: 240

Threads: 20

Joined: Jul, 2021

Reputation: 29

Replied

@_realnickk Got scared and ran

  • 0

 

Ty for rep: Swiney, Byoke, Lion, Locust, Waves, Weeb, Nickk, darkn, Atari, CubeFaces, Lux14, Rice, Delta, Syraxes, Aeon, Jordan, Pluto, and Hiroku!

P.S, I like cats better too!

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )