|
-
Nov 23rd, 2000, 06:07 AM
#1
Thread Starter
New Member
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.
-
Nov 23rd, 2000, 06:22 AM
#2
Addicted Member
-
Nov 23rd, 2000, 06:26 AM
#3
Fanatic Member
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.
When your car breaks down,
close all windows and retry 
=> please rate all users posts! <=
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|