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. how to convert my C# winform program to service program ?

how to convert my C# winform program to service program ?

Scheduled Pinned Locked Moved C#
csharptutorialquestion
3 Posts 3 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.
  • G Offline
    G Offline
    Gali1978
    wrote on last edited by
    #1

    hi how to convert my C# winform program to service program ? i need that my program will work like service (like listener) thanks in advance

    H realJSOPR 2 Replies Last reply
    0
    • G Gali1978

      hi how to convert my C# winform program to service program ? i need that my program will work like service (like listener) thanks in advance

      H Offline
      H Offline
      Hari Om Prakash Sharma
      wrote on last edited by
      #2

      Have a look at http://social.msdn.microsoft.com/Forums/en-US/clr/thread/d0fd133b-8954-42f2-ab46-f2d21c5d4550/[^]

      First and the Foremost: FIGHT TO WIN mera sirmour: sirmour.co.in

      1 Reply Last reply
      0
      • G Gali1978

        hi how to convert my C# winform program to service program ? i need that my program will work like service (like listener) thanks in advance

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        The best way is to start a new Windows service project and move the code from the winforms app to the servuice app. In case you weren't aware, a windows service can't have any forms in it.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

        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