Solved

How to drag files from eXplorer?

Posted on 1998-11-13
2
129 Views
Last Modified: 2010-04-30
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)
0
Comment
Question by:Olli083097
2 Comments
 
LVL 13

Accepted Solution

by:
Mirkwood earned 20 total points
ID: 1444775
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
 

Author Comment

by:Olli083097
ID: 1444776
Thanx!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Upgrading VB6 to VB.Net: Replace VB6 API's and Hidden functions with VB.Net Upgrade? 8 68
How does CurrentUser work? 10 31
Add a task in Outlook from access 11 35
Help me. 3 45
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now