So why is this not working?
$lsvList1 = $Form.ListView
$lsvList1.Height = 425
$lsvList1.Left = 12
$lsvList1.Top = 15
$lsvList1.Width = 200
$lsvList1.MultiSelect = 0
$lsvList1.Dock = "Left"
$lsvList1.OnDoubleClick = "lsvList1DC()"
$ = $lsvList1.Columns.Add("Name",180)
$ = $lsvList1.Columns.Add("Version",80)
$ = $lsvList1.Columns.Add("Path",0)
$ = $lsvList1.Columns.Add("ID",0)
$SWProd = "\\Server1\Share\Software1\Prroduct1.ini"
$Item0 = $lsvList1.Items.Add("")
$key = ReadProfileString($SWProd,"","")
For Each $Keys In Split($key,Chr(10))
If $Keys
$Item = $lsvList1.Items.Add()
$Item.Text = "Item"
$Name = ReadProfileString($SWProd,$Keys,"SWName")+@CRLF
$Item.Subitems(0).Text = $Name
$Ver = ReadProfileString($SWProd $Keys,"SWVersion")+@CRLF
$Item.Subitems(1).Text = $Ver
$Path = ReadProfileString($SWProd,$Keys,"SWPath")+@CRLF
$Item.Subitems(2).Text = $Path
$Item.Subitems(3).Text = $Keys
$NmVr = $Name + $Ver
$lsvList1.Columns.Sorted = "True"
$lsvList1.item.Sorted = "True"
$lsvList1.HideSelection = "true"
EndIf
I have 3 listviews reading items from 3 diffrent ini files plased on diffrent servers.
hmmm... what about listbox instead of listview...
_________________________
I will always look out from behind these eyes...