METHOD:  Stream::Flush

Implemented in version 2.5

streamobject.Flush

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.

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

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information