PDA

View Full Version : Solved: Write function in forms



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".

puppy123
09-18-2011, 01:29 AM
I manage to figure it out. Use Print instead of Write