5 Replies - 1869 Views - Last Post: 12 December 2012 - 12:07 PM Rate Topic: -----

#1 Doombreker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 07-July 12

Trial Period

Posted 05 December 2012 - 02:20 PM

Hello everyone,

I want to make some kind of "Trial period" in my program.
So as long as the trial is active, the My.Settings.Registred value must be "true", if the trial has expired it must be false.
The users would need to be able to activate the trial whenever they want by pressing an "Activate" button (let's call it btnActivate)
Now, I used this code: http://www.vbforums....iod-code-VB.NET but I have no idea how to change it to be able to do the stuff listed above. Can someone please help me? The main problem (not the only one) with this code is that it seems to count how many times the program ran. And if I would run it twice a day with a 14 day trial, I would only be able to use it 7 days... Or maybe I just don't understand the code (that's probably it :P)

This post has been edited by Doombreker: 05 December 2012 - 02:21 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Trial Period

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9573
  • View blog
  • Posts: 36,255
  • Joined: 12-June 08

Re: Trial Period

Posted 05 December 2012 - 02:22 PM

I am a bit confused - what do you want us to do? "make it work" for you? What have you been doing so far with that code to make it more aligned to your needs?
Was This Post Helpful? 0
  • +
  • -

#3 Doombreker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 07-July 12

Re: Trial Period

Posted 06 December 2012 - 03:22 AM

I've been messing arround with the code, but it seems to not work. So I was wondering if at least someone could explain how the code works so I can modify it. Or that someone could explain how I can modify it.
Was This Post Helpful? 0
  • +
  • -

#4 Doombreker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 07-July 12

Re: Trial Period

Posted 06 December 2012 - 04:18 AM

Nevermind, I made a working one myself, it's not safe at all, but it'll do.
Was This Post Helpful? 0
  • +
  • -

#5 Bort  Icon User is offline

  • Ill-informed Mongoloid
  • member icon

Reputation: 445
  • View blog
  • Posts: 3,084
  • Joined: 18-September 06

Re: Trial Period

Posted 06 December 2012 - 07:48 AM

This might help. It's a tutorial I put together a few years back about creating a trial period for your application.
Was This Post Helpful? 0
  • +
  • -

#6 Doombreker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 07-July 12

Re: Trial Period

Posted 12 December 2012 - 12:07 PM

View PostBort, on 06 December 2012 - 07:48 AM, said:

This might help. It's a tutorial I put together a few years back about creating a trial period for your application.

This was actually the first tutorial I saw, it pretty good but I think I might need to do some more research before fully understanding it and to be able to implement it in my application.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1