Hi List:
I would like to create a DEMO disc that expires after playing it for say 10 times
To do this, I believe, I have to use Registry. It seems to me that the following steps are required:
Step 1) Check if a registry variable has been written at the start of the first use. If yes go to Step 3.
Step 2) Write a registry variable with a numeric value of 10
Step 3) Read the current value of registry variable and decrement it by one (CAN THIS BE DONE ?). If the new value is < 0 jump to page that says that MENU has expired and to contact company.
Step 4) If the calculated value in Step 3 is >= 0, then write the new value back to registry and proceed with the normal flow of MENU.
I need the help with the specific actions to accomplish the above. I have searched the threads, and while some of the aspects of the above procedure have been mentioned, I could not find detailed enough explanation to help me with this project.
Thanks for assistance.
------------------
I would like to create a DEMO disc that expires after playing it for say 10 times
To do this, I believe, I have to use Registry. It seems to me that the following steps are required:
Step 1) Check if a registry variable has been written at the start of the first use. If yes go to Step 3.
Step 2) Write a registry variable with a numeric value of 10
Step 3) Read the current value of registry variable and decrement it by one (CAN THIS BE DONE ?). If the new value is < 0 jump to page that says that MENU has expired and to contact company.
Step 4) If the calculated value in Step 3 is >= 0, then write the new value back to registry and proceed with the normal flow of MENU.
I need the help with the specific actions to accomplish the above. I have searched the threads, and while some of the aspects of the above procedure have been mentioned, I could not find detailed enough explanation to help me with this project.
Thanks for assistance.
------------------
Comment