Thank To Reply
After Script analysation :
The error in function _GUIImageList_AddIcon
; #FUNCTION# ====================================================================================================================
; Name...........: _GUIImageList_AddIcon
; Description ...: Adds an icon to an image list
; Syntax.........: _GUIImageList_AddIcon($hWnd, $sFile[, $iIndex=0])
; Parameters ....: $hWnd - Handle to the control
; $sFile - Path to the icon that contains the image
; $iIndex - Specifies the zero-based index of the icon to extract
; Return values .: Success - The index of the image
; Failrue - -1
; Author ........: Paul Campbell (PaulIA)
; Modified.......:
; Remarks .......:
; Related .......: _GUIImageList_Add, _GUIImageList_AddBitmap
; Link ..........;
; Example .......; Yes
; ===============================================================================================================================
Func _GUIImageList_AddIcon($hWnd, $sFile, $iIndex = 0)
Local $tIcon, $iResult, $hIcon
$tIcon = DllStructCreate("int Handle")
$iResult = _WinAPI_ExtractIconEx($sFile, $iIndex, 0, DllStructGetPtr($tIcon), 1)
_WinAPI_Check("_GUIImageList_AddIcon", ($iResult <= 0), -1)
$hIcon = DllStructGetData($tIcon, "Handle")
$iResult = _GUIImageList_ReplaceIcon($hWnd, -1, $hIcon)
_WinAPI_Check("_GUIImageList_AddIcon", ($iResult = -1), -2)
_WinAPI_DestroyIcon($hIcon)
Return $iResult
EndFunc ;==>_GUIImageList_AddIcon
Please update function To Use in Windows Vista .
And thanks to All members .