redirecting output

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

    #1

    redirecting output

    Hi,

    I'm looking for a way to get the output of a c# application I'm writing to
    be the input on a java applet I did not write myself and have no means of
    accessing (i.e. I don't have the source code). This applet works on input
    from the keyboard, so basically what I'm looking for is a way to get data
    from a c# app and post it in a IE window I have open. Is there any way I can
    redirect it, ???.

    Thanks in advance,

    Bart.


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: redirecting output

    Bart,

    From your C# app, you can use the SendKeys class to simulate keyboard
    input. You should be able to set the focus to the IE window, and then use
    the SendKeys class to send the input from the keyboard you wish to simulate.

    Hope this helps.


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

    "dawn" <dawn4715@hotma il.com> wrote in message
    news:CAalb.9521 8$db3.4325496@p hobos.telenet-ops.be...[color=blue]
    > Hi,
    >
    > I'm looking for a way to get the output of a c# application I'm writing to
    > be the input on a java applet I did not write myself and have no means of
    > accessing (i.e. I don't have the source code). This applet works on input
    > from the keyboard, so basically what I'm looking for is a way to get data
    > from a c# app and post it in a IE window I have open. Is there any way I[/color]
    can[color=blue]
    > redirect it, ???.
    >
    > Thanks in advance,
    >
    > Bart.
    >
    >[/color]


    Comment

    Working...