Hi All,
Can anybody suggest as to what is the best way communicate between 2
applications residing on the same machine?
Thanks.
kd 11 5489
"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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l>
--
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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l>
--
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**********************************@microsof t.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**********************************@microsof t.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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l>
-- 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**********************************@microsof t.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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l>
-- 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**********************************@microsof t.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**********************************@microsof t.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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l>
-- 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**********************************@microsof t.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**********************************@microsof t.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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l>
-- 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**********************************@microsof t.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**********************************@microsof t.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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l>
-- 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**********************************@microsof t.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 kd,
Try searching google groups for "vb.net named pipe" - throws up quite a few
hits...
Here's a link to a good Microsoft article for VB.NET http://support.microsoft.com/default...b;en-us;871044. The bulk of
this example uses plain old Win32 function calls so it should port to any
Microsoft programming environment with a bit of bending.
I don't know much about Foxpro - so you'd be better off asking about the VFP
side of things in VPF groups.
--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd http://www.e-aquila.com
---------------------------------------
"kd" <kd@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com... 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**********************************@microsof t.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.de/groups?selm=uWYQZLWjDHA.3312%40tk2msftngp13.phx.gb l> >> >> -- >> 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**********************************@microsof t.com... >> > Hi All, >> > >> > Can anybody suggest as to what is the best way communicate between 2 >> > applications residing on the same machine? >> > >> > Thanks. >> > kd >> >> >>
"kd" wrote: Hi All,
Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine?
Thanks. kd
If both processes are running on the same PC, then using Windows messaging
SendMessageW and WM_COPYDATA performs quite well.
We offer a .NET component FREE for non-commercial use that does this: http://www.mini-tools.com/goto/comm
--
Timm Martin
Mini-Tools
..NET Components and Windows Software http://www.mini-tools.com 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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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...
|
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...
|
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...
|
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: 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,...
| |