I would like to read text from another programs listview control. I have searched over 3x forums for this and cant find any working examples and especially no working VB.NET examples.

I know that i have to use the command 'LVM_GETITEMTEXT' with the API Sendmessage but i have no idea how to issue the command and need a working example to go from. From what i have seen it seems more complicated then a normal sendmessage command as you have to allocate memory buffers etc which reallly confuses me .

I would be grateful if anyone could provide me with a working code example in VB.NET although i wont hold my breath as no one seems to know how to do this.