You can set a value to _Screen.Icon, like:
_Screen.icon = "MyIcon.ICO"
However, you can also specify the icon used for the EXE from within the project manager. Just go to the menu [Project -> Project Info] then click the button "Icon..." and pick the icon you want in the .EXE.
What you cannot do easily is from within the .EXE, permanantly change the icon associated with your own .EXE or any other .EXE. This would require editing the Resources stored in the .EXE file.
If you use a double icon (16x16 and 32x32) icon, and you do like wgcs suggest AND you also right mouse on the gray part of the project manager and go to builder and put the same icon there, that shoudl replace you exe icon. You need to find a double icon, that way it will show up properly in windows explorer and on your desktop. One example of a double icon is located at "C:\Program Files\Microsoft Visual Studio\Common\Graphics\Icons\Dragdrop", those are double icons.
Mike Gagnon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.