none
Microsoft.Office.Interop.PowerPoint / OFFICECORE.MsoTriState.msoTrue - does not work visible published / web RRS feed

  • Question

  • Hello guys,

    Podem me ajudar?

    this solution works locally, but when published .ppt does not open, the server has office installed, but it does not work (OFFICECORE.MsoTriState.msoTrue or OFFICECORE.MsoTriState.msoFalse), does not change anything.
    I want to open the .ppt or .pptx for the client edit, is it possible?

    My code:

    string filepath = Server.MapPath("~/App_Data/TemplateTeste.pptx");

    POWERPOINT.Application App = new Microsoft.Office.Interop.PowerPoint.Application();
    POWERPOINT.Presentation pres = App.Presentations.Open(filepath, OFFICECORE.MsoTriState.msoFalse, OFFICECORE.MsoTriState.msoTrue, OFFICECORE.MsoTriState.msoTrue);

    App.Quit();

    PS: has no error, but does not open .ppt.

    thanks so much ...

    • Moved by CoolDadTx Tuesday, March 13, 2018 6:06 PM ASP.NET related
    Tuesday, March 13, 2018 2:26 PM

All replies