简体   繁体   中英

Replacing the default File copy Dialog

i'm trying to replace the default file copy dialog with my own program, which I want to create with vb.net.

Windows中的文件复制对话框

My problem: Where can I enter my application path to start automatically (and parse arguments/paths) when the user copies and/or pastes files?

Thanks in advance!

In order to monitor a file path I would suggest using FileSystemWatcher Class. This will monitor a folder for any files that are copied and pasted to the location. There is a great example at the below link.

https://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher(v=vs.110).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM