TextStream.ReadAll Method |
oTextStreamObj.ReadAll
A String.
Reads the entire file into memory.
For large files, use the ReadLine or Read methods to reduce the load on memory resources.
Files opened for writing or appending can't be read; you must first close the file and reopen it using the ForRead constant.