The Below program might solve your problem
a brief explanation of the below program
1) get total no of columns --------->(ColumnCount)
2) get total no rows in the wilnlist view------->(GetItemsCount)
3) retrieve the desired value from the column------>(GetSubItem(i,C_Name))
i hope the above program will help you
a brief explanation of the below program
1) get total no of columns --------->(ColumnCount)
2) get total no rows in the wilnlist view------->(GetItemsCount)
3) retrieve the desired value from the column------>(GetSubItem(i,C_Name))
Code:
With Dialog("Text:=Windows Task Manager")
.wintab("nativeclass:=SysTabControl32").Select "Processes"
R_Count=.WinListView("nativeclass:=SysListView32").GetItemsCount
'msgbox ("Total no of rows"&R_Count)
C_Count=.WinListView("nativeclass:=SysListView32").ColumnCount
'msgbox ("Total no of columns: "&C_Count)
For i=0 to R_Count-1
For j=0 to C_Count-1
C_Name=.WinListView("nativeclass:=SysListView32").GetColumnHeader(j)
t= .WinListView("nativeclass:=SysListView32").GetSubItem(i,C_Name)
Next
Next
End With
i hope the above program will help you