Hi guys..Good day..

I just want to ask on how to add a program security that when a desired date has passed, the system will no longer work anymore or they have to renew/buy the license again..
The following modules will be the flow.

if xpirydate > "02/25/2010" then
    if systemdate >"02/25/2010" then
         varsecurity=inactive
         msgbox "please purchase/renew your license"
    else
    end if
else
    varsecurity=active
end if

Thank you guys for giving time..

God bless us

Well you are going to have to come up with some scheme that can decode the "license key" to set your expiry date so you will not have to have your users instal a new program because of hardcoded values...

Good Luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.