Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
A programe For making trial version or Demo versio...
Author:
Arun S Nair
E-mail:
Click to e-mail author
Submitted:
1/24/2001
Version:
VB5
Compatibility:
VB5, VB6
Category:
Miscellaneous
Views:
10822
A programe For making trial version or Demo version of a software.This Demo program can be used 100 times only.
Declarations:
'none
Code:
Make two text boxes in the from and name it as text1 & text2 text2 is hidden or its visibilty property is set to false code: 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
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement