* Identify the icon to be displayed in the system tray. loSysTray.IconFile = “tree.ico” */ Call the method that does the work. lnRetVal = loSysTray.addIconToSystray() IF lnRetVal = 1 */ Success. lpText = [Icon "tree.ico" displayed in sysTray.] lpCaption = "Success" ELSE */ Failed. lpText = [Icon "tree.ico" failed to display in sysTray.] lpCaption = "Failed" ENDIF && lnRetVal DECLARE INTEGER MessageBox IN user32 As MessageBoxA; INTEGER hwnd,; STRING lpText,; STRING lpCaption,; INTEGER wType hwnd = 0 wType = 0 MessageBoxA(@hwnd,@lpText,@lpCaption,@wType)Code not tested but hope it helps.