Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping track of steps within a process

Status
Not open for further replies.

Terpsfan

Programmer
Dec 8, 2000
954
US
Hi,
I am creating a class module that will include several processes. In order to do process 2, process 1 has to be completed. I have figured out the logic to that. But I want to be able to retain the information about a sub process in case the user has to shut down the application and start it again. That if the user somehow had to reboot the computer and open the application again, he/she wouldn't start process 1 over again because it has already been completed. I somehow have to store this information in some object. Unfortunately when the app shuts down you lose whatever was in memory, so storing it in an array doesn't seem feasible. I also want to indicate on a check box on a form for each process to indicate whether it has been completed.

What I am trying to accomplish is much like an application loader that comes with an application restoration cd. A form indicates what has been completed with check marks. If a user needs to reboot then you resume where you left off.

Thanks for any direction you can provide.
 
Just store all the informatoin in a text file.
and the process number that is next in the registry.

That is the easiest way of doing doing that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top