Talking to other apps on same pc

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
 
T

Tom Shelton

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.
 
J

John

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
 
T

Tom Shelton

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?
 
J

John

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
 
T

Tom Shelton

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 :)
 
K

Ken Halter

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top