Update to script to fix minor issues.
  • Status label would not display the proper amount of objects if the tab was changed while enumerating.
  • View button now displays the correct view icon for the currently selected tab.
Shawn, thanks for updating the next version with the Images.Add index. If you didn't want to make that change, however, one could aways do this...


If Exist("%WINDIR%\System32\dsuiext.dll")
    $imgList.Images.Add("dsuiext.dll;1"$c=$imgList.Images.Count-1
    $imgList.Images.Add("dsuiext.dll;7"$g=$imgList.Images.Count-1
    $imgList.Images.Add("dsuiext.dll;12"$u=$imgList.Images.Count-1
    $imgList.Images.Add("dsuiext.dll;13"$o=$imgList.Images.Count-1
    $imgList.Images.Add("dsquery.dll;0"$f=$imgList.Images.Count-1
    $frmMain.Icon = $imgList.Images($f)
Else
    $c=53 $g=35 $u=34 $o=50
EndIf



As always, I leave the decision to you.