ADO » Stream » Flush

Version: 2.5

Syntax:
streamobject.Flush

Sends the contents of the Stream object to the underlying object that is the source of the Stream object.

The Flush property is called when you need to send the data buffered in the Stream object to the associated underlying object. This will ensure that the contents have been written.

Since ADO continually flushes the buffer, you should rarely need to call Flush. For example, when you call Close, there is an implicit flush.

Examples

Code:
objStream.LoadFromFile "C:/Guru/Meditation/Chant94.txt"
objStream.Flush

See Also: