473,399 Members | 4,192 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,399 software developers and data experts.

How to create a trial version

21
Hi all,

I have developed one application using visual basic. I want that application should work only for few days after installation.

could anyone help me.........

thanx in advance
Aug 22 '07 #1
12 4044
Robbie
180 100+
Hi.
Take a look at this:
http://www.sharewareplaza.com/Softwa...oad_30686.html

It's freeware ;)

I tried it a long time ago, and it made my program not be able to run properly, but that wasn't made with VB6 and it was a DirectX program, which I think was the problem.
I recommend you give it a shot though, it's easy to use (and of course, free~~ =D)

EDIT: You could always code in your program to write something into the registry information on the first time which it is run, so it can check if the number of days it should be able to run within have passed yet, but I don't recommend doing that simply because I hate programs which do that, because such programs often never remove their keys from the registry, slowing the computer down over time.

EDIT 2: Even though that's what that Trial Creator program does. X_X
Aug 22 '07 #2
Ali Rizwan
925 512MB
Hi all,

I have developed one application using visual basic. I want that application should work only for few days after installation.

could anyone help me.........

thanx in advance

Use timer and fso for this purpose
every day when the date changed 1 is minused from 3 and when the number reaches on 0 then programe does not execute. try this
Aug 25 '07 #3
Killer42
8,435 Expert 8TB
Use timer and fso for this purpose
every day when the date changed 1 is minused from 3 and when the number reaches on 0 then programe does not execute. try this
But try not to make the operation too obvious, or people will just circumvent it.
Aug 25 '07 #4
Ali Rizwan
925 512MB
Killer you have a good point, i have another idea you can use text box and time too for this purpose. Set textbox to show date. when the day part of date is less than 3 from the starting date then programe does not execute.
Aug 25 '07 #5
Killer42
8,435 Expert 8TB
Killer you have a good point, i have another idea you can use text box and time too for this purpose. Set textbox to show date. when the day part of date is less than 3 from the starting date then programe does not execute.
You'd have to check the whole date, not just the day. What if it was installed on the last day of the month?
Aug 26 '07 #6
Ali Rizwan
925 512MB
You'd have to check the whole date, not just the day. What if it was installed on the last day of the month?
You are right and i m confused about this thing.

But not a lot i have a bunch of ideas. As i say use fso and timer . If we use only textbox and fso. And set text property of textbox with 3 and save it to an file with format .jpg then no can assume that the .jpg file is a textfile having the trial period. And when the progrmae execut second the .jpg updated with 2 and so on and when the .jpg file reaches to 0 then a msgbox appears with "Validation or Registration"
Infact i m using this trick with my interactive software in which i save image files with txt extention and text files with .jpg extention and now no one can access my text and image files.

I hope this will help a lot.
Aug 27 '07 #7
Ali Rizwan
925 512MB
You'd have to check the whole date, not just the day. What if it was installed on the last day of the month?
You are right and i m confused about this thing.

But not a lot i have a bunch of ideas. As i say use fso and timer . If we use only textbox and fso. And set text property of textbox with 3 and save it to an file with format .jpg then no can assume that the .jpg file is a textfile having the trial period. And when the progrmae execut second the .jpg updated with 2 and so on and when the .jpg file reaches to 0 then a msgbox appears with "Validation or Registration"
Infact i m using this trick with my interactive software in which i save image files with txt extention and text files with .jpg extention and now no one can access my text and image files.

I hope this will help a lot.

and it is not neccessary that the person using the software know about programming tricks.

And i have an inforation for you that when we install office 2007 a file is created in programefiles\Common\Office12\ in which the information about the serial key and validation and i do a thing i just modify a line and when i execute the office there no message of trial period and i do this thing with Virtual DJ. And both of things are doing well.
Ok bye
Aug 27 '07 #8
JamieHowarth0
533 Expert 512MB
You are right and i m confused about this thing.

But not a lot i have a bunch of ideas. As i say use fso and timer . If we use only textbox and fso. And set text property of textbox with 3 and save it to an file with format .jpg then no can assume that the .jpg file is a textfile having the trial period. And when the progrmae execut second the .jpg updated with 2 and so on and when the .jpg file reaches to 0 then a msgbox appears with "Validation or Registration"
Infact i m using this trick with my interactive software in which i save image files with txt extention and text files with .jpg extention and now no one can access my text and image files.

I hope this will help a lot.

and it is not neccessary that the person using the software know about programming tricks.

And i have an inforation for you that when we install office 2007 a file is created in programefiles\Common\Office12\ in which the information about the serial key and validation and i do a thing i just modify a line and when i execute the office there no message of trial period and i do this thing with Virtual DJ. And both of things are doing well.
Ok bye
The SoftwareKey freeware stuff is pretty impressive-looking, nice link there.
Personally, I would say use a reg key combined with a .ini reversible-encryption file as most *cough* numskulls *cough* desktop users don't play with the registry, or do at their peril.
Plus, by reverse-encrypting a .ini with an encryption key that you program in to VB, it makes it difficult to reverse-engineer and therefore break.
In the .ini you could specify the reg key where you store the date and time of installation. And hey presto, one (fairly) secure trial version.

All the best,

medicineworker

EDIT: Someone could break a JPEG hiding the date/time info using a hex editor fairly easily. Encryption takes longer and more balls to crack the key.
Aug 27 '07 #9
The SoftwareKey freeware stuff is pretty impressive-looking, nice link there.
Personally, I would say use a reg key combined with a .ini reversible-encryption file as most *cough* numskulls *cough* desktop users don't play with the registry, or do at their peril.
Plus, by reverse-encrypting a .ini with an encryption key that you program in to VB, it makes it difficult to reverse-engineer and therefore break.
In the .ini you could specify the reg key where you store the date and time of installation. And hey presto, one (fairly) secure trial version.

All the best,

medicineworker

EDIT: Someone could break a JPEG hiding the date/time info using a hex editor fairly easily. Encryption takes longer and more balls to crack the key.
Add a connection to a database that puts your ip into a lets say add a 7 day trial, and disables your version after those 7 days. Ofcourse changing your ip would help to get around this. But not everyone thinks about something like this.
Aug 27 '07 #10
QVeen72
1,445 Expert 1GB
Hi,

I always Prefer Checking For both Date Of Instl and Number of Logins, For 10 Days, Check For 50 or 80. Every time user logs in Increase this integer field in a databse by 1, and once it reaches 50, End.. Come out...

REgards
Veena
Aug 27 '07 #11
kadghar
1,295 Expert 1GB
If you want to check it by date, I recommend you register the date and time of each login, so if the user logged in the 5th time before he logged in the 3rd, you know he has changed the system date, this can cause the trial version to end, or the PC to expode KABOOOM!!!

jajajajajaja, that'll be nice..
Aug 27 '07 #12
Killer42
8,435 Expert 8TB
...register the date and time ... logged in the 5th time before he logged in the 3rd...
Yes, some software makes it too easy to get around that sort of limitation.
Aug 28 '07 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Greg Steele | last post by:
Does anyone have a copy or know where I can get an installation executable for chiliReports 2.0 from chili! soft? The company I'm working for bought a copy several years ago, then moved their...
1
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...
6
by: Fred BROUARD - SQLpro | last post by:
Hi there, I have get a book wich have a free trial version of IBM DB2 (7.2) wich I have installed on my PC. The problem is that I cannot run it, because it seems to have no licence. When I...
2
by: Jerry Arzin | last post by:
I was looking for a trial Access2002 version for my XP so that I can finish some of the excel tutorials that were downloaded from microsoft.com. Can anybody please give me a website that I can...
24
by: flkeyman | last post by:
Work in legal office. Trying to create solid designed database structure. This is list of tables w/fields and primary keys. Any comments/advice greatly appreciated. tbl-Defendants CaseNumber...
3
by: Michael Rodriguez | last post by:
I see VS 2005 has finally been released. My only question is, why is it a "Trial Edition"??? TIA, Mike Rodriguez
3
by: JM | last post by:
Is there a trial version available for download on the net anywhere? I see on the MS web site that I can get a trial version of VStudio.Net but I am really just interested in VB on it's own. ...
4
by: sqlster | last post by:
I want to get trial version of vs2005 so that I could try out asp.net 2.0 applications. Could some one please post the url for the online download. I have downloaded sql server 2005 trial...
3
by: =?Utf-8?B?aGlsbHdhbXA=?= | last post by:
Yes, I was stupid not to put files on disk, and or realize that my version was a trial. Somehow I didn't read the fine print. I saved many files on my trial version of Microsoft Work Word...
6
by: William Foster | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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,...
0
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...

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.