Droping Information into a listview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BarryM
    New Member
    • Mar 2008
    • 32

    Droping Information into a listview

    Hi apart of the program that im currently workin invloves that a person can dag the music or any file into a listview. It adds a new listview item and the text = the file directory they draged over. I know how to do it if im draging information between 2 listviews in my form by doin this

    listview1.drag_ drop

    Dim s() As String = e.Data.GetData( e.ToString, False)
    Dim i As Integer = 0
    For i = 0 To s.Length
    lsvplaylist.Ite ms.Add(s(i))
    Next

    but that doesent work if im dragin something from a folder into the listview
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Question moved to .NET forum.

    Comment

    Working...