Apr 12, 2011
I am trying to write a program that takes the input of a CSV file, makes modifications, and prompts the user on how to handle certain modifications.
View 7 Replies
I have the parsing of the CSV file complete, the handling of most of the string manipulation down, and the user interface complete, except when it comes time to move onto the next record.
I had it display the form as a modal dialog, and used me.hide() once it was over to continue with the program. However, when it gets to the next ShowDialog(), it says that the object has been disposed! I've tried a modeless dialog, with a while loop that waits for a boolean to be flipped by a button on the dialog being clicked, but that, as predicted, did not turn out so well and just shot the processor load to 100%.
One thing I notice in looking around is that I have everything based on the "home" form, the initial one that comes up when the program is run. Is this incorrect coding? Does this require the prompt being on a child form?