In my main sub routine I have code similar to this
Form.Show
Call File_Routine
The file routine searches for a configuration file, needed by the program.
If the configuration file is not found then the file routine continues to search for certain files so that there paths can be stored in a newly created configuration file. While the program searches for the files, I am trying to display progress messages to the user.
The problems I have are the Form does not completly load before the File Routine is invoked, it looks like a ghost form. Only after the file routine is complete does the form completely show. Because of this I cannot display the progress messages to the user.( I was using a hidden text box on the form to display the messages, making it visable when needed). I tried this both with a startup form and on the main form.
I've also tried displaying a msgbox (which i really don't like) so that the user has to press ok before the file routine starts. This allows my form to load, and display some text, but as soon as the user presses the OK button the text disappears and none of the other progress messages display.
Please Help!
Form.Show
Call File_Routine
The file routine searches for a configuration file, needed by the program.
If the configuration file is not found then the file routine continues to search for certain files so that there paths can be stored in a newly created configuration file. While the program searches for the files, I am trying to display progress messages to the user.
The problems I have are the Form does not completly load before the File Routine is invoked, it looks like a ghost form. Only after the file routine is complete does the form completely show. Because of this I cannot display the progress messages to the user.( I was using a hidden text box on the form to display the messages, making it visable when needed). I tried this both with a startup form and on the main form.
I've also tried displaying a msgbox (which i really don't like) so that the user has to press ok before the file routine starts. This allows my form to load, and display some text, but as soon as the user presses the OK button the text disappears and none of the other progress messages display.
Please Help!
Comment