Summary


The Open File Dialog and Save File Dialog controls, coupled with System.IO, enable you to do many powerful things with a user's file system. In this hour, you learned how to let a user browse and select a file for opening and how to let a user browse and select a file for saving. Determining a user's file selection is only the first part of the process, however. You also learned how to manipulate files and directories, including renaming, moving, and deleting, by using System.IO. Finally, you learned how to retrieve the properties and attributes of a file.

With the techniques shown in this hour, you should be able to do most of what you'll need to do with files and directories. None of this material is difficult, but don't be fooled by the simplicity; use care whenever manipulating a user's file system.




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net