01-25-2009 11:11 PM
Hi !
I want to count the number of times my application runs.Each time the application is run ,the count is incremented.How can i create such a register to store the value in my program.
Regards
DeWalker.,
01-26-2009 01:40 AM
Hi DeWalker,
in this case you have to store the counter value in an ini file or in the registry. Read the old value at the beginning of your program and write it before closing.
Mike
01-26-2009 01:46 AM
Hi!
I have saved the value in a txt file and write to it before exiting my program.Are there specialised blocks for saving values to ini or registery???
01-26-2009 01:49 AM
Hi DeWalker,
a txt file should also be ok for a test. There is a libraray for ini files in the File I/O palette and a library for the registry in the connectivity palette.
Mike