Hi can anyone give me a tip. I want to ascertain if the program is run by user, or if it is instigated by Startup (or Run On Startup). The reason: if its run on startup then it does its job, and closes, otherwise it stays open for user input. Thanks, Alistair+