Creates an icon (associated with a program) in a group of Windows programs, with the associated command line.
// Creates a shortcut for a program
IconInstall("Examples", "WD Example", "D:\WINDEV\Examples\SALESMGT\SALESMGT.EXE")
Syntax
<Result> = IconInstall(<Group name> , <Caption> , <Command line>)
<Result>: Boolean
- True if the icon was installed,
- False otherwise.
<Group name>: Character string
Name of the group in which the icon must be created. No sub-group can be created. If the specified group does not exist, it is created.
<Caption>: Character string
Caption displayed below the icon or in the "Start" menu. If the caption contains space characters, it must be enclosed between double quotes.
<Command line>: Character string
Command line associated with the icon. Contains the full path of the application associated with the icon and the start parameters (if necessary).
Remarks
For a more advanced management of the program icons, use
CreateShortcut.
Business / UI classification: Business Logic