An icon to *.exe file

konisek

Member
Licensed User
Longtime User
Can I add an icon represented by file.ico into a new exe file when compiling? I want that the icon be a part of the exe file, i.e. when I associate an icon to this exe file, I can see the icon. (L)
 

sitajony

Active Member
Licensed User
You can add an icon with option "Add icon" on Basic4PPC or change dynamicly an Form icon with FormEX.dll [Desktop only] (I'm not sure if it's this Lib)...
If you want associate an extension with your program icon you can do this on the registry in the HKCR (ROOT) Folder [Device & Desktop]...

Your icon is normaly in ressource 32512...
 
Last edited:

konisek

Member
Licensed User
Longtime User
I mean this. If you look at the screenshot, you can see several "blank" icons the represent .exe files, for example clock.exe
However, 2 programs (Camera.exe and Communication Manager.exe) have their own icons.
So I will compile a basicfile.exe and I want that it has its own icon of mine, i.e. from my_icon.ico file. It will look somehow similar to those 2 programs.
Hope, it is more understandable now.
 

Attachments

  • screen1.jpg
    screen1.jpg
    26.8 KB · Views: 241

mjcoon

Well-Known Member
Licensed User
I give my EXE files an icon because I use "Launcher" in my Today screen to show me my favourite applications. And the icon also shows up when I list the EXE file in TotalCommander as in your example.

But I do find that sometimes the icon does not "take" and I have to do a soft reset of the device before it is correct. This may be when I have changed the idon.

HTH, Mike.
 

sitajony

Active Member
Licensed User
You can add your own icon with this menu on Basic4PPC:
attachment.php

It'll be show on your Forms and on the EXE file...
 

Attachments

  • capture.jpg
    capture.jpg
    11.6 KB · Views: 370
Top