I
Indian Ocean
Hi,
I have MS Office 2003 and Microsoft Office Compatibility Pack for Word,
Excel, and PowerPoint 2007 File Formats installed on my machine.
I have Word 2003 PIAs and Word 2007 PIAs installed on this machine too
(VS2005 with VSTO and VS 2008 is installed).
Note: This machine has not MS Office 2007 installed.
Now, I am trying to use ExportAsFixedFormat method to generate PDF from one
docx document on above machine.
I am referring sample from
http://msdn.microsoft.com/en-us/library/bb412305.aspx
The program compiles fine and recongnises the APIs in this machine because
of Office 2007 PIAs installed on this machine.
When I run this program, it gives the following exception,
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt
for this, I referred,
http://social.msdn.microsoft.com/Fo...l/thread/ce805536-0871-4dea-8f22-1094d1887df2
Which says, its not possible for MS Office 2003 but as I have installed
Compatibility pack too which should allow me to do that.
Can anyone please guide on this?
I have MS Office 2003 and Microsoft Office Compatibility Pack for Word,
Excel, and PowerPoint 2007 File Formats installed on my machine.
I have Word 2003 PIAs and Word 2007 PIAs installed on this machine too
(VS2005 with VSTO and VS 2008 is installed).
Note: This machine has not MS Office 2007 installed.
Now, I am trying to use ExportAsFixedFormat method to generate PDF from one
docx document on above machine.
I am referring sample from
http://msdn.microsoft.com/en-us/library/bb412305.aspx
The program compiles fine and recongnises the APIs in this machine because
of Office 2007 PIAs installed on this machine.
When I run this program, it gives the following exception,
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt
for this, I referred,
http://social.msdn.microsoft.com/Fo...l/thread/ce805536-0871-4dea-8f22-1094d1887df2
Which says, its not possible for MS Office 2003 but as I have installed
Compatibility pack too which should allow me to do that.
Can anyone please guide on this?