Two methods:
1. You can customize the icon in the icon directory. This method can be used when the icon is relatively simple;
2. Use existing images to create the EXE icon. You can perform the following steps:
(1) Find the image you want to create an icon and convert it to an ico file in 16*16 pixels or 32*32 pixels. You can log on to the following website to convert ICO Icon files online. Http://ico.logo.la /.
(2) copy the ICO file to the res folder and openVC6.0 compile the environment, go to the icon directory, right click-> Import, select the created ICO file, and click OK. At this time, an idc_icon1 name will appear in the icon Directory, which is the ICO File ID. Double-click this ID to open the imported ICO file. The followingIdr_mainframeThe ID of the default ICO file.
(3) Select"Idr_mainframe", Delete, delete it. Right-click "idc_icon1" and change its ID to"Idr_mainframe".
(4) Compile and link. In this case, the EXE icon in the debug folder is changed to the imported image style.