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) 11 3356
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.
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
Try to use SaveSetting()
GetSetting()
for the purpose.
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
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.
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
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 .
Hi,
I created this to go on form load event... -
Dim get1 As String
-
Dim trial As String
-
trial = GetSetting("delay", "delay", "delay", "empty")
-
If trial = "empty" Then
-
SaveSetting("delay", "delay", "delay", "10")
-
Else
-
get1 = GetSetting("delay", "delay", "delay", "empty")
-
Dim resave As String = CInt(get1) + 10
-
DeleteSetting("delay", "delay", "delay")
-
SaveSetting("delay", "delay", "delay", resave)
-
-
'create delay (get1)
-
Dim get2 As Integer = CInt(get1) * 1000
-
Sleep(get2)
-
End If
-
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
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 <<
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... :)
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
Sign in to post your reply or Sign up for a free account.
Similar topics
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,...
|
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:
...
|
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
|
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...
|
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"
|
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....
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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...
|
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...
|
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...
|
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,...
|
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...
|
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,...
|
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...
| |