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 13 1148
This code is in c++?
Regards
"kimiraikkonen" <ki*************@gmail.comwrote in message
news:1d**********************************@l42g2000 hsc.googlegroups.com...
On Apr 24, 5:00 pm, "John" <i...@nospam.infovis.co.ukwrote:
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,
Try using SendMessage API with WM_COPYDATA: http://www.vbaccelerator.com/home/ne...on/article.asp http://www.codeproject.com/KB/threads/ipc_wmcopy.aspx
HTH,
Onur
On Apr 24, 5:28*pm, "John" <i...@nospam.infovis.co.ukwrote:
This code is in c++?
Regards
"kimiraikkonen" <kimiraikkone...@gmail.comwrote in message
news:1d**********************************@l42g2000 hsc.googlegroups.com...
On Apr 24, 5:00 pm, "John" <i...@nospam.infovis.co.ukwrote:
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,
Try using SendMessage API with WM_COPYDATA:
http://www.vbaccelerator.com/home/ne...pc_wmcopy.aspx
HTH,
Onur
Sorry, for second one Yes, stick with first one, VBaccelerator's.
Use Google for more Sendmessage API samples.
Thanks,
Onur
On 2008-04-24, John <in**@nospam.infovis.co.ukwrote:
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.
--
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
Regards
"Tom Shelton" <to*********@YOUKNOWTHEDRILLcomcast.netwrote in message
news:u8**************@TK2MSFTNGP05.phx.gbl...
On 2008-04-24, John <in**@nospam.infovis.co.ukwrote:
>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.
--
Tom Shelton
On 2008-04-24, John <in**@nospam.infovis.co.ukwrote:
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?
--
Tom Shelton
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
On 2008-04-24, John <in**@nospam.infovis.co.ukwrote:
>
>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.
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....
>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.
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 :)
--
Tom Shelton
vs 2008 can use 3.5 if needed for both (sender and receiver) .net apps.
Thanks
Regards
"Tom Shelton" <to*********@YOUKNOWTHEDRILLcomcast.netwrote in message
news:ev**************@TK2MSFTNGP06.phx.gbl...
On 2008-04-24, John <in**@nospam.infovis.co.ukwrote:
>>
>>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.
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....
>>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.
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 :)
--
Tom Shelton
On 2008-04-24, John <in**@nospam.infovis.co.ukwrote:
vs 2008 can use 3.5 if needed for both (sender and receiver) .net apps.
That's good news, because .NET 3.5 has built in support for pipes - the
issue is with the VBA side. Let me do a little poking around... Am I
correct in assuming that the access side is a receiver as well?
--
Tom Shelton
Access is receiving as well.
Many Thanks
Regards
"Tom Shelton" <to*********@YOUKNOWTHEDRILLcomcast.netwrote in message
news:uS**************@TK2MSFTNGP05.phx.gbl...
On 2008-04-24, John <in**@nospam.infovis.co.ukwrote:
>vs 2008 can use 3.5 if needed for both (sender and receiver) .net apps.
That's good news, because .NET 3.5 has built in support for pipes - the
issue is with the VBA side. Let me do a little poking around... Am I
correct in assuming that the access side is a receiver as well?
--
Tom Shelton
"John" <in**@nospam.infovis.co.ukwrote in message
news:Ok*************@TK2MSFTNGP05.phx.gbl...
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.
--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm
On 2008-04-24, Ken Halter <Ken_Halter@Use_Sparingly_Hotmail.comwrote:
"John" <in**@nospam.infovis.co.ukwrote in message
news:Ok*************@TK2MSFTNGP05.phx.gbl...
>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.
If he has 2008, then he can't be using Win2K now can he?
--
Tom Shelton This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ted Gill |
last post by:
Platform: Windows ME
Python version: 2.3.2-1
Problem: Running GUI apps in Idle does not work.
When executing GUI (tkinter/pmw) apps from the edit windows or doing
an "import <file>" in the...
|
by: deko |
last post by:
I'm confused about what I can use C# and VS.NET for.
I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use?
If I want to build a basic VB app, I assume I can use the VB 6...
|
by: mBird |
last post by:
I wrote a service that listens for broadcast messages from my firewall (UDP
snmp trap messages) and parses and puts the data in an database.
I'd also like to write an app that is a simple form...
|
by: Floris van Haaster |
last post by:
Hi All!
I have a question, i have a web application and I store some member
information in a variable i declared in a module like:
Public some_info_variable as string
in module1.vb
But...
|
by: walt |
last post by:
A few years ago I wrote an active-X server to maintain a single
connection to a file .mdb from multiple apps on same PC because I was
having to many database curptions.
Should I use the same...
| |
by: djhexx |
last post by:
Hi. We have an asp.net intranet application written in VB that uses
forms authentication for all it's pages. I have a C# asp.net
application that I just wrote. The company would like the C#...
|
by: Jason |
last post by:
I've a c# app that I execute on a remote machine, which works as I expect it
to, but when that apps throws an exception on the remote machine how do I
know what's
going on, since it's a remote...
|
by: james |
last post by:
Hi all, I am trying to convert some old VB6 code to .NET.
Take this first section (there is more, but hey-ho...)
Dim XLApp As Object
Dim XLSheet
Dim XLBook
Dim HeaderItem As String
Dim...
|
by: Steven D'Aprano |
last post by:
Am I the only one who finds that I'm writing more documentation than code?
I recently needed to write a function to generate a rank table from a
list. That is, a list of ranks, where the rank of...
|
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,...
|
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: 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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
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...
|
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 ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |