The file '<filename>' is not a text file
The specified file cannot be written to because it is a binary file.
Error ID: BC2015
To correct this error
- Check that you are supplying the correct file name and path.
See Also
Tasks
How to: Parse File Paths in Visual Basic
Reference
My.Computer.FileSystem.WriteAllText Method
My.Computer.FileSystem.WriteAllBytes Method