Probably something really simple that I'm missing, but how do I assign an icon to my project if it hasn't any Forms (ie. only Basic modules)?
Printable View
Probably something really simple that I'm missing, but how do I assign an icon to my project if it hasn't any Forms (ie. only Basic modules)?
Why don't just add a form and use its icon? (don't call the form from any sub or function, and don't add any control to it, so it won't add a large amount of bytes to yor final exe)
I had this problem a lot, but I am using some of other programs to assign an icon to a exe file. MicroAngelo (www.impactsoft.com) is very good.
I don't wan't a Form on my project that I'm not using, it's just bad code. Plus this way my project doesn't show up on the Windows List when it's running.
Thanks Jhd.Honza, MicroAngelo is what I'm using already, I was wondering if there was a way to do it without it.
I know that the method is probably exposed through the Shell32.dll it's just that I don't know which method I should use.
Anyone know?
To have a icon with no form is easy:
Step 1. Start the 'Recourse Editor'
Step 2. In the toolbar of the 'Recourse Editor' is a button to add a icon.
Step 3. Select a icon
Step 4. Make a exe
Step 5. Make a link of the exe
Step 6. Properties of the link, tab Link, another icon..., and make a choice!
Sorry for bad English!
LauPro, thanks for the input, but I want the actual exe itself to have an icon.