Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi

 

The problem I am facing is to take a Word Document, insert a new 1st page (which will be another Word Document with a single page), and save the new version as a PDF.

 

I have found a solution using VS 2005 and Office automation, by programmatically opening Word 2007, using the Range.InsertFile method to insert the new document, and then using the new WdSaveFormat.wdFormatPDF to save as a PDF.

 

However, this solution would not be ideal seeing as the application is a server side component which is unattended, and this goes against what Microsoft advises for Office automation.

 

Would the same functionality be possible with VSTO?

 

Unfortunately for me I'm using Word 2007 / VS 2005 - all of the VSTO samples seem to be for Word 2003 and/or VS 2003.

What if the Hokey-Pokey IS what it's all about?
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...