O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Input/Output

Element

Description

EOF function

Returns a flag denoting the end of a file

FileAttr function

Returns the file-access mode for a file opened using the FileOpen statement

FileClose function

Closes one or more open files

FileGet, FileGetObject functions

Read from a file to a variable

FileLen function

Returns the size of an open file

FileOpen function

Opens a file

FilePut, FilePutObject functions

Writes from a variable to a file

FileWidth function

Sets the line width of a file opened using the FileOpen function

FreeFile function

Returns the number of the next available file

Input function

Reads delimited data from a sequential file

InputString function

Reads a designated number of characters from a file

LineInput function

Returns a string containing a line read from a file

Loc function

Returns the current position of the read/write pointer in a file

Lock function

Locks a file, section of a file, or record in a file to prevent access by another process

LOF function

Returns the size of an open file in bytes

Print function

Writes formatted data to a sequential file

PrintLine function

Writes formatted data followed by a linefeed to a sequential file

Reset function

Closes all open files

Seek function

Returns the position of the file pointer

Seek procedure

Sets the position of the file pointer

Spc function

Inserts spaces between expressions in output

Tab function

Moves the text-insertion point to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required