473,698 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to pass data between 2 VB applications using XMLDOM

I am a beginner to using XML for communication between processes. I
have heard about using XML for passing of information between 2
applications.

We have 2 desktop applications developed in VB, running on the same
desktop. They have to pass information between each other. Can any one
explain how this can be achieved using XML DOM structure?

Thanks.
Jul 20 '05 #1
1 2421
XML is a method of representing data, not of transferring it per se. Once
you have figured out how to get the two apps to talk to each other, XML
might be an appropriate format for them to exchange data.

The normal way of doing communication between apps in windows is OLE if one
of them is a server and the other is acting as a client. if they are peers
sending messages to each other you would probably want to be using named
pipes but I'm not sure how to do that in VB.

maybe you could try asking in microsoft.publi c.xml or
comp.languages. basic.visual

Andy

"Srini" <ao******@yahoo .com> wrote in message
news:e5******** *************** ***@posting.goo gle.com...
I am a beginner to using XML for communication between processes. I
have heard about using XML for passing of information between 2
applications.

We have 2 desktop applications developed in VB, running on the same
desktop. They have to pass information between each other. Can any one
explain how this can be achieved using XML DOM structure?

Thanks.

Jul 20 '05 #2

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

Similar topics

8
4579
by: Garyrek | last post by:
Hi I have an url where I have xml data POSTED and I need to parse the URL to read the data - Meanwhile here is my xml data =================================== <?xml version="1.0" encoding="utf-16"?> <?adf version="1.0"?> <!DOCTYPE adf SYSTEM "http://whoscalling.com/dtd/adfdtd.dtd"> <adf> <prospect status="new">
4
9856
by: VK | last post by:
Dear All: I have an issue trying to parse response from xml document, for that matter I don't receive back response. I am trying to integrate UPS e-commerce online tool into our web site, this tool calcuates the rates and services and returns back all the different shipping rates. Below is the code trying to display the return response.
0
305
by: BCM | last post by:
In ASP 3, I once did a page using javascript and XMLDOM that loaded up xml files, displayed their data, and automatically refreshed that data at 10 second intervals (not a whole page refresh: just the data in the particular node I wanted to display). The javascript looked something like: function GetData() {
1
1982
by: Mr. x | last post by:
.... The second time I am sending this email ... .... I want a good solution, please. .... Thanks :) What I need is moving xml data from client to server & vice versa, but not using xml file. I did something like this : In server (VBScript) : -----------------------------
1
1536
by: MikeO | last post by:
I need to create a web client code in C# that retrieves data from a web site in sync method. I have the following code in VB script that works today but need to be converted to c# Set xmlHttp = WScript.CreateObject("Microsoft.XMLHTTP" Set xmlDom = WScript.CreateObject("Microsoft.XMLDOM" xmlDom.LoadXml("<PDETAILS FirstName=""John"" LastName=""James"" "" ZipCode=""78012"" />" xmlHttp.Open "POST", "http://host/Purschase.aspx"; 0...
6
5348
by: juky | last post by:
Hi all, I have 2 applications one in VB.net and the other in VC6. I need to pass data between them. How can I do it? what's the best way to implement such communication ? Any comment will be appreciate. Thank you. Juky
8
11717
by: vnarayana | last post by:
Need to transfer large data (Appox 5MB in the form of XML & HTML) from Internet Explorer to Web sphere application server. Want to know if there is anyway I can compress data (JavaScript or otherwise) before sending it to the server as it takes a long time to do this operation. I am currently using xmlhttp. Sample code below. xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); xmlhttp.open("POST",'http://xyz.com',true); var vSendXML =...
2
1458
by: irishdudeinusa | last post by:
Hello Everyone, I have been working a webservice where I can use it in other applications that I am working on. However, I am running into a problem with the data returned and I was wondering if someone could help. This is the code for the method that I call <WebMethod()Public Function GetZipCodes(ByVal iZipCode As Integer, ByVal iMiles As Integer) As String
1
1595
by: Rotsey | last post by:
Hi, As the subject says I have an application that uses xml at the client to render custom tables to get a drill down effect. So I query my database and create a xml document of it. I then want to pass the xml to the client and have javascript manipulate it. So far I have it working by calling a XMLHttp request by passing the URL
0
8609
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
9170
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
9031
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
8871
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
7739
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
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
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.