The simplistic way is to set the install date in the registry, using Savesetting. On each run compare today's date with the registry date (from GetSetting). Use DateDiff to see if 30 days is up.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
Unless this is merely an application for your own machine, you really do need to think about the packaging and deployment wizard. VB does not produce exes that the processor can simply run as is, but rather ones that reply on a number of specific dlls that are not forced to be on the machine - often called the runtime libraries...
Which function do you require help on - the SaveSetting or DateDiff? If both, perhaps you have bitten off more than you can chew for a first project...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.