Hello forum,
Is it possible to communicate with an active Navision client via MSMQ or named pipes just like with a NAS? I need to trigger a dataport in the running Navision client of the users computer from an external program on the same computer. And I'd like the user to actually see what's happening, in other words I can't do it via a NAS Server because then the user wouldn't see any error messages that might occur.
Thanks in advance for pointing me in the right direction...
Beo Lutz
0
Comments
The NAS is nothing but a GUIless client, so anything that you can run on the NAS you can also run on a "normal" client. I have no experience with MS MQ, but I think the configuration is nothing else than on a server.
Success!
Grtz.
Remco
Also dataports are not supported by the NAS.
I also don't know of any way to communicate with a running client and executing business logic that way.
RIS Plus, LLC
All there's required is a few checks here and there in the code, if you're running with GUi or not.
B3 Technologies - Making Technology Serve the People
RIS Plus, LLC
just a comment. I have never done that before but in theory it should be really easy.
Create an automation controller which will listen on the pipe or the MSMQ (some kind of an event handler).
Create the object when e.g. the user opens the main form or something similar. Create it globally so that there is only one object in one open client. When the object is created (so during this process) create a unique queue / pipe for this specific client.
In the event add the code which should be run whenever the message comes in.
As i said, should work perfectly in theory.
HTH,
Rainer