How to wait for a process to complete?

david7777

Freshman
Joined
Feb 17, 2005
Messages
33
I have written most of the functionality for a program - I have just included a "Settings" form.

I have now decided to make the main form a splash screen which will load all data and check that settings are there. While this is being done, a simple status text will tell the user what is happening... eg: "Checking FTP Settings...", "Loading Main Program..." etc.

So the splash screen will start. on load, it will check to see if the settings file is there. If not, it means the program is running for the first time, or the file has been deleted, so i need to force the user to enter the settings again. The splash screen must still be in the background, with my settings form now displaying. The user must then enter details, and click the "Save" button. Only once that is done, must the splash screen continue with processing of the main program.

My question is, how do i wait for a process to be complete before carrying on with the next step??
 
Back
Top