Invoke Windows Copy Dialog

mafrosis

Well-known member
Joined
Jun 5, 2006
Messages
88
Location
UK
Programming Experience
5-10
Hey all,

Is there a clean and nice .NET way to invoke the system file copy dialog? My app has to move some files around in the background and we just hit one that is over 300MB. While the file copies it would be nice to fire off the XP process that normal occurs when you copy/paste a file between drives.

Not hugely important - would just be nice!

Cheers all
mafro
 
VB.NET:
[SIZE=2][COLOR=#0000ff]
My[/COLOR][/SIZE][SIZE=2].Computer.FileSystem.CopyFile(sourcefilename, destfilename, UIOption.AllDialogs)
[/SIZE]
 
JohnH,

How to use your code? I just simply add it to my procedure but the "My" word is not recognized.

Thanks,
Inhua
 
Back
Top