Reputation: 61
how do you merge an .ico file with the compiled .exe file?
without the .ico file, the exe file will crash upon booting... I've already added the ico file in the project properties
thanks in advance
Upvotes: 6
Views: 1362
Reputation: 566
Upvotes: 1
Reputation: 60724
If they are already added to project properties, you can access them using the code.
Properties.Resources.<name of icon resource>
I hope this is accurate, as I'm writing this on my phone :)
Upvotes: 0
Reputation: 1133
You need add the file as part of the solution either as content or embedded resource within the properties of the .ico file in your project solution.
Upvotes: 5