| View previous topic :: View next topic |
| Author |
Message |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Thu Oct 31, 2002 3:56 pm Post subject: limiting code - Working Examples requested... |
|
|
multi day limiting code - Working Examples requested...
Any and working examples greatly needed and appreciated!
Thanx, mike
=============Added thought below
I would like to give back something to the members...
I have not yet acquired experience to help others with vds.
Some day I hope to have.
Meanwhile, something that may be a value is GLPro.
The software company went out of business...but the prog and
compiler is awsome... you could implement GLPro
scripts with VDS. Just trying to be helpful.
A reg key can probably be purchase thru the GLPro mailing list.
I have seen keys purchased thru the list previously.
Hopefully this post is OK... if not, Please delete it!
http://mbinfo.digitalrice.com/authoring%20F-I.htm |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Oct 31, 2002 5:16 pm Post subject: |
|
|
Not an example, but here's some simple instructions if you
want to write your own:
You can get the program's install date as a floating point
number by using:
%%start = @name(@datetime())
The @name() function retrieves the whole number without
fractions. You must store this number in the registry (or a file)
where your program can retrieve it each time it runs.
You should then check the current date each time your program
runs by using the same method:
%%current = @name(@datetime())
Then subtract the start date from the current one:
%%days = @fsub(%%current, %%start)
This gives the days elapsed. If it's past your chosen time
limit, exit the program.
Here's some extra security measures:
1. You can encrypt or reverse the number(s) stored.
2. You can store the current date each time the progam runs,
and check that the computer's clock hasn't been set backward
from the last time your program ran (I'd allow an extra day to
cover normal clock changes such as daylight savings time etc.).
3. You can check that the computer's clock wasn't set for some
time in the future when your program was installed.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
|
| Back to top |
|
 |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Fri Nov 01, 2002 2:28 am Post subject: GLPro as compliment to vds |
|
|
GLPro as compliment to vds.
As most of you know, I am a newbie student
to programming. The GLPro software would be
a great compliment to most VDS programmers.
You guys are really good at what you do!
GLPro could be learned by most of you within 1 week!
VDS and GLPro goes hand in hand, I believe.
As follow up on my first message above, I was
curious as to availability of GLPro.
I sent a letter to GLPro Forum. Results below.
If anyone tries GLPro...post your thoughts here..
negative or positive.
| Quote: |
> TO: glpro members,
>
> Is there a place to download GLPro?
http://pallaspress.com/ftp/glpro8174.exe (4315213 bytes)
> Do you think prof. keys are avail?
Not for sale that I know of, though you can buy one second-hand.
> Is it OK to purchase someone's key?
Yes.
> Is GLPro being updated by anyone yet?
Not that I know of.
Dick Brandt
--------------------
dbrandt@pallaspress.com
http://pallaspress.com (GLPRO Foundations)
|
|
|
| Back to top |
|
 |
|