If there is need to get all items of combobox to an array,QTP provides a method "GetContent" through which all items are returned as a single string.
Now to separate them into an array, use split with delimiter as vblf
Now to separate them into an array, use split with delimiter as vblf
Code:
AllItems=Window("Flight Reservation").WinComboBox("Fly From:").GetContent
arr=split(AllItems,vblf)
msgbox ubound(arr)