Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedded icons in .exe
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01502999
Message ID:
01503009
Vues:
41
>>>>Hi All, I've added several icons as embedded resources into my exe using the resource editor, however if I right click a shortcut to my.exe and select change icon / browse to my.exe - only the icon I set in the icon and manifest tab of the projects' properties tab is shown ? any ideas ?
>>>
>>>http://www.codeproject.com/KB/dotnet/embedmultipleiconsdotnet.aspx
>>
>>Thanks Viv, I actually read that article ( obviously not properly ! ) and couldn't get it to work - I was looking in the wrong place for Properties ! thanks again it works perfectly
>
>Sorry. Just noticed that the link was based on VS2005 but sounds like you found the right place to add the resource file to the app...


No worries, in the article where it states "Open up the Application tab of the Properties page of your project" I was looking in Solution Explorer and of course there was no Properties/Application tab - you need to right click the project then select properties - then click the "Resource" radio button of the application tab and point it to the .res file you created earlier - recompile and bingo - there are all your icons visible when you browse your exe/dll using change icon in Win Explorer - thanks again - also the .res file is reusable for other projects
Regards,
Peter J. Kane



Pete
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform