No worries.. I found a different way to do it.
instead of changing the writing, I changed the reading.
It used to be Line Input #1, Saved_Name
Now it's just Input #1, Saved_Name
That ignores the " " in the .txt file
User Profile
Collapse
-
Thank you for the reply, but those all read from the file, where I need to write to the file.
I'm only new at VB and I really need to use this format.
can you help me with simply removing the " " that has been added around RegUNam and RegPass? I appreciate your help.
...Code:Open "Users\" & MyName & ".txt" For Output As #2 Write #2, RegUNam Write #2, RegPass
Leave a comment:
-
VB6 write to .txt file
This is for a school project. I made a log in system that sorta works.. there is just one problem.
The problem is when registering a new user.
What I'm doing is, I make a new .txt file for each user with on the first line the user name and the second line the password.
The problem is, when the file is created and the data is stored it is stored with the annoying little @#$&*: "..."
So...
No activity results to display
Show More
Leave a comment: