Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15484

VS 2017 Advice On Storing Member Data in Text Files

$
0
0
Hello I am making a Client/Server Program where Members Register An Account but instead of using a database I am opting to use text files instead. I may utilize a database at a later time but for now I would like to learn how to setup my program to use text files for this project.

So my question is, what is the best way to store the members data in the text file meaning the look of it. I know many things use comma delimited text but would it matter if I just setup my own way of doing it? It probably does not matter I am sure I can do any way I can think of but just figured I would get some advice on it.

Example:

First Name: John, Last Name: Robertson, User Name: NewGuy123, Email: JRobertson72@example.com, Password: 55571480, Phone: 516-555-5555, Country: USA, Address: 711 Rock Street, City: Bedford, State: FL, Zip Code: 11733, Registered Date/Time: 9/15/2020 - 5:02 PM

I was going to just store these as one line across but also considered doing it vertically, something like this:

[FIRST NAME] John
[LAST NAME] Robertson
[USER NAME] NewGuy123
[EMAIL] JRobertson@example.com
[PHONE] 516-555-5555
[COUNTRY] USA
[ADDRESS] 711 Rock Street
[CITY] Bedford
[STATE] FL
[ZIP CODE] 11733
[DATE TIME JOINED] 9/15/2020 - 5:02 PM

brackets don't matter I just need any way of separating it to look neater, it could be [] or , or : or |
it does not matter much but I was thinking of doing it vertically like above so if I ever wanted to just read it fast I could just open the file and read it easier than across..

What do you guys think, how should I do this? I realize this is an easy thing for most people but I get indecisive so quickly about these things.

I think one thing is that it needs to state the field first, example First Name, and then seperate their First Name from that like First Name: Paul and then have another separator to show the entry has stopped like First Name: Paul, and then the next entry.. etc.. First Name: Paul, Last Name: Jenkins,

Viewing all articles
Browse latest Browse all 15484

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>