I know you can make a program start up when the computer starts by put a shortcut to it in the start up folder, but is there another way to do it programatically? I am writing a prog that will prevent certain progs from opening by checking the window class and name and comparing it to a list of things that are allowed. The problem is that I need it to run on start up. By putting it in the start up folder anyone can just remove it from the folder and restart the computer.
Posted on 2001-09-20 06:40:59 by brewmanchu
Give your EXE a registry key in:

Or if you're runnig a network and just wants it to run for the current user:


It's not safe though. Anyone can remove it from there too (except if you're runnig a network)

You can also modify win.ini under and add load="c:\MyApp.exe"

Posted on 2001-09-20 07:40:37 by Delight
If you want something that is "safe", you'll end up writing a VXD
(or for nt/2k a KMD).
Posted on 2001-09-20 08:52:43 by f0dder
Thanks! I was hoping for an easier way than a VXD (it is just my computer I want to protect by letting them ONLY run Excel )but looks like I'll have to walk that path.
Posted on 2001-09-21 21:27:37 by brewmanchu