Hi there,
Communication between applications is not a quick subject to explain.
It's commonly called Interprocess communication, and it can be achieved
several ways,
* Remoting (The new .NET way)
* DDE (Dynamic Data Exchange, the old way)
* Windows messages - Still a very good way to communicate between
applications but has it's downfalls, especially if wanting to transfer
objects etc.
* TCP / UDP Messaging, basically what Remoting does but you would have
to implement your own protocol.
If both applications are your own then what method you use is totally up
to you, if one application is not your own then you will be limited to what
you can try. Using Windows Messages to obtain information from a rich text
box in another application *may* be your only choice, this would involve,
enumerating the child controls on the form until you find the desired
control and taking it from there.
If both apps are your own I would recommend looking into .NET remoting,
this is basically a local TCP connection between 2 applications with an XML
based protocol, objects are serialized into XML, sent through the channel
and then deserialized at the other end. I hope this information helps!
Nick.
[quoted text, click to view] "DancinDom" <dancindom@care2.com> wrote in message
news:ez$f4tVpEHA.3552@TK2MSFTNGP15.phx.gbl...
>I am primarily a web developer, but I am branching out for this project
>into
> the world of Windows Forms.
>
> I am looking for any help, examples, samples to show me how to retrieve
> text
> from a RichEdit20a (or RichEdit20w) that exists in another application
> running on the same box.
>
> This is the only part of a large project that I am running that is new to
> me, so I want to get this sorted as soon as possible. Then I can relax and
> concentrate on actually writing the code.
>
> Any help would be appreciated.
>
> Thanks very much.
>
> Matt. Davies
> P.S. My apologies for a cross group post, but I wasn't sure which would be
> the most appropriate group...inexperience again !
>
>