$EXEICON

From QB64 Wiki
Revision as of 05:07, 29 August 2017 by imported>SMcNeill (Code simplified as per Fellippe's request.)
Jump to navigation Jump to search

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


Syntax

$EXEICON: 'iconfile.ico'


Parameters

  • The filename must use an icon extension .ICO inside of apostrophes.


Description

  • _ICON can designate an alternate window image or use the embedded image without any image handle.


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

$EXEICON:'mush.ico' _ICON

Code and command by Fellippe Heitor
mush.ico download


See also




Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page