Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Man, how to drag and drop??!! 1

Status
Not open for further replies.

andylo

Programmer
Apr 22, 2002
12
0
0
AU
Hi guys,

I'm using VB.NET.

I have a simple application. Just a form, and a ListView.

I have a procedure in the form, it read's all the files in my specificed local drive, and show the files name, size and created day. It works perfectly.

Now, I want add a drag and drop functionality in this application. For example, when I drag a file from my desktop, and drop it in the list box, it will do the following:

- Add the file's name, size and date into the listview
- Copy the file to my another specificed path

My problem is simple, I don't know how to do it! :)

Can anyone give me a sample code and let me figure it out, or give me some hints, advice or anything can help.

Thanks in advance :)

Andy
 
Arr... got it... and I got it working.

Anyway, thanks pal ^_^

Andy
 
Hi andylo,

Seems that you got the drag-drop functionality. I am also looking for something like that..can explain how it works.

Thanks in advance. Murali Bala
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top