Open a file as a TextStream
| Visual Basic |
|---|
Public Function OpenAsTextStream( _ Optional ByVal IOMode As IOMode = ForReading, _ Optional ByVal Format As Tristate = TristateFalse _ ) As TextStream |
| 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. |
| 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. |