473,320 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to implement an n-day time bomb?

I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?

--
Please remove all UPPERCASE letters in the reply email address!
Nov 20 '05 #1
7 2058
I have not need to expire an application, but you might record the date each time the application is started and disable the application if the current date is before the last time your application ran.

Also, if your application will run on a machine that guarantees an Internet connection, you might communicate out to a time server and use that time rather then the system time.
"James P. Clark" <ja*************@SPAMadelphia.net> wrote in message news:eQ**************@TK2MSFTNGP10.phx.gbl...
I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?

--
Please remove all UPPERCASE letters in the reply email address!
Nov 20 '05 #2
Cor
Hi James,

You can set at the start a start date in the register, with an encoded signature of the datetime it is created.

You can do more, but in my opinion is that not allowed use of the computer of your future client. Especialy those shareware program which do not uninstall this information when uninstalling.

So when the user uninstall this completly he can start again of course (the same when he start with a new computer).

Co
Nov 20 '05 #3
Write a registry entry on the first run, and then if the days between now and then exceeds 30, END

-
Best Regards - OHM
one.handed.man{at}BTInternet{dot}com

"James P. Clark" <ja*************@SPAMadelphia.net> wrote in message news:eQ**************@TK2MSFTNGP10.phx.gbl...
I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?

--
Please remove all UPPERCASE letters in the reply email address!
Nov 20 '05 #4
what is encoded signature?
how to do it?
"James P. Clark" <ja*************@SPAMadelphia.net> wrote in message news:eQ**************@TK2MSFTNGP10.phx.gbl...
I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?

--
Please remove all UPPERCASE letters in the reply email address!
Nov 20 '05 #5
You can save the counter in the registry, and set permission to this key with the correct registration number

--
Rami Saad
Microsoft GTSC Developer support for Middle East
"James P. Clark" <ja*************@SPAMadelphia.net> wrote in message news:eQ**************@TK2MSFTNGP10.phx.gbl...
I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?

--
Please remove all UPPERCASE letters in the reply email address!
Nov 20 '05 #6
* "James P. Clark" <ja*************@SPAMadelphia.net> scripsit:
I'd like to provide my client an application which will stop working after*a certain number of days have passed
since the first invocation (trial software). Any ideas on how to*make this work*even if the user changes the
system date?


<http://msdn.microsoft.com/library/en-us/cpguide/html/cpconlicensingcomponentscontrols.asp>
<http://windowsforms.net/articles/Licensing.aspx>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
You can try DemoWare...goto following link

http://www.sehman.com/demoware.html

"James P. Clark" <ja*************@SPAMadelphia.net> wrote in message news:<eQ**************@TK2MSFTNGP10.phx.gbl>...
I'd like to provide my client an application which will stop working
after a certain number of days have passed since the first invocation
(trial software). Any ideas on how to make this work even if the user
changes the system date?

Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Charles Law | last post by:
This is going to seem like a basic OO question, but it comes up and bites me every now and again. Suppose we have a multi-tiered protocol to implement, what is the logical, OO way to design the...
2
by: Billy Porter | last post by:
Greetings, I got a class that wraps the System.Data.SqlClient.SqlConnection class (no COM interaction). I'm not sure if I'm supposed to implement the IDisposable pattern for this wrapper or not....
4
by: Sanjay Vyas | last post by:
Sorry, forgot to cross post this one.. This is rather unusual as we would expect any Collection class to implement ICollection interface and furthermore a Dictionary class should implement...
13
by: Sherif ElMetainy | last post by:
Hello I was just got VS 2005 preview, and was trying generics. I tried the following code int intArray = new int; IList<int> intList = (IList<int>) intArray; it didn't compile, also the...
5
by: Stacey Levine | last post by:
I have a webservice that I wanted to return an ArrayList..Well the service compiles and runs when I have the output defined as ArrayList, but the WSDL defines the output as an Object so I was...
1
by: Paul | last post by:
Hi all, I'm trying to implement IList and keep getting an error when trying to implement GetEnumerator(). My class has a List<String> and I've been using its methods as return types for IList,...
1
by: theburnetts | last post by:
I have a complex class heirarchy where all of my classes inherit from a single base class (BaseObject) and this BaseObject class inherits from XPBaseObject. XPBaseObject is a 3rd party base class...
2
by: preport | last post by:
Hopefully someone can clarify some of this for me. I am confused on what classes I should implement if I want to utilize the List<>.BinarySearch() and Sort() My class currently looks like: ...
7
by: moondaddy | last post by:
If I'm in a class that inherits an interface, is there a shortcut key that will write the implementation of the interface into the class? I remember seeing something like this in vb.net. ...
5
by: Tony Johansson | last post by:
Hello! Assume you have the following interface and classes shown below. It is said that a class must implement all the methods in the interface it inherits. Below we have class MyDerivedClass...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.