Listview Drag and drop events

I have a listview that is populated from a database.
I need to be able to drag an item from the listview to a treeview and perform subsequent operations.
Everything works fine except...

How do I determine the text of the item that is being dragged from the listview if the user just left clicks and hold down the mouse key and drags.
I have tried a variety of events but none seem to fire at the right time.  
I am using Visual studio 2008 using .net 2.0 framework.
vollmesgAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AUmidhConnect With a Mentor Commented:
When you click on listview item for draging the first operation is it selected. so you can get its text as
Dim strText as String=listview1.SelectedItems(0).Text;
0
 
vollmesgAuthor Commented:
Thanks. This only seems to work on the dragdrop event.  That was my problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.