ikantspelwurdz
Well-known member
- Joined
- Dec 8, 2009
- Messages
- 49
- Programming Experience
- 1-3
I have code that looks like this:
This works, but it results in showing a series of Windows copy dialogs, each one responsible for a single file copy operation. In Windows, if you select multiple files and copy them, you will get a single dialog responsible for all of them. I want to have my code use that behavior. How can do this? It's not a problem if the source files must all come from the same directory.
VB.NET:
For Each curFile As FileInfo In fileInfoList
My.Computer.FileSystem.CopyFile(curFile.FullName, destination, UIOption.AllDialogs, UICancelOption.ThrowException)
Next
This works, but it results in showing a series of Windows copy dialogs, each one responsible for a single file copy operation. In Windows, if you select multiple files and copy them, you will get a single dialog responsible for all of them. I want to have my code use that behavior. How can do this? It's not a problem if the source files must all come from the same directory.