Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assigning an icon to an executable

Status
Not open for further replies.

darkman0101

Technical User
Joined
Oct 10, 2000
Messages
51
Location
NZ
Assuming that you create a standard exe project with no forms, is it possible to give the project an icon?
The project properties will not let you choose an icon

Thanks
 
That is true - but just because you include a form in a project does not mean you have to use it (or if you do) show it. I include forms on programs that run in the background so I can draw activex controls on them so the form does get loaded but never displayed.
You can assign your icon to that form - but use sub main for your entry point.
 
so does that mean that if I never explicity reference the form (or anything on it) that it will never be loaded... and therefore no consume any memory?
 
Sorry. It will take up memory - but if the form is empty it can't be a significant amount.
 
if the start Form (properties Form Icon )have a icon you exe have also the icon .
Eric De Decker
vbg.be@vbgroup.nl

License And Copy Protection AxtiveX.

Download Demo version on my Site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top