ADO Flush Method

Home | About me | EXCEL VB Programming (XL97-2003) | ACCESS Programming | EXCEL VB.Net Programming | EXCEL Spreadsheet Functions Material Management  |  Guestbook
 

ADO Flush Method

The Flush method is used when you need to send the contents of the Stream buffer to the associated underlying object. For example, a node or file represented by the URL that is the source of the Stream object. This will ensure that all changes made to the contents have been written.

Note: ADO flushes the buffer as much as possible in the background, therefore; it is not usually necessary to call this method.

Syntax

objStream.Flush
 

Example


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