none
C# Winform: How play powerpoint slide inside webbrowser control RRS feed

  • Question

  • i saw couple of sample code searching google and people said we can run ppt slide show inside webbrowser controls. so i did the same.

    here is my code

        webBrowser1.Dock = DockStyle.Fill;
        webBrowser1.Navigate("about.blank");
        webBrowser1.Navigate(@"e:\Presentations-Tips.ppt");

    when i run the code then a dialog come which ask me to choose one option out of 3 and i select open option. after selection open option power point apps open but no slide show run in my webbrowser control.

    here is the screen shot enter image description here

    i want to run ppt slide show inside my browser controls and i want also no dialog should come with 3 options and also ppt app should not run.

    so guide me how could i run ppt slide show in my browser control without opening power point application. thanks

    Sunday, February 5, 2017 9:29 PM

Answers