Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Windows Service in background

Windows Service in background

Scheduled Pinned Locked Moved C#
csharpvisual-studioquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dannygilbert3
    wrote on last edited by
    #1

    Hi ! I have to create a new software in C# which will always RUN in the background. I want to show the GUI only when the user click on the icon in the icon tray (resident program). The program must run by itself each time the system (PC) is power up. How we do it ? Note: I have checked with my Visual Studio 2005 in the New Project option but I don't see anything that seems to be a SERVICE (or resident program). How I must create the project ???? Thank you.

    Danny Gilbert, engineer Montreal, Canada

    K 1 Reply Last reply
    0
    • D dannygilbert3

      Hi ! I have to create a new software in C# which will always RUN in the background. I want to show the GUI only when the user click on the icon in the icon tray (resident program). The program must run by itself each time the system (PC) is power up. How we do it ? Note: I have checked with my Visual Studio 2005 in the New Project option but I don't see anything that seems to be a SERVICE (or resident program). How I must create the project ???? Thank you.

      Danny Gilbert, engineer Montreal, Canada

      K Offline
      K Offline
      kryzchek
      wrote on last edited by
      #2

      Create a new Project, and in the Project Types treeview, select "Windows" and then "Windows Service". You'll probably want to make 2 programs. The service itself, and then a small Windows app to act as an interface for it.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups