timeout example
Previous  Top  Next

' This script will prevent an application from being used after the date March 20, 2007
' Note: This check is performed on the parent process startup as well as any child process startup

ExpirationDate = CDate("03-20-07")

if Date >= ExpirationDate then
msgbox "This application has expired, please contact Administrator"
ExitProcess 0
end if