Storages & Files IconIndex
IconIndex read/write property

The index of the icon to use from the source. Has effect only if IconPath contains full path name of an icon source - icon file, DLL or EXE.  


object.IconIndex = number
variable = object.IconIndex


Icon indices are 0 based. Negative numbers can be used as well if you want to specify one of the last icons in the file. However negative indices may cause future problems if the icon source is extended to contain more icons in a future version (the actual icon index will change). 

Applies to: SFShellLink object

Supported on:

Windows 95/NT and later


newObjects Copyright 2001-2006 newObjects [ ]