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. serial port and service

serial port and service

Scheduled Pinned Locked Moved C#
helpquestion
3 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.
  • T Offline
    T Offline
    topcatalpha
    wrote on last edited by
    #1

    Hi, Can i use comports in a windows service ? if yes, how does i know the portnumber when no user has logged onto windows ? for me as user the comport is 6 and 7 instead of 1 and 2. can i build a service than, using comport 6 and start the service with local system account ? thx for you're help. Kurt

    L 1 Reply Last reply
    0
    • T topcatalpha

      Hi, Can i use comports in a windows service ? if yes, how does i know the portnumber when no user has logged onto windows ? for me as user the comport is 6 and 7 instead of 1 and 2. can i build a service than, using comport 6 and start the service with local system account ? thx for you're help. Kurt

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

      topcatalpha wrote:

      Can i use comports in a windows service ?

      Yes

      topcatalpha wrote:

      i know the portnumber when no user has logged onto windows

      We made ours configurable so we could change comports easily. Whether some one has logged into the system or not makes no difference as the comport is still there. Just open com 6 or 7 as usual

      Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns

      T 1 Reply Last reply
      0
      • L Lost User

        topcatalpha wrote:

        Can i use comports in a windows service ?

        Yes

        topcatalpha wrote:

        i know the portnumber when no user has logged onto windows

        We made ours configurable so we could change comports easily. Whether some one has logged into the system or not makes no difference as the comport is still there. Just open com 6 or 7 as usual

        Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns

        T Offline
        T Offline
        topcatalpha
        wrote on last edited by
        #3

        ok thx. I will try it. thx

        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