rgraylint
Programmer
- Sep 9, 2007
- 4
I have an Excel VBA based conversion app. A conversion settings form (A) pops on startup. I change some settings and click a <Start Conversion> button to start the conversion process. The conversion works fine, but I want to add a status dialog to tell me where it is in the process.
I added a simple status form (B) with no code and one label control. My plan is to load different status text in the label during the conversion and show the status form. I'm using this code:
frmStatus.lblStatusMsg.Caption = "Building column sequence..."
frmStatus.Show
The conversion appears to hang at this point. If I hit <Pause> on the debugger the "frmStatus.Show" statement shows as currently active. Apparently when the status form displays it get focus even though there is no code on the status form.
Can you tell me how to display a status form (B) like this but allow my parent form (A) code to continue?
If there is some completely alternate solution involving some other type of form or whatever, I'd be interested in hearing about that as well.
Thanks in advance!
I added a simple status form (B) with no code and one label control. My plan is to load different status text in the label during the conversion and show the status form. I'm using this code:
frmStatus.lblStatusMsg.Caption = "Building column sequence..."
frmStatus.Show
The conversion appears to hang at this point. If I hit <Pause> on the debugger the "frmStatus.Show" statement shows as currently active. Apparently when the status form displays it get focus even though there is no code on the status form.
Can you tell me how to display a status form (B) like this but allow my parent form (A) code to continue?
If there is some completely alternate solution involving some other type of form or whatever, I'd be interested in hearing about that as well.
Thanks in advance!