Reading controls' properties from text file

B

Bob

I have a number of combo boxes and numericupdown controls on my form that
I've figured out how to save the values to a text file, comma delimited
(name, value) like:
SizeComboBox, 12
WidthComboBox, 8
I loop through all the controls with the For Each Next loop, and only save
the combo box names and .text property.
That is working fine.

My problem is when I read back in the names and values, from the file, I
can't figure out how to refer to the controls on the form and insert the
values from the text file.
thanks
Bob
 
B

Bob

Actually, if there is a good way to save the contents of all the controls on
a form (vb.net) to a file and then get them back later, I'm all ears or
eyes. Don't care if the file is binary or whatever.
thanks
Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top