Seek Function


Seek Function

Class

Microsoft.VisualBasic.FileSystem

Syntax

     Dim result As Long = Seek(fileNumber) 


fileNumber (required; Integer)

Any valid file number of a file opened with FileOpen

Description

The Seek function returns the current 1-based position within an open file. This position represents the next place that data will be either written or read. For files open in Random mode, this is the next record number; for files open in other modes, this is the byte position.

Version Differences

In Visual Basic 2005, the My.Computer.FileSystem object provides more robust access to file management features.

See Also

Loc Function, Seek Procedure




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