Howdy,

I am working on some custom components that I would like to sell with a form of licensing,

Is there a way to make a component exit a application?


Meaning, if the license key is no good, i want it to pop up a msg box, then throw a quit.


I figure I can always run a 'Throw New Exception("Invalid Key")', but that won't cause the program to stop since it's behind the scenes.

I realize that if i add checks, then i can say 'If CodeIsInvalid then don't process the process'...

Any insight would be fantastic!