|
-
Sep 28th, 2002, 08:10 AM
#1
Thread Starter
Registered User
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
Last edited by jennysmith; Sep 28th, 2002 at 08:26 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|