Archived from groups: microsoft.public.win2000.fax,microsoft.public.windowsxp.print_fax (More info?)
I use the Microsoft Fax Service Extended COM Library.
I submit a document to the local fax server using the
FaxDocument.ConnectedSubmit method and I get back the job ID.
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxinta_n_5cfo.asp))
MSDN example - Sending a Fax:
http://msdn.microsoft.com/library/ [...] g_27co.asp
I want to retrieve the same job ID on the
FaxServer_OnOutgoingJobChanged event (so as to move the sent document
to another folder).
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxinto_z_3xus.asp)
MSDN example - Registering for Fax Events:
http://msdn.microsoft.com/library/ [...] g_3u5v.asp
The problem is that the job ID returned from the
FaxDocument.ConnectedSubmit method (ex. 144613567377692395) is
different from the bstrJobId parameter of the
FaxServer_OnOutgoingJobChanged event (ex. 201c545f93fd6eb). Can you
help me?
Archived from groups: microsoft.public.win2000.fax,microsoft.public.windowsxp.print_fax (More info?)
The sample is wrong. ConnectedSubmit returns an array of strings - JobIDs,
since one document may contain multiple adressees and result in multiple
jobs.
You can see it on this page:
http://msdn.microsoft.com/library/ [...] n_5cfo.asp
--
Alex Feinman
---
Visit http://www.opennetcf.org "Hraklhs" <verb13@hotmail.com> wrote in message
news:8a4239d8.0504201519.793715db@posting.google.com...
>I use the Microsoft Fax Service Extended COM Library.
>
> I submit a document to the local fax server using the
> FaxDocument.ConnectedSubmit method and I get back the job ID.
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxinta_n_5cfo.asp))
> MSDN example - Sending a Fax:
> http://msdn.microsoft.com/library/ [...] g_27co.asp >
> I want to retrieve the same job ID on the
> FaxServer_OnOutgoingJobChanged event (so as to move the sent document
> to another folder).
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxinto_z_3xus.asp)
> MSDN example - Registering for Fax Events:
> http://msdn.microsoft.com/library/ [...] g_3u5v.asp >
> The problem is that the job ID returned from the
> FaxDocument.ConnectedSubmit method (ex. 144613567377692395) is
> different from the bstrJobId parameter of the
> FaxServer_OnOutgoingJobChanged event (ex. 201c545f93fd6eb). Can you
> help me?
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.