puppy123
09-18-2011, 01:23 AM
The below code writes the info entered in a textbox into a txtfile:
Open "C:\Users\accounts.dat" For Append As #1
Write #1, TextBox1.Text
Close #1
When i open the txt file, it always display a " " around the text, so i was wondering if there is a way you can remove the " ".
So for example I entered the word Data into the textbox in the form, I want it to write into the .txt file Data instead of "Data".
Open "C:\Users\accounts.dat" For Append As #1
Write #1, TextBox1.Text
Close #1
When i open the txt file, it always display a " " around the text, so i was wondering if there is a way you can remove the " ".
So for example I entered the word Data into the textbox in the form, I want it to write into the .txt file Data instead of "Data".