i'm writing a financial planning application which allow users to input quite a number of figures and the application will calculate the relevant values. i used textboxes to accept user input.
now, i would like to be able to allow the user to save the contents of the application. was thinking of writing all values from the textboxes to a .txt file, line by line, when saving. and when loading the file back, will put the vlues back into their respective textboxes.
is this a good way of doing things (sounds pretty dumb), or is their an easier way?
can i save the application as a whole instead of by values?
now, i would like to be able to allow the user to save the contents of the application. was thinking of writing all values from the textboxes to a .txt file, line by line, when saving. and when loading the file back, will put the vlues back into their respective textboxes.
is this a good way of doing things (sounds pretty dumb), or is their an easier way?
can i save the application as a whole instead of by values?