application communication

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

    application communication

    Hi!
    Is there any easy way to send a command(or a number/whatever) to a running
    application?
    That's the situasion:
    I wrote a windows service and installed it on the computer. And I wrote a
    normal program that starts this service and send some commands to it (by
    ServiceCommandM anager) and the service does something...
    Now I need to send a replay to my program that the service was succesful/or
    not. How to do that?
    If you have any ideas about communication between two running programs it
    also should help...
    Any ideas?


  • Cor

    #2
    Re: application communication

    Hi zurg,

    The only thing I can say is, "Take a look for remoting on msdn"

    Cor[color=blue]
    > Is there any easy way to send a command(or a number/whatever) to a running
    > application?
    > That's the situasion:
    > I wrote a windows service and installed it on the computer. And I wrote a
    > normal program that starts this service and send some commands to it (by
    > ServiceCommandM anager) and the service does something...
    > Now I need to send a replay to my program that the service was[/color]
    succesful/or[color=blue]
    > not. How to do that?
    > If you have any ideas about communication between two running programs it
    > also should help...
    > Any ideas?[/color]


    Comment

    • zurg

      #3
      Re: application communication

      Looking... that my take a while...;)
      [color=blue]
      > Hi zurg,
      >
      > The only thing I can say is, "Take a look for remoting on msdn"
      >
      > Cor[color=green]
      > > Is there any easy way to send a command(or a number/whatever) to a[/color][/color]
      running[color=blue][color=green]
      > > application?
      > > That's the situasion:
      > > I wrote a windows service and installed it on the computer. And I wrote[/color][/color]
      a[color=blue][color=green]
      > > normal program that starts this service and send some commands to it (by
      > > ServiceCommandM anager) and the service does something...
      > > Now I need to send a replay to my program that the service was[/color]
      > succesful/or[color=green]
      > > not. How to do that?
      > > If you have any ideas about communication between two running programs[/color][/color]
      it[color=blue][color=green]
      > > also should help...
      > > Any ideas?[/color]
      >
      >[/color]


      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: application communication

        * "zurg" <zurg@wp.pl> scripsit:[color=blue]
        > Is there any easy way to send a command(or a number/whatever) to a running
        > application?[/color]

        Remoting:

        <http://msdn.microsoft. com/library/en-us/cpguide/html/cpconnetremotin goverview.asp>

        --
        Herfried K. Wagner
        MVP ยท VB Classic, VB.NET
        <http://www.mvps.org/dotnet>

        Comment

        • zurg

          #5
          Re: application communication

          That's the thing I was looking for - thanks Cor
          Now I need some time to read&understand it&make it works in my program
          Thanks again
          Zurg

          [color=blue]
          > Looking... that my take a while...;)
          >[color=green]
          > > Hi zurg,
          > >
          > > The only thing I can say is, "Take a look for remoting on msdn"
          > >
          > > Cor[color=darkred]
          > > > Is there any easy way to send a command(or a number/whatever) to a[/color][/color]
          > running[color=green][color=darkred]
          > > > application?
          > > > That's the situasion:
          > > > I wrote a windows service and installed it on the computer. And I[/color][/color][/color]
          wrote[color=blue]
          > a[color=green][color=darkred]
          > > > normal program that starts this service and send some commands to it[/color][/color][/color]
          (by[color=blue][color=green][color=darkred]
          > > > ServiceCommandM anager) and the service does something...
          > > > Now I need to send a replay to my program that the service was[/color]
          > > succesful/or[color=darkred]
          > > > not. How to do that?
          > > > If you have any ideas about communication between two running programs[/color][/color]
          > it[color=green][color=darkred]
          > > > also should help...
          > > > Any ideas?[/color]
          > >
          > >[/color]
          >
          >[/color]


          Comment

          Working...