system tray or windows services?!!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jassim Rahma

    #1

    system tray or windows services?!!

    did you see the CNN or BBC dekstop news alert software? I want to develop
    the same but for banner advertisment and I want to if I should do it as
    system tray ir windows services?



  • Hans Kesting

    #2
    Re: system tray or windows services?!!

    did you see the CNN or BBC dekstop news alert software? I want to
    develop the same but for banner advertisment and I want to if I should
    do it as system tray ir windows services?
    >
    For a service it's difficult to interact with the desktop. Also you don't
    need
    to run this if noone is logged in, so a systray application would seem
    best in this case.

    Hans Kesting


    Comment

    • Kevin Spencer

      #3
      Re: system tray or windows services?!!

      No, you should not.

      --
      HTH,

      Kevin Spencer
      Microsoft MVP

      Printing Components, Email Components,
      FTP Client Classes, Enhanced Data Controls, much more.
      DSI PrintManager, Miradyne Component Libraries:


      "Jassim Rahma" <jrahma@hotmail .comwrote in message
      news:BFD192BC-5FA9-494D-BED0-BD49A0924DFC@mi crosoft.com...
      did you see the CNN or BBC dekstop news alert software? I want to develop
      the same but for banner advertisment and I want to if I should do it as
      system tray ir windows services?
      >
      >
      >

      Comment

      • Tim Haughton

        #4
        Re: system tray or windows services?!!

        Hi Jassim,

        "Jassim Rahma" <jrahma@hotmail .comwrote in message
        news:BFD192BC-5FA9-494D-BED0-BD49A0924DFC@mi crosoft.com...
        did you see the CNN or BBC dekstop news alert software? I want to develop
        the same but for banner advertisment and I want to if I should do it as
        system tray ir windows services?
        A windows service would be a bad choice, they're designed to run at all
        times and rarely have interaction with users. The systray, aka the
        notification area is there for applications that require infrequent user
        interaction to notify the user of some event, or as a place to park.

        It sounds like your app would be a reasonable choice for the systray. But
        what would you notification are icon do? Although, the thought of having any
        kind of banner on my desktop makes my skin crawl :)

        --
        Regards,

        Tim Haughton


        The Agile Micro ISV Blog

        Comment

        • Nicholas Paldino [.NET/C# MVP]

          #5
          Re: system tray or windows services?!!

          Not only is it difficult, in Windows Vista, it is forbidden.


          --
          - Nicholas Paldino [.NET/C# MVP]
          - mvp@spam.guard. caspershouse.co m

          "Hans Kesting" <news.2.hansdk@ spamgourmet.com wrote in message
          news:c04e80a71b fbb8c99b4c47613 45d@news.micros oft.com...
          >did you see the CNN or BBC dekstop news alert software? I want to
          >develop the same but for banner advertisment and I want to if I should
          >do it as system tray ir windows services?
          >>
          >
          For a service it's difficult to interact with the desktop. Also you don't
          need
          to run this if noone is logged in, so a systray application would seem
          best in this case.
          >
          Hans Kesting
          >
          >

          Comment

          • Tim Haughton

            #6
            Re: system tray or windows services?!!

            "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c omwrote in
            message news:u4HiiuTzHH A.5052@TK2MSFTN GP04.phx.gbl...
            Not only is it difficult, in Windows Vista, it is forbidden.
            There's forbidden, and there's *forbidden*. Which do you mean? :¬)

            --
            Regards,

            Tim Haughton


            The Agile Micro ISV Blog

            Comment

            • Nicholas Paldino [.NET/C# MVP]

              #7
              Re: system tray or windows services?!!

              *forbidden* as in the option isn't even there anymore.

              --
              - Nicholas Paldino [.NET/C# MVP]
              - mvp@spam.guard. caspershouse.co m

              "Tim Haughton" <timhaughton@gm ail.comwrote in message
              news:qY3pi.8939 5$LL7.4977@fe08 .news.easynews. com...
              "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c omwrote
              in message news:u4HiiuTzHH A.5052@TK2MSFTN GP04.phx.gbl...
              > Not only is it difficult, in Windows Vista, it is forbidden.
              >
              There's forbidden, and there's *forbidden*. Which do you mean? :¬)
              >
              --
              Regards,
              >
              Tim Haughton
              >

              The Agile Micro ISV Blog

              Comment

              • Ben Voigt [C++ MVP]

                #8
                Re: system tray or windows services?!!


                "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c omwrote in
                message news:O0wcqTUzHH A.464@TK2MSFTNG P02.phx.gbl...
                *forbidden* as in the option isn't even there anymore.
                No, it's only mostly forbidden. You can certainly enumerate the desktops
                and interact with them. You just can't have the real desktop as your
                process default.

                But it's much better to do privilege separation and uses named pipes or some
                other IPC mechanism to handle user input.
                >
                --
                - Nicholas Paldino [.NET/C# MVP]
                - mvp@spam.guard. caspershouse.co m
                >
                "Tim Haughton" <timhaughton@gm ail.comwrote in message
                news:qY3pi.8939 5$LL7.4977@fe08 .news.easynews. com...
                >"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c omwrote
                >in message news:u4HiiuTzHH A.5052@TK2MSFTN GP04.phx.gbl...
                >> Not only is it difficult, in Windows Vista, it is forbidden.
                >>
                >There's forbidden, and there's *forbidden*. Which do you mean? :¬)
                >>
                >--
                >Regards,
                >>
                >Tim Haughton
                >>
                >http://timhaughton.info
                >The Agile Micro ISV Blog
                >
                >

                Comment

                Working...