10-06-2009, 03:23 PM
Use this piece of code,
As saket pointed out you are only msgboxing i value then the retireved item value. You have to store it in a variable and then read from it.
Code:
ICount = SwfWindow(" ").SwfComboBox("SwfComboBox").GetItemsCount
msgbox ICount (Output is 2)
For i = 0 to ICount - 1
itemname =swfWindow(" ").SwfComboBox"SwfComboBox").GetItem (i)
msgbox itemname
Next
As saket pointed out you are only msgboxing i value then the retireved item value. You have to store it in a variable and then read from it.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.