|
-
April 17th, 2001, 03:38 AM
#1
Adding an icon to project with "sub Main" only, no Forms.
How to add an icon to replace EXE's icon when compiled if I don't use any forms in my project, only SUB Main?
-
April 17th, 2001, 03:54 AM
#2
Re: Adding an icon to project with "sub Main" only, no Forms.
You need to use the resource editor application that comes with visual studio and add the icon to a .RES file, then compile it using the RC application.
The icon with the lowest ID is used by the API GetAssociatedIcon so I'd imagine it is also used by Explorer.
HTH,
D.
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
-
April 17th, 2001, 11:18 AM
#3
Re: Adding an icon to project with "sub Main" only, no Forms.
The easiest way is to add a dummy form and set the icon there. I know that you said no form but why not since it does not take too much space and you do not have to display it.
-Cool Bizs
Good Luck,
-Cool Bizs
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|