Hi~,i'm trying to get a ppt's total slide number,with the office com,but i don't know which method will help,
my code can open a ppt only~
thx in advanced!
my code can open a ppt only~
Code:
Object Nothing = Missing.Value;
PPT.Application apcprint = new PPT.Application();
PPT.Presentations presprint = apcprint.Presentations;
// apcprint.Presentations;
PPT.Presentation preprint = null;
preprint = presprint.Open(filename, Microsoft.Office.Core.MsoTriState.msoCTrue,
Microsoft.Office.Core.MsoTriState.msoCTrue, Microsoft.Office.Core.MsoTriState.msoFalse);
thx in advanced!
Comment