ADODB Object
 
Syntax
 
boolean = streamobject.EOS
 
Description
Returns a Boolean value indicating whether or not the current position is at the end of the stream.
 
The EOS property returns a Boolean value that indicates whether or not you are at the end of the stream. If True, you are at the end. If False, you are not at the end and additional bytes of data remain in the Stream beyond the current position.
 
You can determine your current position using the Position property and you can call the SetEOS method to designate the current position as the end of the stream.
See Also
Example
 
If (objStream.EOS = false) Then
   objStream.SetEOS = objStream.Position
End If