I have about 6 forms in my VB windows application project. Each form takes user input in different ways (textbox, checkbox,Combobox). I wanted to store information of all the forms into a single textfile and load forms with user information back from the text file to the corresponding forms.
I could save the contents of textboxes and load them back into the form using Streamwriter and Streamreader to write and read line by line. I want to save the checkboxes value that were checked before to the same text file which I have used for storing textbox values so that when user opens that form again he will see what he had done before. All the textboxes were in one form and all checkboxes are in other form.
Is there any way that I can store the user given data into a single text file and load the data back into corresponding controls i.e., textboxes, checkboxes and the combobox.
thank you in advance