|
-
Sep 1st, 2005, 10:44 AM
#1
Fanatic Member
Re: tell how many times app is run
You'd probably have to store that information outside of your program in a text file or better the registry.
Using VB6 or VB.net 2008 with .net 3.5
"Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad
-
Sep 1st, 2005, 10:46 AM
#2
Thread Starter
Fanatic Member
Re: tell how many times app is run
that's what i was also thinking but i was hopping there was another way thanks anyway
-
Sep 1st, 2005, 10:47 AM
#3
Re: tell how many times app is run
 Originally Posted by space_monkey
You'd probably have to store that information outside of your program in a text file or better the registry.
A text file would be too easy to delete or modify, so I'd go with the registry.
Of course, each time your program ran, it would have to read this information and make a determination on whether it should continue. This would require that you have some limit hardcoded into your FormLoad event with which it can make a comparison.
-
Sep 1st, 2005, 11:55 AM
#4
Thread Starter
Fanatic Member
Re: tell how many times app is run
thanks for the input guys. [LGS]Static, the code worked perfect thank you
-
Sep 1st, 2005, 11:58 AM
#5
Re: tell how many times app is run
 Originally Posted by dark_shadow
thanks for the input guys. [LGS]Static, the code worked perfect thank you 
Is this for a demo of a program that you hope to market and sell?
If so, good luck!
-
Sep 1st, 2005, 12:15 PM
#6
Thread Starter
Fanatic Member
Re: tell how many times app is run
i dunno yet the thing is that when i give my freinds any little prog i make i tell then not 2 go and give it 2 people and what do they do ...they give it 2 people so its kinda a security that after so many times it will stop working and they will have 2 talk me about it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|