Hi
I read quite a few articles on this board concerning MSMQ. However, I have some unsolved questions on that.
1) Is it possible to have a form open (for testing purpuses only) waiting for the CC2:MessageReveived event as mentioned in
http://www.mibuso.com/forum/viewtopic.php?t=4185
2) I tried to make it work as described in 1), and also with the single instance codeunit. No success both ways. The message is in the queue, but the event does not fire in navision. Must this codeunit be run from NAS?
Thanks in advance
Thomas
Comments
If it is not set to that then Navision ignores it.
Thank you. It works now, as far as the message is picked up. Unfortunately, the Stream seems to be empty.
Any suggestions for that?
Thank you in advance.
Thomas
It works now ;--) I had to transform the message to ansi before sending it to the mq. arMessageBody is a ByteArray.
..
[from excel]
arMessageBody = StrConv(varMessageBody, vbFromUnicode)
msg.Body = arMessageBody
..
I have now an excel client to send some test messages to the mq, picked up from Navision.