
Kindly let me know if question is not clear. How can I embed the document into pdf.? How do we usually handle this kind of situations. But the document which i embedded is not getting embedded into the generated pdf. Ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing) Ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, Now When I tried to save this word document as pdf, using d.SaveAs(ref filename, ref filetype, ref oMissing, ref oMissing, ref oMissing, Ref index, ref oIconLabel, ref oMissing) Ref oClassType, ref oFileDesignInfo, ref oFalse, ref oTrue, ref oMissing, Range r = d.Bookmarks.get_Item(ref eod).Range Object oClassType = "AcroExch.Document.7" Object oIconLabel = new FileInfo(file_path).Name Problems Raised: I have successfully embedded a pdf into my document using following code. Process adapted: Since I am using word 2011 and word 2007 (after installing saveaspdf plugin), I am saving the document in pdf using "save as" and then file type as pdf. As a next step, I am looking to convert this into pdf. I am successful in inserting tables, headers, footers, diagrams.most of the things are working fine. Restart your computer after this then see if this fixes it.Background: I am trying to generate a word document using c# and Interop.

After this, double-click (Default) to modify it then enter the actual path of your Adobe product which is somewhat similar to the paths listed above. When the registry path “HKEY_CLASSES_ROOTSoftwareAdobeAcrobatExe” is finished, go to Edit, New, String Value and then name this key as without quotes “(Default)”. Create the entry “HKEY_CLASSES_ROOTSoftwareAdobeAcrobatExe” by going to Edit, New, Key.

Enter without quotes “regedit” then hit Enter. But in case this registry item doesn’t exist in the registry, create a new entry.

If you see a different value in the default path, change it to the actual path of your Adobe product. Make sure that the default path for Adobe Acrobat or Adobe Reader is similar to these:Ĭ:Program FilesAdobeReader 9.0ReaderAcroRd32.exe – default path for Adobe ReaderĬ:Program FilesAdobeAcrobat 9.0AcrobatAcrobat.exe – default path for Adobe Acrobat When the Registry Editor opens, go to this location in the registry. To do this, click Start then Run, type without quotes “regedit” then hit Enter.

One is to check the registry path for Adobe Acrobat or Adobe Reader. There are different methods of checking the problem regarding AcroExch. AcroExch is associated with both Adobe Reader and Adobe Acrobat.
