CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    8

    checking if file was started by user

    hi, what would be the best way to check if a file was started manually by the user (for example they double clicked on it)
    or it was started by windows (auto startup)

  2. #2
    Join Date
    Feb 2009
    Location
    India
    Posts
    444

    Re: checking if file was started by user

    You could check the Run keys of the registry and the Startup folder to check if the filename exists.
    «_Superman
    I love work. It gives me something to do between weekends.

    Microsoft MVP (Visual C++)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured