C# how add icon into .exe -


how can import .ico .exe in c# ? (i want have 1 file)

in resources file have: icon.ico

when click on icon, in properties have: "embedded resource"

what shoud do(change)?

trayicon.icon = new icon("c:\\users\\wulp\\documents\\visual studio 2013\\projects\\wifiswitch\\wifiswitch\\resources\\icon.ico"); 

and, how have use relative path ?

thanks

you have add icon resource.

see: https://msdn.microsoft.com/en-us/library/7k989cfy(v=vs.80).aspx

when you've added resource can point it.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -