dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Running an App on Computer Startup

  1. #1
    Join Date
    Jul 2009
    Posts
    43

    Running an App on Computer Startup

    Hey all

    Basically I've almost finished writing a trivial backup application, and I'm planning to add it to windows boot list via the registry, startup folder etc. However I have no idea how I'm going to get it 'running' once a comp has booted up, as it will appear as a tray icon, therefore no events such as form load will fire afaik. I've tried to find some information, but it's difficult to search for.

    Advice greatly appreciated.
    New to C# | Using VS 2008 with 3.5.

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Running an App on Computer Startup

    You can make it a windows service and create small utility which will start after login (using registry or Starup), notice state of the service and control it.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)