Solved

Drag & Drop-Folder details!

Posted on 2002-03-24
4
146 Views
Last Modified: 2010-05-02
When a user drags a folder icon from an explorer/my computer window to a particular control in the application, how can we get the list of files in that particular folder, and how can we get other details about that folder, like creation date, etc.?
0
Comment
Question by:shankarkrupa
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6893170
Hi!

Here's a file for you over hte net:

Download...
http://www.vb-helper.com/HowTo/oledrop.zip
Description: Process files dragged onto a form (2K)

Download...
http://www.vb-helper.com/HowTo/filetime.zip
Description: Get a file's creation, last access, and last write times (4K)

Download...
http://www.vb-helper.com/HowTo/filetim2.zip
Description: Get a file's creation, last access, and last write times a second way (2K)

To check the file creation date/time, you could also use the FileDateTime(filepath) function to retrieve the data.

That's it!

glass cookie : )
0
 
LVL 8

Accepted Solution

by:
glass_cookie earned 75 total points
ID: 6893171
Hope these helps you  : )
0
 
LVL 3

Author Comment

by:shankarkrupa
ID: 6894370
I will first check on those today and will tell you tomorrow.  Thanks.

S Krupa Shankar
0
 
LVL 3

Author Comment

by:shankarkrupa
ID: 6933182
Sorry for this late reply, but only now I could check the link, becuase of my internet access problems.  

Thank you very much, it shed a good light for me.

Thank you so much.
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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

895 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

12 Experts available now in Live!

Get 1:1 Help Now