No, just put it in your main form_activate section, and it will fire when the program opens. If the file is found, all is good. If the file isn't found, then have it check the registry settings to see if it been executed 40 times. If not, add one, and let them use it again. If it has, show a message, and unload the form, which will end the app.