How to drag files from eXplorer?

I want to drag a file from eXplorer. And drop it on... say a picBox control.
How do I do this?
(I just need the path and the filename of the file)
Olli083097Asked:
Who is Participating?
 
MirkwoodConnect With a Mentor Commented:
Try this code

Private Sub Form_Load()
    Picture1.OLEDropMode = 1
End Sub

Private Sub Picture1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
    Picture1.Picture = LoadPicture(Data.Files(1))
End Sub

0
 
Olli083097Author Commented:
Thanx!
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.