windows services

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

    windows services

    hi,
    iam trying to write a windows service that fires a IE
    browser. I think the reason its not wroking because the
    service runs in different windows session and idont see
    the browser. if this is the case, how can i see the
    browser beingfired up by my service
    thanks
    sumaira
  • Bryan Martin

    #2
    Re: windows services

    I though services were meant to run in the background without user
    intervention... ..

    Anyhoo, to do this you will need to create a static inside your service
    which can be called from an external program. Next you can create a
    separate program that the user can run once logged in that will
    interact/marshal through your class inside the service.

    Bryan Martin


    "sumaira" <sali@purdue.ed u> wrote in message
    news:0bae01c392 93$cb912240$a00 1280a@phx.gbl.. .[color=blue]
    > hi,
    > iam trying to write a windows service that fires a IE
    > browser. I think the reason its not wroking because the
    > service runs in different windows session and idont see
    > the browser. if this is the case, how can i see the
    > browser beingfired up by my service
    > thanks
    > sumaira[/color]


    Comment

    • Bryan Martin

      #3
      Re: windows services

      Wow I need to pay attention as to what im typing when im typing it. Bad
      part is i actually watch the screen and read along as I type and still
      accomplished making that error ;)

      "create a static" ie... "create a static class"

      "Bryan Martin" <spam@ahwayside .com> wrote in message
      news:%23YMNKTpk DHA.2312@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > I though services were meant to run in the background without user
      > intervention... ..
      >
      > Anyhoo, to do this you will need to create a static inside your service
      > which can be called from an external program. Next you can create a
      > separate program that the user can run once logged in that will
      > interact/marshal through your class inside the service.
      >
      > Bryan Martin
      >
      >
      > "sumaira" <sali@purdue.ed u> wrote in message
      > news:0bae01c392 93$cb912240$a00 1280a@phx.gbl.. .[color=green]
      > > hi,
      > > iam trying to write a windows service that fires a IE
      > > browser. I think the reason its not wroking because the
      > > service runs in different windows session and idont see
      > > the browser. if this is the case, how can i see the
      > > browser beingfired up by my service
      > > thanks
      > > sumaira[/color]
      >
      >[/color]


      Comment

      • Rich

        #4
        Re: windows services

        [Please do not mail me a copy of your followup]

        "sumaira" <sali@purdue.ed u> spake the secret code
        <0bae01c39293$c b912240$a001280 a@phx.gbl> thusly:
        [color=blue]
        > iam trying to write a windows service that fires a IE
        >browser. I think the reason its not wroking because the
        >service runs in different windows session and idont see
        >the browser. if this is the case, how can i see the
        >browser beingfired up by my service[/color]

        An NT service is the wrong tool for this job. Run a program in the
        user's startup folder or something like that.
        --
        "The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ:
        <http://www.xmission.co m/~legalize/book/>
        Pilgrimage: Utah's annual demoparty
        <http://pilgrimage.scen e.org>

        Comment

        • Jon Skeet [C# MVP]

          #5
          Re: windows services

          Bryan Martin <spam@ahwayside .com> wrote:[color=blue]
          > Wow I need to pay attention as to what im typing when im typing it. Bad
          > part is i actually watch the screen and read along as I type and still
          > accomplished making that error ;)
          >
          > "create a static" ie... "create a static class"[/color]

          That still doesn't make much sense though, as there's no such thing as
          a static class - could you specify exactly what you meant?

          --
          Jon Skeet - <skeet@pobox.co m>
          Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

          If replying to the group, please do not mail me too

          Comment

          Working...