CodeItBetter Programming Another VB Programming Blog

How to create a trial version for our project?

Posted on September 17, 2011
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'System & API - How to create a trial version for our project?
'A programe for making trial version or Demo version of a software. This Demo 
'program can be used 100 times only.

'Make two text boxes in the from and name it as
'        text1 & text2
'text2 is hidden or its visibilty property is set to false

Private Sub Form_Load()
    text2.Text = GetSetting("trial", "time", "used", "")
    text1.Text = text2.Text + 1
    SaveSetting "trial", "time", "used", text1.Text
    If text1.Text > 100 Then
        MsgBox ("Trial Complete")
        End
    End If
End Sub
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.