Hi All,
Can anybody suggest as to what is the best way communicate between 2
applications residing on the same machine?
Thanks.
kd 11 5536
"kd" <kd@discussions .microsoft.com> schrieb: Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine?
There are many different ways to do that. You can use remoting, sockets,
other IPC mechanisms, or the 'WM_COPYDATA' message. A sample for using
'WM_COPYDATA' to exchange data between two applications written by Tom
Shelton [MVP] can be found here:
<URL:http://groups.google.d e/groups?selm=uWY QZLWjDHA.3312%4 0tk2msftngp13.p hx.gbl>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
"kd" <kd@discussions .microsoft.com> schrieb: Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine?
There are many different ways to do that. You can use remoting, sockets,
other IPC mechanisms, or the 'WM_COPYDATA' message. A sample for using
'WM_COPYDATA' to exchange data between two applications written by Tom
Shelton [MVP] can be found here:
<URL:http://groups.google.d e/groups?selm=uWY QZLWjDHA.3312%4 0tk2msftngp13.p hx.gbl>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Named pipes always worked well for me.
You can also use memory mapped files but named pipes are a lot easier - and
more stable in my experience.
--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd http://www.e-aquila.com
---------------------------------------
"kd" <kd@discussions .microsoft.com> wrote in message
news:02******** *************** ***********@mic rosoft.com... Hi All,
Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine?
Thanks. kd
Named pipes always worked well for me.
You can also use memory mapped files but named pipes are a lot easier - and
more stable in my experience.
--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd http://www.e-aquila.com
---------------------------------------
"kd" <kd@discussions .microsoft.com> wrote in message
news:02******** *************** ***********@mic rosoft.com... Hi All,
Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine?
Thanks. kd
Hi,
Thanks for your replies.
One application is developed in visual foxpro 8.0 and the other is developed
in vb.net. This being the scenario, could you please suggest the easiet way
to communicate between the two applications?
Thanks.
kd
"Herfried K. Wagner [MVP]" wrote: "kd" <kd@discussions .microsoft.com> schrieb: Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine? There are many different ways to do that. You can use remoting, sockets, other IPC mechanisms, or the 'WM_COPYDATA' message. A sample for using 'WM_COPYDATA' to exchange data between two applications written by Tom Shelton [MVP] can be found here:
<URL:http://groups.google.d e/groups?selm=uWY QZLWjDHA.3312%4 0tk2msftngp13.p hx.gbl>
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
"Richard Moore" wrote:
Named pipes always worked well for me.
You can also use memory mapped files but named pipes are a lot easier - and more stable in my experience.
-- Richard Moore --------------------------------------- Aquila Cybernetic Ltd http://www.e-aquila.com --------------------------------------- "kd" <kd@discussions .microsoft.com> wrote in message news:02******** *************** ***********@mic rosoft.com... Hi All,
Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine?
Thanks. kd
Hi,
Thanks for your replies.
One application is developed in visual foxpro 8.0 and the other is developed
in vb.net. This being the scenario, could you please suggest the easiet way
to communicate between the two applications?
Thanks.
kd
"Herfried K. Wagner [MVP]" wrote: "kd" <kd@discussions .microsoft.com> schrieb: Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine? There are many different ways to do that. You can use remoting, sockets, other IPC mechanisms, or the 'WM_COPYDATA' message. A sample for using 'WM_COPYDATA' to exchange data between two applications written by Tom Shelton [MVP] can be found here:
<URL:http://groups.google.d e/groups?selm=uWY QZLWjDHA.3312%4 0tk2msftngp13.p hx.gbl>
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
"Richard Moore" wrote:
Named pipes always worked well for me.
You can also use memory mapped files but named pipes are a lot easier - and more stable in my experience.
-- Richard Moore --------------------------------------- Aquila Cybernetic Ltd http://www.e-aquila.com --------------------------------------- "kd" <kd@discussions .microsoft.com> wrote in message news:02******** *************** ***********@mic rosoft.com... Hi All,
Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine?
Thanks. kd
There's an article here http://foxproadvisor.com/doc/14609 on exactly this
topic - bad news is it looks like you have to subscribe to access it.
Don't know much about Foxpro but named pipes are fairly easy to work with
and are pretty much platform independant. You create a named pipe and then
access it like a file i.e. you can write bytes into it and read bytes out of
it. One app would write into the pipe, the other would read out of it.
--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd http://www.e-aquila.com
---------------------------------------
"kd" <kd@discussions .microsoft.com> wrote in message
news:AC******** *************** ***********@mic rosoft.com... Hi,
Thanks for your replies.
One application is developed in visual foxpro 8.0 and the other is developed in vb.net. This being the scenario, could you please suggest the easiet way to communicate between the two applications?
Thanks. kd
"Herfried K. Wagner [MVP]" wrote:
"kd" <kd@discussions .microsoft.com> schrieb: > Can anybody suggest as to what is the best way communicate between 2 > applications residing on the same machine?
There are many different ways to do that. You can use remoting, sockets, other IPC mechanisms, or the 'WM_COPYDATA' message. A sample for using 'WM_COPYDATA' to exchange data between two applications written by Tom Shelton [MVP] can be found here:
<URL:http://groups.google.d e/groups?selm=uWY QZLWjDHA.3312%4 0tk2msftngp13.p hx.gbl>
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
"Richard Moore" wrote:
Named pipes always worked well for me.
You can also use memory mapped files but named pipes are a lot easier - and more stable in my experience.
-- Richard Moore --------------------------------------- Aquila Cybernetic Ltd http://www.e-aquila.com --------------------------------------- "kd" <kd@discussions .microsoft.com> wrote in message news:02******** *************** ***********@mic rosoft.com... > Hi All, > > Can anybody suggest as to what is the best way communicate between 2 > applications residing on the same machine? > > Thanks. > kd
There's an article here http://foxproadvisor.com/doc/14609 on exactly this
topic - bad news is it looks like you have to subscribe to access it.
Don't know much about Foxpro but named pipes are fairly easy to work with
and are pretty much platform independant. You create a named pipe and then
access it like a file i.e. you can write bytes into it and read bytes out of
it. One app would write into the pipe, the other would read out of it.
--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd http://www.e-aquila.com
---------------------------------------
"kd" <kd@discussions .microsoft.com> wrote in message
news:AC******** *************** ***********@mic rosoft.com... Hi,
Thanks for your replies.
One application is developed in visual foxpro 8.0 and the other is developed in vb.net. This being the scenario, could you please suggest the easiet way to communicate between the two applications?
Thanks. kd
"Herfried K. Wagner [MVP]" wrote:
"kd" <kd@discussions .microsoft.com> schrieb: > Can anybody suggest as to what is the best way communicate between 2 > applications residing on the same machine?
There are many different ways to do that. You can use remoting, sockets, other IPC mechanisms, or the 'WM_COPYDATA' message. A sample for using 'WM_COPYDATA' to exchange data between two applications written by Tom Shelton [MVP] can be found here:
<URL:http://groups.google.d e/groups?selm=uWY QZLWjDHA.3312%4 0tk2msftngp13.p hx.gbl>
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
"Richard Moore" wrote:
Named pipes always worked well for me.
You can also use memory mapped files but named pipes are a lot easier - and more stable in my experience.
-- Richard Moore --------------------------------------- Aquila Cybernetic Ltd http://www.e-aquila.com --------------------------------------- "kd" <kd@discussions .microsoft.com> wrote in message news:02******** *************** ***********@mic rosoft.com... > Hi All, > > Can anybody suggest as to what is the best way communicate between 2 > applications residing on the same machine? > > Thanks. > kd
Hi Richard,
Thanks for the link.
On a second thought, I could may be try named pipes. However, I could not
find help on named pipes in the visual foxpro help or in vb.net help. Could
you please suggest keywords that I can use to perform search in foxpro as
well as in vb.net?
Thanks
kd
"Richard Moore" wrote: There's an article here http://foxproadvisor.com/doc/14609 on exactly this topic - bad news is it looks like you have to subscribe to access it.
Don't know much about Foxpro but named pipes are fairly easy to work with and are pretty much platform independant. You create a named pipe and then access it like a file i.e. you can write bytes into it and read bytes out of it. One app would write into the pipe, the other would read out of it.
-- Richard Moore --------------------------------------- Aquila Cybernetic Ltd http://www.e-aquila.com --------------------------------------- "kd" <kd@discussions .microsoft.com> wrote in message news:AC******** *************** ***********@mic rosoft.com... Hi,
Thanks for your replies.
One application is developed in visual foxpro 8.0 and the other is developed in vb.net. This being the scenario, could you please suggest the easiet way to communicate between the two applications?
Thanks. kd
"Herfried K. Wagner [MVP]" wrote:
"kd" <kd@discussions .microsoft.com> schrieb: > Can anybody suggest as to what is the best way communicate between 2 > applications residing on the same machine?
There are many different ways to do that. You can use remoting, sockets, other IPC mechanisms, or the 'WM_COPYDATA' message. A sample for using 'WM_COPYDATA' to exchange data between two applications written by Tom Shelton [MVP] can be found here:
<URL:http://groups.google.d e/groups?selm=uWY QZLWjDHA.3312%4 0tk2msftngp13.p hx.gbl>
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
"Richard Moore" wrote:
Named pipes always worked well for me.
You can also use memory mapped files but named pipes are a lot easier - and more stable in my experience.
-- Richard Moore --------------------------------------- Aquila Cybernetic Ltd http://www.e-aquila.com --------------------------------------- "kd" <kd@discussions .microsoft.com> wrote in message news:02******** *************** ***********@mic rosoft.com... > Hi All, > > Can anybody suggest as to what is the best way communicate between 2 > applications residing on the same machine? > > Thanks. > kd This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Qumer Mumtaz Goraya |
last post by:
Hi
How can I communicate between IE and an other application.I am able to
communicate between two applications of mine but confused how to do this
with IE.I just wanna know how IE get the shared area of memory I am using
mailboxes to communicate between two applications. your help will be
appreciated
With best regrads
|
by: Tracey |
last post by:
I have a problem on communication between ASP.NET and
Java code. Any advice will be greatly appreciated!
Our core processing code and database and database server
reside in a remote machine whose platform is Linux. The
core processing code is written with Java.
Now I'm trying to implement scripting code to communicate
with the back-end database dynamatically.
|
by: Gery D. Dorazio |
last post by:
Gurus,
I have a server running Windows Server 2003 Web Edition running multiple web
sites on the same server. All the web sites on this server are owned by the
same company. The company does secure credit card processing through a
payment processing company gateway service.
The company that owns the web sites wants to have a single payment gateway
mechanism for all the web sites on the server. Instead of having each of the
web sites...
|
by: kd |
last post by:
Hi All,
Can anybody suggest as to what is the best way communicate between 2
applications residing on the same machine?
Thanks.
kd
|
by: Mike9900 |
last post by:
How can I connect my .NET app which use remoting to communicate over
internet, 2 instance of the same app? My app is already done using .NET
Remoting. I am wondering if to change them to WCF or just I can make them
communicate over the internet.
--
Mike
| |
by: SQACSharp |
last post by:
Hi,
I need to transfer text (or maybe binary) data from one .net
application to another .net application. What is the best way to do
this since it's on the same computer and both application may run
different .net framework version.
In a completely different project/context i also need to transfers
data between 2 applications, but this time one is a .net application
and the other is a Win32 application.
|
by: michelqa |
last post by:
Hi,
I need to communicate between many C# applications.
is tcp socket is the best way to do this? Only the main application
that send the initial request can be a remote application in a local
network
Ex:
|
by: Johnny E. Jensen |
last post by:
Hello NG
I have two applications.
App1: Database application. Inserts/updates data to database.
App2: Notifier:
The notifier checks if a record has been created or modified, by loading the
table rows that has notify status 1 or 2. Thats easy. When the notifier
finds a record with 1 it brings up a window like in Outlook when new mail.
|
by: hashc |
last post by:
hi
i want to be able to have two applications in c# visual studio.net 2008 to be able to communicate with each other by passing parameters.
for example; Appli1.exe is a form with 4 buttons
Appli2.exe should be executed when a particular button is pressed in Appli1.exe, but it should know which button has been pressed,
therefore i want to make a call to second application, such as:
Appli2.exe(button number) if i were to put it crudely!...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |