Visual Basic .Net allows random access to files using the StreamReader class. The file pointer can be set as required, and data can be read or written as a stream of bytes or as a nominated variable type.