sorry about my lack of information...like im creating a program that i want
to run every startup...it just watches all processes and exits some that the
user specifies. i want it to be running the background from when the computer
boots up to when it shuts down without the user havignt o do anything. for
instance, i want it to startup like an anti-virus program would, directly on
the bootup
For this you will have to make an entry in the Windows Registry.
Your most likely entrypoint would be
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
That is not an option I would recommend, since it blatantly violates
the principle of Least Privilege. (You would need Admin access to write
to that key in the Registry)
(Though there are enough violators out there to make it acceptable in
most eyes !)
Sounds too much like a Windows Service. And Windows services can be set to
startup automatically after installation.
I suggest you do some research on development of Windows Services.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.