473,404 Members | 2,213 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,404 software developers and data experts.

How to Create Demo Version

Hiren Joshi
Hello All,

Can Anyone please tell me, in VB 6.0 with MS Access Database

1) Is it possible to create Perfect Demo Version of the Software which should stop working after specified days lets say 14 Days of the Installation Date.

Also after Expiry of Demo Period, it should give option to enter serial no. / Licence Key to carry on.

So once user enters Serial No. or Licence Key, It should work as a full version.

Is this Possible? if it is, can anyone suggest me with sample similiar project like this or sample code for this kind of Project?

Regards,

Hiren (Nairobi - Kenya)
Feb 12 '08 #1
11 3356
debasisdas
8,127 Expert 4TB
Yes that is possible.

You can write the installation date in the system registry at the time of installation and check the same on load of the application.
Feb 12 '08 #2
Hi Debasis,

Really Speaking I dont know how to write in the system registry from VB 6.0 and access data from Registry while loading the application.

Can you please let me know in Details for the same? How it is possible? I would Really Appreciate your help if you can guide me on this application.

Thank You,

Hiren
Feb 12 '08 #3
debasisdas
8,127 Expert 4TB
Try to use

SaveSetting()
GetSetting()


for the purpose.
Feb 12 '08 #4
jamesd0142
469 256MB
1. Get the system date + 14 days store in string(strvalue)
2. use set as advised above [SaveSetting("test", "test", "test", strvalue)]

then on form load
1. get dystem date - strval3
2. get value from registry [strval2 = GetSetting("test", "test", "test", "empty")]
3.if strval2 <> "empty" check strval2 is > than strvalue3. [using datdiff()]

im sure that would work.

cheers debasisdas i was also unaware these functions existed!

Thanks James
Feb 12 '08 #5
Killer42
8,435 Expert 8TB
I'd like to make a suggestion.

Rather than ceasing to work after the set period, why not just introduce a delay at startup (what we used to call a "shareware delay")? The delay should get longer each day, so that it becomes more and more annoying. That way, you encourage people to buy the software, without being quite so intrusive.
Feb 12 '08 #6
9815402440
180 100+
hi
another way is counter. initialize the counter to suppose 30. decrease the counter each time your software is started. and display the number of tials remaining.

demo version should depend upon the type of software. if your software is handling data where date is an important field. then you can think about using date as demo criteria. criteria should not check system date. it should check the date used by the user in the software itself. e.g. while printing invoice user need to invoice date each day. your program should check invoice date.

if date is not primary factor then think about using counters.

regards
manpreet singh dhillon hoshiarpur
Feb 13 '08 #7
debasisdas
8,127 Expert 4TB
I'd like to make a suggestion.

Rather than ceasing to work after the set period, why not just introduce a delay at startup (what we used to call a "shareware delay")? The delay should get longer each day, so that it becomes more and more annoying. That way, you encourage people to buy the software, without being quite so intrusive.
Yes that is a better option.

If you are creating something like a reporting tool and you want to give a demo version can play with recordset a bit .
Feb 13 '08 #8
jamesd0142
469 256MB
Hi,

I created this to go on form load event...
Expand|Select|Wrap|Line Numbers
  1.  Dim get1 As String
  2.         Dim trial As String
  3.         trial = GetSetting("delay", "delay", "delay", "empty")
  4.         If trial = "empty" Then
  5.             SaveSetting("delay", "delay", "delay", "10")
  6.         Else
  7.             get1 = GetSetting("delay", "delay", "delay", "empty")
  8.             Dim resave As String = CInt(get1) + 10
  9.             DeleteSetting("delay", "delay", "delay")
  10.             SaveSetting("delay", "delay", "delay", resave)
  11.  
  12.             'create delay (get1)
  13.             Dim get2 As Integer = CInt(get1) * 1000
  14.             Sleep(get2)
  15.         End If
  16.  
It stores a value in the registry (savesetting() thats what is does right?) and loads it every time the form loads, then delays the load by x amount of seconds. and rewrites a new value to the location, to increase the time taken to load next time.

Would it be a good idea to use this or are there possible problems i have not noticed?

Note: imports "system.threading.thread"
James
Feb 14 '08 #9
Ali Rizwan
925 512MB
I want to suggest that not only set a period but after every time show a display for asking a serial.

And also lock some features till it is not purchased.

And at last i thank to this post which solves my problem also.


Thanx
>> ALI <<
Feb 14 '08 #10
Killer42
8,435 Expert 8TB
I want to suggest that not only set a period but after every time show a display for asking a serial.
Ah, the old "nag screen". Haven't we all hated those... :)
Feb 14 '08 #11
bany
4
Hi Man!
It is very easy to do it.
1-In the first form opening create a text box name it [Date]
In the control source put =date()
2-place this code on open(procedure)

If (Eval("[Forms]![tables]![Date] Between #Feb/21/2009# And #1/1/3000#")) Then
Beep
MsgBox "This Is A Demo For 7 Days ,Your System Will Be Down At 28-Feb-08.", vbOKOnly, "Attention!"
End If
If (Eval("[Forms]![tables]![Date] Between #Feb/28/2009# And #1/1/3000#")) Then
DoCmd.Quit acSave
End If
Feb 14 '08 #12

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

Similar topics

1
by: Diez B. Roggisch | last post by:
Hi, I've got to create some spark-based parsers during runtime. For people not familiar with spark, a parser looks like this: class MixFixParser(spark.GenericParser): def __init__(self,...
1
by: Ken Dere | last post by:
I am running Suse 9.0 with python 2.3-52 and python-wxGTK 2.4.1.2-43. Everything has been installed from the CD distribution and should work together. when trying to run the demo, I get: ...
1
by: Prashanth Uppunda | last post by:
Hello, Does anybody have an idea on how to instantiate a DCOM server residing in another machine using C#? Thanks Prashanth
2
by: Krustov | last post by:
The question of how to create thumbnails with clickable links gets asked on this newsgroup every so often - like clock work . Just really posing this script here for google to archive it & so...
20
by: Highlander | last post by:
Hello all. Consider the following HTA: <html> <head> <title>Date Pulldowns</title> <HTA:APPLICATION ID="HTAUI" APPLICATIONNAME="Date Pulldowns" SCROLL="no" SINGLEINSTANCE="yes"
3
by: | last post by:
Can someone point me to some good information on creating a time-bombed version of my app for release as a demo? I know there has to be more to it than just storing the install date somewhere (i.e....
5
by: Andrew P | last post by:
Hello, I am new (very) to Python and have just down loaded the latest version of Python (2.5) and WXPython (2.8). For some reason I cannot get the WXPython demo to run at all. I run windows...
1
by: Nimesh dadhaniya | last post by:
Hi All, I am trying to learn EJB's on my own. I installed the WebLogic Server Trial version and then wrote the Home Interface, Component Interface and the Bean Class. Now I started the WebLogic...
0
by: Dale | last post by:
Access 2000 I have a check scanner from Magtek, (MicrImage) This is like a "point of sale" check scanner/credit card reader. Magtek furnished 2 ocx's (MTMicrImage.ocx & SaxComm8.ocx). They also...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.