Hour 19. Performing File Operations


What You'll Learn in This Hour:

  • Using the Open File Dialog and Save File Dialog controls

  • Manipulating files with System.IO.File

  • Manipulating directories with System.IO.Directory

It's difficult to imagine any application other than a tiny utility program that doesn't use the file system. In this hour, you'll learn how to use controls to make it easy for a user to browse and select files. In addition, you'll learn how to use the System.IO.File and System.IO.Directory objects to manipulate the file system more easily than you might think (IO stands for Input/Output). Using these objects, you can delete files and directories, move them, rename them, and more. These objects are powerful, but remember: Play nice!




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