hi, i have included com libraries and i have access to any method but i can not find which method returns total number of slides. anybody has a idea? i crossed all msdn ( at leas for 2 hours ) and googled but couldnt find solution:( i have visual studio 2008 and office 2007 and .net3.5 installed.
Hi, Something like that should do the job : ApplicationClass pptApplication = null; Presentation pptPresentation = null; pptApplication = new ApplicationClass(); pptPresentation = pptApplication.Presentations.Open(...); int slidesCount = pptPresentation.Slides.Count; Cheers G. "ahmetozan" wrote: > hi, > > i have included com libraries and i have access to any method but i can not > find which method returns total number of slides. anybody has a idea? i > crossed all msdn ( at leas for 2 hours ) and googled but couldnt find > solution:( i have visual studio 2008 and office 2007 and .net3.5 installed.