wessamzeidan Posted February 25, 2004 Posted February 25, 2004 How can I add media(pictures, animations) to powerpoint programmatically. Is it possible???? Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
wessamzeidan Posted April 29, 2004 Author Posted April 29, 2004 If any one is interested... Dim presentation As PowerPoint.Application presentation = New PowerPoint.Application presentation.Visible = Microsoft.Office.Core.MsoTriState.msoCTrue presentation.Presentations.Add() presentation.Presentations.Item(1).Slides.Add(1, PowerPoint.PpSlideLayout.ppLayoutBlank) presentation.Presentations.Item(1).Slides.Item(1).Shapes.AddPicture("image.jpg", Microsoft.Office.Core.MsoTriState.msoCTrue, Microsoft.Office.Core.MsoTriState.msoCTrue, 0, 0) presentation.Presentations.Item(1).Slides.Item(1).Shapes.AddMediaObject("sound.wav") Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Recommended Posts