Home > Archive > microsoft.public.cert.exam.mcsd > November 2002 > Application to Application communications





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Application to Application communications
Glenn D. Crosse

2002-11-18, 6:23 pm

I have two applications.
I would like a button on a form on one app (Application 1) maximize a form
on the other app (Application 2).
Both applications are running local on the same machine.
I had application2 act as the server with a server singleton object.
The singleton object was given a pointer to application2.

Application 1 uses RemotingConfiguration.RegisterWellKnownClientType to get
a proxy to the singleton object.
The singleton then does an invoke to application 2.

Is this the way to accomplish this ?? (I don't have it working btw and not
sure what I am doing is possible).

I really appreciate any feedback.
Thanks,
Glenn


Glenn D. Crosse

2002-11-18, 9:23 pm

Actually what I am looking for is something like the old DDE.
I guess I could open a TCP port in a separate process and listen. When the
application wants to send a message, it just sends a text message that the
receiving process parses and takes the appropriate action.
All thoughts here are welcome.
Glenn
"Glenn D. Crosse" <glenncrosse@earthlink.net> wrote in message
news:uV$JOq1jCHA.2848@tkmsftngp10...
> I have two applications.
> I would like a button on a form on one app (Application 1) maximize a form
> on the other app (Application 2).
> Both applications are running local on the same machine.
> I had application2 act as the server with a server singleton object.
> The singleton object was given a pointer to application2.
>
> Application 1 uses RemotingConfiguration.RegisterWellKnownClientType to

get
> a proxy to the singleton object.
> The singleton then does an invoke to application 2.
>
> Is this the way to accomplish this ?? (I don't have it working btw and

not
> sure what I am doing is possible).
>
> I really appreciate any feedback.
> Thanks,
> Glenn
>
>



Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net