How can I let my app know that an external program has ended? *[RESOLVED]*
Ok, this is what I want to do:[list=1][*]Have a bunch of files on disk and have the user select which file they want to view in a RichTextbox.[*]Have the user choose a menu item and be able to launch WordPad and automatically load the displayed text from the RichTextBox into WordPad ready for editing.[*]When the user has saved and exited WordPad, I want my app to realise this and reload the newly save text back into the RichTextBox.[/list=1] I can do steps 1 and 2, but not 3. How do I get my app to know when WordPad has exited so I can load the text back?
Thanks.