You need to put the icon file inside a resource file.
Use for instance a ResourceWriter to create that file.
Once a resource, build your program using /resource:<resource file> or /linkresource:<>.
For you program icon (seen in explorer etc) you need to compile with /win32icon:<icon.ico>
You can also embed the resource using VS.Net, add the .ico file to your
project and set it's build property to embedded resource. It can then be
accessed via code using the ResourceReader class or the simpler
ResourceManager class.
You need to put the icon file inside a resource file.
Use for instance a ResourceWriter to create that file.
Once a resource, build your program using /resource:<resource file> or
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.