RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 818 | Replies: 2
Reply
Join Date: Jul 2007
Posts: 1
Reputation: namjeon is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
namjeon namjeon is offline Offline
Newbie Poster

Question Help, How to write 30 days validation procedure?

  #1  
Jul 27th, 2007
I am trying to add 30 days (or 30 times) validation procedure in VB6 code to program, so that people can try it before they decide to buy. I am trying to make program not run 30 days after user install the program or 30 times after user run the program.
Can anyone help me?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2007
Location: Philippines
Posts: 255
Reputation: jireh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 28
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz in Training

Re: Help, How to write 30 days validation procedure?

  #2  
Jul 27th, 2007
Make a counter and save it in a database, every time the user open your project make to open the counter and increment it by then put a conditional statement after that counter, if the counter is equal or gretater than 30 then make your condition on what do you want it either you close your program or make an alert box that blah blah blah!, hope it gives you an idea, just try it first if you don't know how just give us a buzz!

regards!
Reply With Quote  
Join Date: Nov 2006
Posts: 750
Reputation: QVeen72 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 102
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Master Poster

Re: Help, How to write 30 days validation procedure?

  #3  
Jul 28th, 2007
hi,

Create a password Protected access database, Save Installation Date and End date.
In program Check for:
If System date> enddate or
systemdate> (installationdate)+30 then
Give message and end the program.

Here u have to be carefull, In case user changes the Systemdate and can continue using it.
It is always a Good Option to check for Number Of Tries.. Say for 1000, Keep a Counter , Increment everytime the user Logs In, if it crosses 1000 end the program with alert.

Regards'
Veena
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:28 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC