I think I know the problem, when I write it to the queue, I'm using VBS and
I noticed in the queue the data is in Unicode. So how do I get it to write
as ASCII?
> On the MQReceiveCompleted method below, I get an error "Name cannot begin
> with the '.' character, hexadecimal value 0x00. Line 1, position 40."..
[quoted text clipped - 44 lines]
> ....
> }
Mufaka - 28 Feb 2008 05:54 GMT
I vaguely recall having to use a BinaryFormatter when reading queue
items inserted by another language. You can try that and just get the
message body as a string.
> I think I know the problem, when I write it to the queue, I'm using VBS and
> I noticed in the queue the data is in Unicode. So how do I get it to write
> as ASCII?
Dan Kelley - 29 Feb 2008 08:57 GMT
For what it is worth I believe you mean the ActiveXFormatter, which should be
used when receiving messages sent by non .Net applications, for exmaple VB6
applications.
> I vaguely recall having to use a BinaryFormatter when reading queue
> items inserted by another language. You can try that and just get the
[quoted text clipped - 3 lines]
> > I noticed in the queue the data is in Unicode. So how do I get it to write
> > as ASCII?