Publish API fails for pfPDF

D

dyowee

Good day!
I'm trying to use the Publish method of the OneNote 2007 API
programmatically. Using pfOneNote as the pfPublishFormat and empty string for
the bstrCLSIDofExporter, it works. But if I use pfPDF as the format, it
fails. I thought an empty string should also be used for the CLSID since it
is a supported format. Or is there a value that I should use?

Thanks.
 
I

Ilya Koulchin

dyowee said:
I'm trying to use the Publish method of the OneNote 2007 API
programmatically. Using pfOneNote as the pfPublishFormat and empty string for
the bstrCLSIDofExporter, it works. But if I use pfPDF as the format, it
fails. I thought an empty string should also be used for the CLSID since it
is a supported format. Or is there a value that I should use?

What is the error code returned by the API?
Also, do you have the save as PDF addin for Office 2007 installed? See
http://www.microsoft.com/downloads/...11-3E7E-4AE6-B059-A2E79ED87041&displaylang=en
for details.

Ilya
 

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