Section A.14. InputOutput


A.14. 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 procedure

FileClose Procedure

Closes one or more open files

FileGet, FileGetObject Procedures

Reads from a file to a variable

FileLen Function

Returns the size of an open file

FileOpen Procedure

Opens a file

FilePut, FilePutObject Procedures

Writes from a variable to a file

FileWidth Procedure

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

FreeFile Function

Returns the number of the next available file

Input Procedure

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 Procedure

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, PrintLine Functions

Writes formatted data to a sequential file

Reset Procedure

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 a given column or to the start of the next print zone

Unlock Procedure

Removes a file or file section lock previously set with the Lock procedure

Write, WriteLine Procedures

Writes data to a file





Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net