PC Review


Reply
Thread Tools Rate Thread

Detecting system in "logging on" state?

 
 
Marcos Stefanakopolus
Guest
Posts: n/a
 
      24th May 2005
I have a utility that runs from a shortcut in the Startup folder. However,
it's a very low-priority utility, and there's no real reason why my utility
needs to fight for CPU time with all the other stuff that gets started up
when the user logs on. I'm happy for my utility to just wait until things
quiet down before getting on with its work. However, I don't know how to
detect when my utility is launched that the launch happened from the start
menu shortcut, rather than from the user invoking the utility directly.

Is there some way that I can either:
* detect that the system is busy logging the user on?
* detect that my utility was launched via the Startup folder shortcut?

Or, of course, if someone has a better suggestion for how to detect this
situation, that would be great too. Thanks!


--
I may not always have the best answers, but at least I'm not posting
questions in the wrong newsgroups...



 
Reply With Quote
 
 
 
 
Sean Hederman
Guest
Posts: n/a
 
      25th May 2005
"Marcos Stefanakopolus" <(E-Mail Removed)> wrote in message
news:429353b0$(E-Mail Removed)...
[Snip]>
Is there some way that I can either:
> * detect that the system is busy logging the user on?
> * detect that my utility was launched via the Startup folder shortcut?


A simple solution would be to have the Start Menu shortcut run your
application with a parameter (e.g. "MyApp -s" or something)


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ntbackup.exe fails at "system state", event id:1000 =?Utf-8?B?eGF2eGE=?= Windows XP Help 0 4th Oct 2006 11:22 AM
XP Pro Reboots After doing a "system state" backup using NTBackup =?Utf-8?B?WFAgTmVyZA==?= Windows XP Help 1 15th May 2006 11:16 AM
Backups - "System State" ? Tecknomage Windows XP General 2 18th Nov 2005 01:31 PM
"You do not have access" for System State Backup =?Utf-8?B?YmlsbG1hcnRpbjQ0?= Microsoft Windows 2000 Registry Archive 13 12th Nov 2004 05:24 AM
"You do not have access" for System State Backup =?Utf-8?B?YmlsbG1hcnRpbjQ0?= Microsoft Windows 2000 Registry 13 12th Nov 2004 05:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.