473,750 Members | 2,186 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a Trial Period

Good evening all,

I have written a single file program in Microsoft Visual Basic 2008
Express Edition that I need to build with a Trial Period.

I have built in a simple check the date procedure; but anyone can get
around that. Does anyone know how I can write back to the program file
so that the software self destructs or becomes unusable after a
particular date is reached even if the person sets the date back a month
or two? I thought about creating a second file that stores the date but
then if they delete that it will just think it is a new computer it has
never been used on before.

Any help you may be able to provide would be greatly appreciated.

Yours sincerely,

William Foster

*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #1
6 3365
Hello William,
I have written a single file program in Microsoft Visual Basic 2008
Express Edition that I need to build with a Trial Period.

I have built in a simple check the date procedure; but anyone can get
around that. Does anyone know how I can write back to the program
file so that the software self destructs or becomes unusable after a
particular date is reached even if the person sets the date back a
month or two? I thought about creating a second file that stores the
date but then if they delete that it will just think it is a new
computer it has never been used on before.
Almost anything we suggest here can be worked around

Data stored in the registry can be discovered
Writing back to the exe or dll could be reversed by downloading the exe/dll
again
Checking Date online could be intercepted and faked.

But all are valid techniques in their way. (Not sure if you can write to
the exe though)

--
Rory
Jun 27 '08 #2
On Jun 5, 6:19 am, William Foster <nos...@devdex. comwrote:
Good evening all,

I have written a single file program in Microsoft Visual Basic 2008
Express Edition that I need to build with a Trial Period.

I have built in a simple check the date procedure; but anyone can get
around that. Does anyone know how I can write back to the program file
so that the software self destructs or becomes unusable after a
particular date is reached even if the person sets the date back a month
or two? I thought about creating a second file that stores the date but
then if they delete that it will just think it is a new computer it has
never been used on before.

Any help you may be able to provide would be greatly appreciated.

Yours sincerely,

William Foster

*** Sent via Developersdexht tp://www.developersd ex.com***
It should also be mentioned that whatever steps you take to implement
this trial period can be easily found out by using a program like
Reflector. With that said, you should either use an obfuscation
program to make the source harder to read, or write that part of the
code with a language that cannot be easily disassembled such as C++ or
even VB Classic.

Some questions you really need to ask yourself are:

How important is what you are trying to protect?
How much are you willing to pay (in time, money and effort) to
implement this behavior?
What are the chances people are going to try and bypass your
implementations ?

Those all come down to this last one, which is normally the decision
maker:

Is the cost (in time, money and effort) going to be more than the
potential lose in income from people bypassing the trial period?

One other option is to offer two versions of your application, one for
trial and one for retail. In the trial version leave out functionality
that would make upgrading worthwhile, or add in features that are
removed in the retail version (advertisements , watermarks on printed
documents, a splash screen that lists the upgrade benefits, etc). I
realize that these (especially the former) might not be possible to
implement in all applications, but when you can I believe the return
on investment is much greater than trying to implement the trial
period functionality.

Thanks,

Seth Rowe [MVP]
Jun 27 '08 #3
This brings up a whole different question: How does somebody create software
activation? I am mainly thinking the way that Microsoft does with programs
like Office 2007. Once the retail version of the program is created, the
developer needs some form of piracy protection...
"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:0c******** *************** ***********@x35 g2000hsb.google groups.com...
On Jun 5, 6:19 am, William Foster <nos...@devdex. comwrote:
>Good evening all,

I have written a single file program in Microsoft Visual Basic 2008
Express Edition that I need to build with a Trial Period.

I have built in a simple check the date procedure; but anyone can get
around that. Does anyone know how I can write back to the program file
so that the software self destructs or becomes unusable after a
particular date is reached even if the person sets the date back a month
or two? I thought about creating a second file that stores the date but
then if they delete that it will just think it is a new computer it has
never been used on before.

Any help you may be able to provide would be greatly appreciated.

Yours sincerely,

William Foster

*** Sent via Developersdexht tp://www.developersd ex.com***

It should also be mentioned that whatever steps you take to implement
this trial period can be easily found out by using a program like
Reflector. With that said, you should either use an obfuscation
program to make the source harder to read, or write that part of the
code with a language that cannot be easily disassembled such as C++ or
even VB Classic.

Some questions you really need to ask yourself are:

How important is what you are trying to protect?
How much are you willing to pay (in time, money and effort) to
implement this behavior?
What are the chances people are going to try and bypass your
implementations ?

Those all come down to this last one, which is normally the decision
maker:

Is the cost (in time, money and effort) going to be more than the
potential lose in income from people bypassing the trial period?

One other option is to offer two versions of your application, one for
trial and one for retail. In the trial version leave out functionality
that would make upgrading worthwhile, or add in features that are
removed in the retail version (advertisements , watermarks on printed
documents, a splash screen that lists the upgrade benefits, etc). I
realize that these (especially the former) might not be possible to
implement in all applications, but when you can I believe the return
on investment is much greater than trying to implement the trial
period functionality.

Thanks,

Seth Rowe [MVP]

Jun 27 '08 #4
Hell Andy,

As you might know, Microsoft products are very popular - also among
software pirates. And it is that no lock is 100% safe.
That said maybe you should consider...
1. Each protection can be cracked
2. A very good protection is difficult - read expensive
3. Will a good protection be in a good ratio to the price of your product?

Best regards,

Martin

P.S. I live in Hong Kong - a place where you can buy Microsoft (Vista,
Office 2007 etc.) pirate copies in shops...
On 05.06.2008 20:35, schrieb Andy B:
This brings up a whole different question: How does somebody create software
activation? I am mainly thinking the way that Microsoft does with programs
like Office 2007. Once the retail version of the program is created, the
developer needs some form of piracy protection...
"rowe_newsgroup s"<ro********@y ahoo.com wrote in message
news:0c******** *************** ***********@x35 g2000hsb.google groups.com...
>On Jun 5, 6:19 am, William Foster<nos...@d evdex.com wrote:
>>Good evening all,

I have written a single file program in Microsoft Visual Basic 2008
Express Edition that I need to build with a Trial Period.

I have built in a simple check the date procedure; but anyone can get
around that. Does anyone know how I can write back to the program file
so that the software self destructs or becomes unusable after a
particular date is reached even if the person sets the date back a month
or two? I thought about creating a second file that stores the date but
then if they delete that it will just think it is a new computer it has
never been used on before.

Any help you may be able to provide would be greatly appreciated.

Yours sincerely,

William Foster

*** Sent via Developersdexht tp://www.developersd ex.com***
It should also be mentioned that whatever steps you take to implement
this trial period can be easily found out by using a program like
Reflector. With that said, you should either use an obfuscation
program to make the source harder to read, or write that part of the
code with a language that cannot be easily disassembled such as C++ or
even VB Classic.

Some questions you really need to ask yourself are:

How important is what you are trying to protect?
How much are you willing to pay (in time, money and effort) to
implement this behavior?
What are the chances people are going to try and bypass your
implementation s?

Those all come down to this last one, which is normally the decision
maker:

Is the cost (in time, money and effort) going to be more than the
potential lose in income from people bypassing the trial period?

One other option is to offer two versions of your application, one for
trial and one for retail. In the trial version leave out functionality
that would make upgrading worthwhile, or add in features that are
removed in the retail version (advertisements , watermarks on printed
documents, a splash screen that lists the upgrade benefits, etc). I
realize that these (especially the former) might not be possible to
implement in all applications, but when you can I believe the return
on investment is much greater than trying to implement the trial
period functionality.

Thanks,

Seth Rowe [MVP]

Jun 27 '08 #5
On Jun 4, 10:19*pm, William Foster <nos...@devdex. comwrote:
Good evening all,

I have written a single file program in Microsoft Visual Basic 2008
Express Edition that I need to build with a Trial Period.

I have built in a simple check the date procedure; but anyone can get
around that. *Does anyone know how I can write back to the program file
so that the software self destructs or becomes unusable after a
particular date is reached even if the person sets the date back a month
or two? I thought about creating a second file that stores the date but
then if they delete that it will just think it is a new computer it has
never been used on before.

Any help you may be able to provide would be greatly appreciated.

Yours sincerely,

William Foster

*** Sent via Developersdexht tp://www.developersd ex.com***
Another solution is Protection PLUS (http://www.softwarekey.com/
swk_products/plus/) is easy to implement in your application, has many
features but it's a little bit expensive.
Jun 27 '08 #6
Good afternoon all,

Thank you all for your feedback; I hadn't really ever thought of the
registry write that was suggested; I think this will probably be the
easiest and most troublesome to users who aren't that interested or
savvy in breaking the rules.

I take on board the feedback that nothing is 100% safe, especially given
the feedback from Hong Kong [That is quite amazing].

As highlighted, it is not something I am interested in spending too much
time or money on, so I will just work on a risk minimisation option
which the registry allows for.

Yours sincerely,

William Foster

*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #7

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

Similar topics

1
362
by: Ant | last post by:
I installed the software and activated the 60 day free trail period for Visual Studio .NET yesterday. After completing the registration process for the product, yesterday, I received a popup message that said that I have 18 days remaining on the 60 day free trial period. Time flys but is there any way I can get the full 60 days?
1
1696
by: Stef Roes | last post by:
Hey, I'm a student from Belgium, and on my stage we have to work with SQL Reporting Services. One of the requirements is Visual Studio .net. So we ordered the trail version a week ago and installed it on our computers (2). Then we found out that Reporting Services didn't work on our OS. So we installed it on a Windows 2003 server. One day later the guys from the IT called our server back because they gave us the wrong laptop, the one we...
19
10294
by: Ken | last post by:
Hi, I need to modify an existing application that's written in C, C++ and Visual C++ so the application can be released as a time limited trial version, also the modifications must prevent the application from being reinstalled on the same computer after the trial period has timed out. Does anyone know of any C/C++ code that I could use directly or modified to do this?
15
3351
by: Rodrigo Ferreira | last post by:
How can i create a trial version for my component? I develop a User control and now i want to create a trial version! Greeting! Rodrigo Ferreira
3
1411
by: Showjumper | last post by:
How does one go about making a custom server control have a trial period after which it expires? I have aserver control that i want sell but would like to have a trial periods for it. Along the same lines, how can i create a licensing scheme, i.e site license so that the control can be used on just one and developer license so it can be used on many sites? I see many commercial controls doing this; i just dont know how to go about it....
0
1103
by: Nima | last post by:
Any idea? I'd like to know what software or library you use in order to do so. Many thanks.
5
3045
by: TheNortonZ | last post by:
Are there any preferred methods on : 1. asking a user to register your app 2. giving them the ability to register online and creating a serial number 2. stop the apps usage after a set period of time if they don't register. There used to be an application TrueLockXP that you could add to your application but that application is not longer supported. Does anyone know any other app that can do this or have any guidelines for how to...
1
2470
by: TedCarron | last post by:
I am coming to the point where I am thinking about putting my software on download sites in an attempt to sell it via the familiar 30 day free trial period method. I guess this involves storing the installation date on the target machine either in the registry or in a small file somewhere. I wondered if anyone out there has any experiences they would like to share on this subject or any suggestions or comments they think I would find...
6
2079
by: julietbrown | last post by:
I hope this is an OK Q for this site? I'm 2/3 of the way through my 60 day trial of Office Pro 2007. I do want to get a full licence, BUT I'd much rather buy it on memory sticks or CDs and install it myself, and not only because it's slightly cheaper from PC World. If I don't upgrade from the trial via MS website, does anyone know what will happen at the end of the trial period? Will some "Wizard" step in and sort out getting my trial...
0
9575
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9394
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6803
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3322
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2223
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.