Files in VB

Files in VB - Files in VB .NET...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Files in VB .NET http://www.startvbdotnet.com/files/default.aspx 1 of 3 11/21/2006 11:44 PM VB .NET .NET Defined OOP with VB VB Language Win Forms Windows Controls ADO .NET User Controls File Handling - Directories Multithreading Deployment XML Web Services Essential XML Resources Discussions ASP.NET About Advertisement Search | Contact | Link To Us Home > Files in VB .NET Files in VB .NET Working with Files File handling in Visual Basic is based on System.IO namespace with a class library that supports string, character and file manipulation. These classes contain properties, methods and events for creating, copying, moving, and deleting files. Since both strings and numeric data types are supported, they also allow us to incorporate data types in files. The most commonly used classes are FileStream, BinaryReader, BinaryWriter, StreamReader and StreamWriter. FileStream Class This class provides access to standard input and output files. We use the members of FileAccess , FileMode and FileShare Enumerations with the constructors of this class to create or open a file. After a file is opened it's FileStream object can be passed to the Binary Reader, BinaryWriter, Streamreader and StreamWriter classes to work with the data in the file. We can also use the FileStreamSeek
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Files in VB - Files in VB .NET...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online