Sorry but im traying to make a listview accept draged in files, and then display the path of the dragged in file or write it to a variable.
i tried the VBworld example but it dosent work for me. Anyone know how to? :(
Thank you in advance!
Printable View
Sorry but im traying to make a listview accept draged in files, and then display the path of the dragged in file or write it to a variable.
i tried the VBworld example but it dosent work for me. Anyone know how to? :(
Thank you in advance!
I haven't seen vb-worlds example, but my app works:
Code:Private Sub Lista_OLEDragDrop(data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
If data.GetFormat(15) Then
For n = 1 To data.Files.Count
lista.AddItem data.Files(n)
Next n
Else
End If
End Sub