Microsoft Scripting Runtime
OpenTextFile Method
Description
Open a file as a TextStream
Syntax
Visual Basic
Public Function OpenTextFile( _
   ByVal FileName As String, _
   Optional ByVal IOMode As IOMode = ForReading, _
   Optional ByVal Create As Boolean = False, _
   Optional ByVal Format As Tristate = TristateFalse _
) As TextStream
Parameters
FileName
IOMode
ValueDescription
ForAppending 
ForReading 
ForWriting 
Create
Format
ValueDescription
TristateFalse 
TristateMixed 
TristateTrue 
TristateUseDefault 
See Also

FileSystemObject Object  | FileSystemObject Members

Send feedback