CodeItBetter Programming Another VB Programming Blog

How to Count how many times your program has been run.

Posted on August 28, 2011
1
2
3
4
5
6
'System & API - How to Count how many times your program has been run.
Private Sub Form1_Load()
    SaveSetting "Project1", "StartupForm", "TimesRun", GetSetting("Project1", "StartupForm", _
        "TimesRun", 0) + 1
    TimesRun = GetSetting("Project1", "StartupForm", "TimesRun")
End Sub
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.