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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drag and Drop Events Trigger for Win API

Status
Not open for further replies.

asibin2000

Programmer
Joined
Dec 10, 2007
Messages
22
Location
US
Does anyone know the best way to fire a C# function based on a user dragging and / or dropping a file in windows XP desktop / explorer?

Also, is there anyway to fire a C# function after someone starts to download from a web link? For example, user is in internet explorer and starts to download a zip file to their local machine after clicking a link, they get the Save As box. Download is complete the box which says: Open, Open folder, Close - completed window is there - be able to fire a function when a user hits OPEN for example?

We've been experimenting with Kernel32, but we are having problems.

If anyone could point us in the right direction would greatly appreciate it.

Asi
 
Isn't there a FileSystemEventWatcher or something similar to watch for files in a directory?

You don't need the windows api for that...

 
We tried that, it worked well for one file folder but it didn't do well when we applied it to multiple file folders and sub folders.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top