Hour 19. Performing File Operations

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. Using these objects, you can delete files and directories, move them, rename them, and more. These objects are powerful, so remember: Play nice!

Using the OpenFileDialog

Get Sams Teach Yourself Visual Basic 2012 in 24 Hours, Complete Starter Kit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.