On Tue, Sep 30, 2014 at 6:17 PM, Magnus Tveten <magnus.tve...@iag.com.au> wrote: > > What if you did not use ListBOX but used ListView ? > > Listview is capable of having Columns ($objListView.View = 1 #can not > remember what the different views are..) and with some more code you can > enable Column sorting... >
I pasted your code in, ran it, and got a screenful of: BackColor : Color [Window] Bounds : {X=0,Y=0,Width=0,Height=0} Font : [Font: Name=Microsoft Sans Serif, Size=8.25, Units=3, GdiCharSet=0, GdiVerticalFont=False] ForeColor : Color [WindowText] Tag : Text : ACTIVE Name : BackColor : Color [Window] Bounds : {X=0,Y=0,Width=0,Height=0} Font : [Font: Name=Microsoft Sans Serif, Size=8.25, Units=3, GdiCharSet=0, GdiVerticalFont=False] ForeColor : Color [WindowText] Tag : Text : DCTRRDS003 Name : and a form with a blank area (no list of any kind). :-( So I missed something here ... The actual code is here: < http://pastebin.com/HCD3ZzEi > (easier to read that way) ================================================ Did you know you can also post and find answers on PowerShell in the forums? http://www.myitforum.com/forums/default.asp?catApp=1