maybe I am not understanding how string writer works because my declaration produces an error.
This is my declaration above and below is the error when I click the button this code is attached to. txtInvtoner is my path info to the text file.
VB.NET:
Dim swtoner As New StringWriter(txtInvtoner)
This is my declaration above and below is the error when I click the button this code is attached to. txtInvtoner is my path info to the text file.
VB.NET:
Unable to cast object of type 'System.String' to type 'System.IFormatProvider.