How do i make my program work for 5 times and then Expire and will never work again ? In which i'll have to rebuild a new one using VB so that it will work for another 5 times more.The approach i used is as follows.
I created a text file with the name zxs.txt and set it as a counter for the program:
[IMG]http://aycu02.webshots.com/image/50401/2003132311733705204_rs.jpg[/IMG]
[IMG]http://aycu02.webshots.com/image/49361/2003146129555759376_rs.jpg[/IMG]
[IMG]http://aycu16.webshots.com/image/48455/2003192850565848467_rs.jpg[/IMG]
[IMG]http://aycu31.webshots.com/image/49470/2003198145601460352_rs.jpg[/IMG]
[IMG]http://aycu38.webshots.com/image/48117/2003181538405605232_rs.jpg[/IMG]
[IMG]http://aycu17.webshots.com/image/50136/2003101883989991303_rs.jpg[/IMG]
So now to make the program open i'll have to open that text file and set the value to zero. Now what im after is:
I want the program to run for 5 times, when it expires i want to manually create the zxs.txt file run the program so that the number of trials is back to zero."Then i run the program so that it resets the trial from the text file".Then safely i can delete the text file , moreover i want to make this step as a secret. Now what happens when i run the program without that file is:
[IMG]http://aycu28.webshots.com/image/48667/2001406850393645200_rs.jpg[/IMG]
Instead i want the program to run and make the zxs.txt a secret way to reset the program. If anyone how any idea how to do so please come forward. Any other suggestions are welcomed.