Listbox problem heeeelllllppp!
Hi
Can anyone help me with this problem. In my program I have a single listbox which shows the full directory and file name of any file(s) dragged and dropped into the list box. the code is below:
Private Sub List1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim Files As Variant
For Each Files In Data.Files
List1.AddItem Files
Next
Effect = vbDropEffectNone
End Sub
How do I get the full path name and filename, e.g. c:\music\mp3\audio.wav (that path would be displayed if audio.wav in that directory was drag dropped into the listbox.
How do I get that info into a txt file :confused: