Click to See Complete Forum and Search --> : How to check if my program was run by system startup


aewarnick
April 23rd, 2005, 08:55 AM
I need to be able to check if the user ran my program or if it was run by system startup. How to I tell the difference?

Paul Rice
April 23rd, 2005, 10:21 AM
I need to be able to check if the user ran my program or if it was run by system startup. How to I tell the difference?

Maybe you could put a switch in the shortcut for system startup. Something like
"C:\WINDOWS\Start Menu\Programs\startup\myprog.exe s".

aewarnick
April 23rd, 2005, 12:04 PM
That should do it, thanks!