VB.NET Language in a Nutshell

   
Reset Procedure

Class

Microsoft.VisualBasic.FileSystem

Syntax

Reset( )

Description

Closes all files that have been opened using the FileOpen procedure

Rules at a Glance

The contents of any current file buffers are written to disk by the Reset procedure immediately prior to Reset closing the respective files.

Programming Tips and Gotchas

The Reset procedure is generally used as a last resort, cleaning up if your program is terminating abnormally. Normally, you should write code to close each open file using the FileClose procedure.

See Also

FileClose Procedure, FileOpen Procedure

   

Категории