$EXEICON - QB64Official/qb64 GitHub Wiki

$EXEICON pre-compiler metacommand embeds a designated icon file into the compiled EXE file to be viewed in Windows Explorer.

Syntax

$EXEICON:'iconfile.ico'

Parameter(s)

Description

  • Calling _ICON without an imageHandle& uses the embeded icon, if available.
    • Starting with build 20170906/64, the window will automatically use the icon embedded by $EXEICON, without having to call _ICON.
  • Keywords currently not supported.

Example(s)

Embeds a designated icon file into the compiled EXE which can be viewed in Windows Explorer folders.


$EXEICON:'mush.ico'
_ICON

See Also