I need someone to provide me with source code or and example of how to implement a progress dialog. More specifically I need to be able to display a modal dialog box with an abort button and progress bar while a background process occurs. The user can click abort and stop the process.
All I need to know is how to do this. If I try using a form and call the form, it does not show until the process completes. I have tried the update and repaint methods but neither works.