Talking to other apps on same pc

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

How can I send simple messages/command like "GotoClientRecord=1024" or
"GotoSupplierRecord=234" from a vb.net app to a) a vb.net winform app and b)
an MS Access app, all three running on the same pc?

Thanks

Regards
 
Hi

How can I send simple messages/command like "GotoClientRecord=1024" or
"GotoSupplierRecord=234" from a vb.net app to a) a vb.net winform app and b)
an MS Access app, all three running on the same pc?

John,

Can you give a little more detail about your application? I think it
would be helpful so that I or someone else does not lead you down a
wrong path.
 
We have two database apps, one a vb.net winform app and other an ms access
app. Both are run by users at the same time as both provide different info.
A third vb.net app from time to time needs to ask the above two apps to go
to specific records for user's convenience. So I am looking for the best way
to send commands from this vb.net app to the two other apps.

Thanks

Regards
 
We have two database apps, one a vb.net winform app and other an ms access
app. Both are run by users at the same time as both provide different info.
A third vb.net app from time to time needs to ask the above two apps to go
to specific records for user's convenience. So I am looking for the best way
to send commands from this vb.net app to the two other apps.

Thanks

Ok... That makes a little more sense. Does the 3rd app always send the
same command to both apps? Or, are they independant? In other words,
does it send different commands, to different apps, at different times -
depending on user action, or does it just send the same command to both
apps everytime? And one last question, and this comes from the fact
that I'm pretty ignorant when it comes to VBA Access applications...
Is there something/someway to receive window messages in your access
application? In other words, can you subclass something's WndProc?
 
Ok... That makes a little more sense. Does the 3rd app always send the
same command to both apps? Or, are they independant? In other words,
does it send different commands, to different apps, at different times -
depending on user action, or does it just send the same command to both
apps everytime?

Different commands to each app and at different times from each other.
And one last question, and this comes from the fact
that I'm pretty ignorant when it comes to VBA Access applications...
Is there something/someway to receive window messages in your access
application? In other words, can you subclass something's WndProc?

No idea. :) I am low on Win API side. I am a db developer.

Thanks

Regards
 
Different commands to each app and at different times from each other.

Ok. I was just curious - I had a simple solution in mind, but it would
only work if they were the same command all the time....
No idea. :) I am low on Win API side. I am a db developer.

Ok... Then a SendMessage type scenario is probably out of the question.
I'm thinking you might need to look at something like named pipes -
which version of the framework are you targeting? Either way, there is
going to be some api work involved :)
 
John said:
vs 2008 can use 3.5 if needed for both (sender and receiver) .net apps.

fyi... 3.5 won't install on Win2k, so higher performance OSs are out of the
question.
 
Back
Top