Wow... I wasn't planning doing that though - that is a very basic stuff.
Anyway, you can have something a s simple as these few lines:
Code:
'NOTE: place this code to your startup form or Sub Main instead if you use that
Private Sub Form_Load()
Dim iCounter As Integer
iCounter = CInt(GetSetting(App.EXEName, "trial", "count", 0))
iCounter = iCounter + 1
If iCounter < 16 Then
SaveSetting App.EXEName, "trial", "count", iCounter
Else
MsgBox "The trial period is expired." & _
vbNewLine & _
"If you wish to continue to use this software you must purchase it."
End
End If
End Sub