Chapter 17: Working with Files and Folders

TitleDemoSourceLanguage
Opening a File recipe1701cs.aspx recipe1701cs.aspx source C#
Opening a File recipe1701vb.aspx recipe1701vb.aspx source VB.NET
Creating a file search utility. recipe1703cs.aspx recipe1703cs.aspx source C#
Creating a file search utility. recipe1703vb.aspx recipe1703vb.aspx source VB.NET
Creating a File recipe1704cs.aspx recipe1704cs.aspx source C#
Creating a File recipe1704vb.aspx recipe1704vb.aspx source VB.NET
Working With Binary Data and Files Recipe1705CS.aspx Recipe1705CS.aspx source  
Working With Binary Data and Files Recipe1705VB.aspx Recipe1705VB.aspx source  
Listing All Files in a Folder Recipe1706CS.aspx Recipe1706CS.aspx source  
Listing All Files in a Folder Recipe1706VB.aspx Recipe1706VB.aspx source  
Inquiring Information About a File recipe1707cs.aspx recipe1707cs.aspx source C#
Inquiring Information About a File recipe1707vb.aspx recipe1707vb.aspx source VB.NET
Copying or Moving a File recipe1708cs.aspx recipe1708cs.aspx source C#
Copying or Moving a File recipe1708vb.aspx recipe1708vb.aspx source VB.NET
Parsing a Filename recipe1709cs.aspx recipe1709cs.aspx source C#
Parsing a Filename recipe1709vb.aspx recipe1709vb.aspx source VB.NET
Reading a File Line by Line recipe1710cs.aspx recipe1710cs.aspx source C#
Reading a File Line by Line recipe1710vb.aspx recipe1710vb.aspx source VB.NET
Reading a File Word by Word Recipe1711cs.aspx Recipe1711cs.aspx source C#
Reading a File Word by Word Recipe1711vb.aspx Recipe1711vb.aspx source VB.NET
Parsing a File Using Delimiters recipe1712cs.aspx recipe1712cs.aspx source C#
Parsing a File Using Delimiters recipe1712vb.aspx recipe1712vb.aspx source VB.NET
Processing a File in Reverse recipe1713cs.aspx recipe1713cs.aspx source C#
Processing a File in Reverse recipe1713vb.aspx recipe1713vb.aspx source VB.NET
Extracting a Single Line from a File Recipe1714cs.aspx Recipe1714cs.aspx source C#
Extracting a Single Line from a File Recipe1714vb.aspx Recipe1714vb.aspx source VB.NET
Counting the Number of Lines in a File Recipe1715cs.aspx Recipe1715cs.aspx source C#
Counting the Number of Lines in a File Recipe1715vb.aspx Recipe1715vb.aspx source VB.NET
Extracting a Random Line from a File recipe1716cs.aspx recipe1716cs.aspx source C#
Extracting a Random Line from a File recipe1716vb.aspx recipe1716vb.aspx source VB.NET
Randomizing Lines and Words in a File Recipe1717cs.aspx Recipe1717cs.aspx source C#
Randomizing Lines and Words in a File Recipe1717vb.aspx Recipe1717vb.aspx source VB.NET
Creating a file in Isolated Storage recipe1718cs.aspx recipe1718cs.aspx source C#
Creating a file in Isolated Storage recipe1718vb.aspx recipe1718vb.aspx source VB.NET

  "Bought the cookbook a few weeks ago; popped it on the side of my desk and bookmarked some pages. There it lay for 10 days... then I got a project with a short deadline. This book is my salvation - I just used about 10 of the techniques from there, and the client is happy with the prototype. Never will I doubt again; a little £30 investment saved me hours for a proof of concept and will no doubt save me more time as the development progresses. A big thumbs up for Steve et al from the UK."
David Miles
DNA Consulting Limited