Click here to Skip to main content
15,889,863 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any way to play .pps (powerpoint show) file in asp.net webpage
Posted
Updated 23-Mar-12 5:48am
v2

Yes, start here[^]!
 
Share this answer
 
System.Diagnostics.Process.Start(@"C:\WebApplication1\DSE desk_worksurface_work env_routine 2010.ppsx");
use this and this wil play the pps or ppsx file directly when you load your page or by any click button or in iframe, but use also the below class and refrences.
C#
using Microsoft.Office.Core;
using Microsoft.Office.Interop.PowerPoint;
using ppt = Microsoft.Office.Interop.PowerPoint;
using System.Runtime.InteropServices;
 
Share this answer
 
Comments
bmyusuf 14-Oct-12 4:43am    
I don't have Microsoft.Office.Interop.PowerPoint reference. How can I get this reference?
bmyusuf 14-Oct-12 5:41am    
Ok. I found it under Add Reference --> COM --> Microsoft PowerPoint 14.0 Object Library. To find this reference, we must install MS Office with full installation.
bmyusuf 14-Oct-12 6:26am    
@sharad_sharma82 I use your solution and it worked but pps start in powerpoint. Is there any way to start pps in aps.net page to run in that web page? That is pps must embedded to asp.net page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900