English 中文(简体)
页: 1 拥有多个档案,但只有一份复印方言。
原标题:CopyFileEx with multiple files, but only one copy dialog

我为此搜索了网站和中途。

我想复制从多个来源到多个目的地的多份档案。 我对未经许可的申请不持怀疑态度,但档案很可能无法使用。

我可在here上复制1份档案。 然而,我像标准窗口拷贝文件方言一样。 我要复制多种档案,而不仅仅是一个文件,例如通过一系列来源档案和一系列目的地档案。

是否有办法这样做? 还有一点:是否可把这项工作列为一项任务,而不是将复制业务分开? 原因是,我只想显示一个进步的方言——从开始到复制所有档案。

我希望我的问题是明确的。

非常事先感谢你。

divStar。

最佳回答

是的,这是从Vista开始便可进入的“化行动”牵线。 2007年12月发行的MSDN杂志

The Article is titled ".NET Matters: IFileOperation in Windows Vista"
The sample code is still available
here.

如果还需要在较早版本的视窗上运行,则依靠现行代码。

问题回答

Set the MultiSelect property of You





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签