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. window services in VS2008 [modified]

window services in VS2008 [modified]

Scheduled Pinned Locked Moved C#
csharpquestion
5 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.
  • A Offline
    A Offline
    Aisha sharma
    wrote on last edited by
    #1

    hello everyone, i don't know much about service application, i want to know dat can we create window services in VS2008 using c# ? i didn't find window service template in my VS2008 professional edition. and Is this possible that my window app which is develop in c# VS2008 can work as window service on vista. thank you..... -- Modified Monday, August 22, 2011 3:20 AM

    L P 2 Replies Last reply
    0
    • A Aisha sharma

      hello everyone, i don't know much about service application, i want to know dat can we create window services in VS2008 using c# ? i didn't find window service template in my VS2008 professional edition. and Is this possible that my window app which is develop in c# VS2008 can work as window service on vista. thank you..... -- Modified Monday, August 22, 2011 3:20 AM

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      As far as I know the template is only available for C++. However, you may find some reasonable ideas here[^].

      Unrequited desire is character building. OriginalGriff

      1 Reply Last reply
      0
      • A Aisha sharma

        hello everyone, i don't know much about service application, i want to know dat can we create window services in VS2008 using c# ? i didn't find window service template in my VS2008 professional edition. and Is this possible that my window app which is develop in c# VS2008 can work as window service on vista. thank you..... -- Modified Monday, August 22, 2011 3:20 AM

        P Offline
        P Offline
        Paul E Davies
        wrote on last edited by
        #3

        It's available in the Windows section of the c# project types and is called "Windows Service", although I'm not sure if it's installed by default in all versions of VS but would have thought it was in the professional edition.

        A 1 Reply Last reply
        0
        • P Paul E Davies

          It's available in the Windows section of the c# project types and is called "Windows Service", although I'm not sure if it's installed by default in all versions of VS but would have thought it was in the professional edition.

          A Offline
          A Offline
          Aisha sharma
          wrote on last edited by
          #4

          yes i found it thank you...... :) but can i call my app exe in window service.

          P 1 Reply Last reply
          0
          • A Aisha sharma

            yes i found it thank you...... :) but can i call my app exe in window service.

            P Offline
            P Offline
            Paul E Davies
            wrote on last edited by
            #5

            I've re-read you question. Yes you can use your application as a service but not without some modification. If most of the functionality is in class libraries then your application (be it a console application or a windows service) acts as an entry point to your functionality. You will need to do some extra work around error reporting and service specific things like startup options but a basic introduction to windows services via google will help with this.

            modified on Monday, August 22, 2011 9:17 AM

            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