janus96 Posted October 2, 2007 Share Posted October 2, 2007 I've been using ControlListView to get access to a ListView32 control. It is a part of a window. What I do is to first get a count of the number of list items (by using the GetItemCount command) and then get the text of each item (by using the GetText command). It has worked real well. I now need to do the same thing, but using Visual Basic 2005 instead of AutoIt. I know this is like doing it the hard way, but there are other issues I couldn't get by with AutoIt. Does anyone know how to do this or get started? Many thanks in advance. CODE$iCount=ControlListView($tTitle, "", "SysListView321", "GetItemCount") $iActive = 1 $iTmp = 0 While $iActive $iCount=ControlListView($tTitle, "", "SysListView321", "GetItemCount") For $iRow = $iTmp to $iCount $iTime = ControlListView($tTitle, "", "SysListView321", "GetText", $iRow, 0) Next WEnd Link to comment Share on other sites More sharing options...
Zedna Posted October 2, 2007 Share Posted October 2, 2007 Look at AutoItX: "C:\Program Files\AutoIt3\AutoItX\autoitx3.dll" "C:\Program Files\AutoIt3\AutoItX\autoitx.chm" From VB2005 you can call it as COM. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now