forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


limiting code - Working Examples requested...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Thu Oct 31, 2002 3:56 pm    Post subject: limiting code - Working Examples requested... Reply with quote

multi day limiting code - Working Examples requested...

Any and working examples greatly needed and appreciated!

Thanx, mike

=============Added thought below Idea

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. Exclamation

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
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Oct 31, 2002 5:16 pm    Post subject: Reply with quote

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 Smile

_________________
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
View user's profile Send private message Send e-mail
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Thu Oct 31, 2002 6:45 pm    Post subject: Reply with quote

There already has been a topic about that Smile
Check: http://www.vdsworld.com/forum/viewtopic.php?t=750

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Fri Nov 01, 2002 2:28 am    Post subject: GLPro as compliment to vds Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group