Hi Everyone,

I have a ListView box that I am populating from a query against my machine. I would like to be able to double click the data in the box and have a popup box display the text I double clicked.

For example,

If the ListView is displaying the word "hard drive", I would like to be able to double click "hard drive" and have a message box pop up displaying the text "hard drive".

I have tried using the below code, but it is not correct.


Code:
MsgBox(lvLocalDisk.SelectedItems.ToString)
NOTE: lvLocalDisk is the name of my ListView box.

When I double click the intended item, using the above code, I get the message box "System.Windows.Forms.ListView+SelectedListViewItemCollection"


Can anyone help me with my problem? Thanks!