FaxDocument.Submit returns Hex IDs on 2003 and Decimal on XP

O

Orbian

I'm using the FaxDocument.Submit() method to send faxes to the fax
server. The documentation says that it will return a list of IDs for
each fax submitted (which it does). But I find that on XP those IDs are
in decimal and on 2003 they are in hex. Is there any way of knowing
whch format they are being returned in?

Thanks,
Bob Herzberg
 
A

Alex Feinman [MVP]

You should treat it as an array of strings. Do not try to convert them to
numbers.
 
O

Orbian

Alex said:
You should treat it as an array of strings. Do not try to convert them to
numbers.

--
BUt the problem is the strings are different and need to be converted
(on XP at least) because when the submit returns I will have an ID of
the fax job. I should then be able to use this ID to lookup the job in
the outgoing queue and issue a cancel. But the ids in the outgoing
queue are all in hex where the id returned from Submit() is in decimal
and I can't match the ID's. On 2003 it's not a problem because Submit()
works correctly and returns an ID in hex I can use to lookup a job in
the job queue. I would rather not convert the strings but that seems to
be the only way to get a comparison to work on XP.

Thanks,
Bob
 

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