-
Does anyone know the best way to implement a time limit within a vb program. Essentialy I want to limit my program to a 14 day trial version. I have done this using the system clock, however they can bypass this by rolling their clock back.
Whats the best way to solve this. The only specifications I have about this is that I dont want to rely on getting the date from an external source.
Thanks in advance for any help.
-
-
Well, you'll just have to rely on external data, encoding all your time files within an external file you might want to consider placing in the /windows directory.
Else, you get much more complicated (it is feasible!), but here it goes:
You need to have a perfect knowldege of your compiled program (.exe, that is), and use the empty byte spaces (series of 00 00 00 00) at the end of the program itself, and use your program to go write to these bytes the time data and info you need.
You should consider 2 variables: the remaining time left (which should be re-written every day, so that if the clock is turned back you can immediately see it), and the date it was first installed.
Best regards,
W.