Saving PowerPoint as html using reflection in C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Umesh

    #1

    Saving PowerPoint as html using reflection in C#

    Hi,

    This is the scenario:
    1. I have a dll, a.dll which saves PowerPoint slides as html.
    2. I use
    presentation.Pu blishObjects[1].Application.De faultWebOptions .Encoding =
    Microsoft.Offic e.Core.MsoEncod ing.msoEncoding UTF8; for every slide to
    specify the encoding.
    3. When i refer this a.dll in a exe, test.exe statically, i get the files
    and chacater encoding correct.
    4. But when i use reflection to load a.dll into test.exe at run time, the
    conversion misses some characters for example è, à, ï.
    5. I have verified it on office XP, 2003. The line where i set encoding is
    being executed. Same a.dll is being called in both cases but with different
    results.

    Can anyone help me identify the reasons for this?

    Thank you all in advance.

    Umesh
    --
    Umesh Sharma
    Project Lead
Working...