OpenAsTextStream Method
Description
Open a file as a TextStream
Syntax
Visual Basic |
---|
Public Function OpenAsTextStream( _ Optional ByVal IOMode As IOMode = ForReading, _ Optional ByVal Format As Tristate = TristateFalse _ ) As TextStream |
Parameters
- IOMode
Value Description ForAppending Open a file and write to the end of the file. ForReading Open a file for reading only. You can't write to this file. ForWriting Open a file for writing. If a file with the same name exists, its previous contents are overwritten. - Format
Value Description TristateFalse Opens the file as ASCII. TristateMixed n/a TristateTrue Opens the file as Unicode. TristateUseDefault Opens the file using the system default.
See Also