Hello,
I'm trying to add Shareware to my application. I want to allow the user to try the program 5 times. I'm having trouble with the very first time the program is run.
For instance I write to the registry via SaveSetting() and set my variable to 1. Then every other time the program is run the variable = the variable + 1, until the variable = 5.
The problem is this, how do I stop the program from initializing the variable to 1 every other time the program is run.
Any and All input you can offer on this matter is greatly appreciated.
Thanks.
I'm trying to add Shareware to my application. I want to allow the user to try the program 5 times. I'm having trouble with the very first time the program is run.
For instance I write to the registry via SaveSetting() and set my variable to 1. Then every other time the program is run the variable = the variable + 1, until the variable = 5.
The problem is this, how do I stop the program from initializing the variable to 1 every other time the program is run.
Any and All input you can offer on this matter is greatly appreciated.
Thanks.