473,750 Members | 2,225 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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...inexper ience again !
Nov 16 '05 #1
2 2243
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*******@care 2.com> wrote in message
news:ez******** ******@TK2MSFTN GP15.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...inexper ience again !

Nov 16 '05 #2

"DancinDom" <da*******@care 2.com> schrieb im Newsbeitrag
news:ez******** ******@TK2MSFTN GP15.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...inexper ience 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 16 '05 #3

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

Similar topics

11
1980
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 is different from what I am seeing. If I right click on a message link and select "copy shortcut", I can paste this link into my browser. This brings me to my message. If I view source, once again, it is javascript and framesets. How do I...
1
2653
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 msg(combination of wm_settext and em_replacesel). Below are a few lines of code of what im trying to accomplish: private const uint WM_USER = 0x0400; EM_SETTEXTEX = (WM_USER + 97) // Comes from an enum I have. (hooktype) I have gotten the ThreadID...
2
1571
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 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...
3
3702
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 first part) needs to get input from the user, and I want to do this with cin.getline also. The problem I am getting, is when I run the program, the text if read in from the file correctly, but it seems to just skip over the cin.getline when I want...
4
4507
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 not getting the full data. Is there any max limit for an variable to store in javascript? Can anyone please help me to solve this prob?
2
1659
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, Somasundaram G
4
4578
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> <asp:LinkButton ID="links" runat="server" Text='<%# Eval("links") %>' OnClick="LinkButton1_Click"></asp:LinkButton><br />
1
3199
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 follows: The code below is for the first page:session_start is in line 3 <link href="css/jobSheet.css" rel="stylesheet" type="text/css" /> session_start();
2
2053
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 only half of the diagram is getting painted,some lines are missing in the diagram. private void listBox1_SelectedIndexChanged(object sender, System.EventArgs e) { string str=listBox1.SelectedItem.ToString(); string str1=null;...
0
8838
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9577
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9396
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9256
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4713
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2804
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2225
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.