I am having a problem when trying to CreateVideo from a PowerPoint using the NetOffice. My code is
var app = new Application();
app.Visible = MsoTriState.msoTrue;
var press = app.Presentations.Open(data.LocalFileName);
//This is the error break:
press.CreateVideo(data.VideoLocalFileName);
I am getting Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME)) in the inner exception.
I tried:
Nothing worked until now. I use 32 bit PC (tried 64 as well), VS2015, Framework 4.5, Office 2007
Please help me.
Regards H
User contributions licensed under CC BY-SA 3.0