Re: How to tell is program is started by click on execute or Windows startup by Norm
Norm
Mon Aug 07 16:38:28 CDT 2006
Thanks Chris, I had not even thought of that, I can add a command line to
the shortcut in the windows startup and then check to see if it is true.
Norm
"Chris Dunaway" <dunawayc@gmail.com> wrote in message
news:1154978357.915970.165820@75g2000cwc.googlegroups.com...
> Norm wrote:
>> I know this sounds like a strange request, but is there anyway to tell
>> how
>> your program was started? Specifically can you tell if it was started by
>> windows startup routine?
>
> If you had 2 shortcuts, one in the Windows Startup and one on the
> desktop, you could add a command line parameter that is different for
> each. Thay way you could tell which shortcut was used to start the
> app.
>