473,398 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Getting Text from a RichEdit20a

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 !
Nov 21 '05 #1
2 1552
Nak
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.

"DancinDom" <da*******@care2.com> wrote in message
news:ez**************@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 !

Nov 21 '05 #2

"DancinDom" <da*******@care2.com> schrieb im Newsbeitrag
news:ez**************@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 !

Hi Matt,

look here:
http://www.codeproject.com/dotnet/VB...owMessages.asp
http://www.codeproject.com/csharp/csthreadmsg.asp
http://www.codeproject.com/csharp/Si..._app_in_C_.asp
Greeting

Thomas
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Brett | last post by:
In Yahoo mail, I click the Inbox link and see my messages. If I view source, I don't have HTML which contains the URL of each message. The source HTML contains javascripting and framesets. This...
2
by: DancinDom | last post by:
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...
1
by: murlbrown | last post by:
Basicly im trying to determine when a new line has been appended to the textbox of another application. Using spy++ I see that the msg (wm_user + 97) is being sent, which is the EM_SETTEXTEX...
5
by: Brian Henry | last post by:
I have a page which reads an article from the database it has 1 text box, 2 dropdown lists, and a longreat HTML text box. I load the information from the database when the page is set to edit mode...
3
by: dei3cmix | last post by:
Hey, I am having a problem with a program I am working on. Basically, the first part of the program gets input from a file using cin.getline. Then the second part, (still in the same main as the...
4
by: R.Manikandan | last post by:
Hi In my code, one string variable is subjected to contain more amount of characters. If it cross certain limit, the string content in the varabile is automatically getting truncated and i am...
2
by: soma.gunasekaran | last post by:
Hi All , I've stored the Image file..... But i want to retriving the Image files from MSACCSS 2003 (JPEG,bmp,Gif and etc....) So Pls help me........ help me............... Thanking you,...
4
by: bushi | last post by:
hi ! i have following code to display some text on a web form,after getting it from database. <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate>...
1
by: simbarashe | last post by:
Hie could someone please help me with getting and using the current page url. I have a function that gets the url, I want to use it with header(location : XXX) but it wont work. The code is as...
2
by: hgarg | last post by:
The onpaint() is getting called before calculating the required parameters by listBox1_SelectedIndexChanged function. I tried calling it at the end of this function. But of no use. Due to this issue...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.