VB and VBA Users Source Code: Associate an icon with a exe using a resource file
[
Home
|
Contents
|
Search
|
Reply
| Previous | Next ]
VB/VBA Source Code
Associate an icon with a exe using a resource file
By:
Andrew Baker
Email (spam proof):
Email the originator of this post
Date:
Monday, January 15, 2001
Hits:
557
Category:
Files/Directories/IO
Article:
Occasionally you may have a exe which does not contain a form and want to have an icon embeded in it. To do this add a resource file (use the Add-in manager to load "VB 6 Resource editor"). Next click "Add icon" in the resource editor and browse to an icon and click "Open". Now right click the resource and select "Properties" and rename the icon to "1". The icon named "1" will be the icon displayed in explorer in the compiled exe. Note: If the addin manager doesn't display "VB 6 Resource editor" in the list, then look at article the following article: http://www.vbusers.com/discussion/discussionget.asp?ThreadID=18&PostID=1&NumReplies=0
Terms and Conditions
Support this site
Download a trial version of the Excel Workbook Rebuilder