METHOD:  Stream::Close

Implemented in version 2.5

streamobject.Close

The Close method is used to close a Stream object. As a consequence, you also lose access to any associated data.

Closing a Stream object does not delete it from memory. You can later use the Open method to reopen the same Record, with or without the same properties. If you have closed an object and you no longer need it, you can set it equal to Nothing which will remove it from memory.

Code (VBScript):
objStream.Open rsGuruData, adModeReadWrite
objStream.Position = 0
...
objStream.Close

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