1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-16 20:05:14 +00:00
qb64/internal/help/$EXEICON.md

32 lines
828 B
Markdown

**$EXEICON** pre-compiler metacommand embeds a designated icon file into the compiled EXE file to be viewed in Windows Explorer.
## Syntax
> [$EXEICON]($EXEICON):'iconfile.ico'
## Parameter(s)
* 'iconfile.ico' is a valid [https://en.wikipedia.org/wiki/ICO_(file_format) ICO file]
## Description
* Calling [_ICON](_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]($EXEICON), without having to call _ICON.
* **[Keywords currently not supported](Keywords-currently-not-supported-by-QB64)**.
## Example(s)
Embeds a designated icon file into the compiled EXE which can be viewed in Windows Explorer folders.
```vb
$EXEICON:'mush.ico'
_ICON
```
## See Also
* [_ICON](_ICON)
* [_TITLE](_TITLE)