|
-
Jul 26th, 2011, 05:25 PM
#1
Thread Starter
Lively Member
-
Jul 27th, 2011, 12:52 AM
#2
Re: Drag and Drop from Explorer to VB App
I have requested the thread moved out for the code bank.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jul 27th, 2011, 02:06 AM
#3
Re: Drag and Drop from Explorer to VB App
try something like this
Code:
Private Sub Command1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
MsgBox Data.Files(1)
End Sub
Private Sub Form_Load()
Command1.OLEDropMode = 1 'manual
End Sub
-
Jul 29th, 2011, 05:03 PM
#4
Thread Starter
Lively Member
Re: Drag and Drop from Explorer to VB App
Seenu, thanks for your reply. However, during the interim I had noticed I did not set the OLEDropMode during design time, it was incorrectly set at "None" so when set to manual all is well. Thanks very much!
Tags for this Thread
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
|