.NET Matters: IFileOperation in Windows Vista

Say you'd like to execute a bunch of file operations as a batch. You'd like some extra doo-dads like a standard Windows progress bar for the operation. What's the best way to approach this problem?

In the December issue of MSDN Magazine, Stephen Toub demonstrates how you can use SHFileOperation to get some of this functionality, and writes a wrapper for the new IFileOperations interface in Windows Vista so you can access it from managed code.

Be sure to browse Steve's sample code online, or grab the download from the article online.

For more .NET programming guidance from Steve, check out our past .NET Matters column archives or subscribe to the RSS Feed for notice of new installments.

 

Technorati Tags: Windows Vista, .NET Framework, file operations