I am struggling adding a save method to the following program
everytime I try to add a save it messes up the rest. any suggestions? I know this looks awfully convoluted but I'm new at this game. [This message has been edited by Ronald Pruitt (edited January 23, 2001).] [This message has been edited by Ronald Pruitt (edited January 23, 2001).]
Joined: Sep 29, 2000
What are you trying to save, and to where? Are you trying for persistance? Is it the values on the GUI that you are trying to capture, or is it the file that you are writing out that you are refering to??
"JavaRanch, where the deer and the Certified play" - David O'Meara
Joined: Jan 15, 2001
I want to be able to ultimately save the file that I have opened and the state of the GUI. Currently I can save the file and the state in the Save as portion. but I don't want to have to do a save as each time, I would like to be able to just do a save and that would save the current file that is being edited or whatever. I think what I will ultimately want to do is parse the text file and find out how many times a word is in the file etc. but I haven't go that far yet. I hope this is understandable. [This message has been edited by Ronald Pruitt (edited January 23, 2001).]