RemovePictureFromStartupList Example
The following example removes the Picture named pic1.grf (in the D:\Program Files (x86)\Proficy\iFIX\PIC directory) from the Configuration environment's startup list of the iFIX WorkSpace.
Dim lErr as Long
lErr = Application.UserPreferences.RemovePictureFromStartupList_
("D:\Program Files (x86)\Proficy\iFIX\pic\pic1.grf", False)
Note that the full path is required for the picture. Also note that the second paramater, when set to FALSE, removes the picture from the Configuration environment's startup list. When set to TRUE, it removes the picture from the Runtime environment's startup list.