r/visualbasic • u/NoName_Needed • Jun 11 '16
NEED HELP VISUAL BASIC 2010!!!
i have a save button that saves text from 3 different labels to a text document. Is there a way to separate the 3 different pieces of data again back onto the 3 labels with a load button?
1
Jun 11 '16
I assume you're writing these out to the text file in a specific order and with each value on a different line. If this is the case then you just read each line in the same order and put it into the label. Do you have a code example we can look at where you've attempted it already?
1
1
u/promoto Jun 12 '16
you can do this, for this instead of storing different label in text document store it in access database and retrieve it from database assign it to label
6
u/nerdfarm Jun 11 '16
Yes.