| | |
How to run the powerpoint presentation (.ppsm) file using C# in web based application
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2009
Posts: 3
Reputation:
Solved Threads: 0
How to run the powerpoint presentation (.ppsm) file using C# in web based application
0
#1 May 29th, 2009
Hi all,
I want to run .ppsm file in slideshow window using c# in web based application without opening presentaion in powerpoint. I was given anchor link like following -
<a href="CD-12 Open Value Module EMEA and Latam BlackWhite.ppsm"> Open/Save </a>
When I open html page in IE8 and click on "Open/Save" link it launch a open/Save dailog box and when click on Open button it open the .ppsm file in powerpoint application but not run the file in slideshow window.
So please help me How to run the .ppsm file using C# in web based application.
Please give me code example if this is possible in web based application using C#.
Thanks in Advance
Regards,
Anil Dwivedi
I want to run .ppsm file in slideshow window using c# in web based application without opening presentaion in powerpoint. I was given anchor link like following -
<a href="CD-12 Open Value Module EMEA and Latam BlackWhite.ppsm"> Open/Save </a>
When I open html page in IE8 and click on "Open/Save" link it launch a open/Save dailog box and when click on Open button it open the .ppsm file in powerpoint application but not run the file in slideshow window.
So please help me How to run the .ppsm file using C# in web based application.
Please give me code example if this is possible in web based application using C#.
Thanks in Advance
Regards,
Anil Dwivedi
•
•
Join Date: May 2009
Posts: 3
Reputation:
Solved Threads: 0
Re: How to run the powerpoint presentation (.ppsm) file using C# in web based application
0
#2 May 30th, 2009
•
•
•
•
Hi all,
I want to run .ppsm file in slideshow window using c# in web based application without opening presentaion in powerpoint. I was given anchor link like following -
<a href="CD-12 Open Value Module EMEA and Latam BlackWhite.ppsm"> Open/Save </a>
When I open html page in IE8 and click on "Open/Save" link it launch a open/Save dailog box and when click on Open button it open the .ppsm file in powerpoint application but not run the file in slideshow window.
So please help me How to run the .ppsm file using C# in web based application.
Please give me code example if this is possible in web based application using C#.
Thanks in Advance
Regards,
Anil Dwivedi
I have tried following code and it work when choose server option as "Use Visual Studio Development Server" in Web tab of Website Project's property and running with Visual Studio. But it doesn't work When I choose server option as "Use Local IIS Web server" in Web tab of Website Project's property and also it doesn't work when i deploy it on IIS web server & no any exception/error throws as well.
ASP.NET Syntax (Toggle Plain Text)
try { ProcessStartInfo psi = new ProcessStartInfo(MapPath("MaxMinTest.ppsm")); Process p = new Process(); if (psi.FileName.Contains("pptx")) psi.Verb = "Show"; p.StartInfo = psi; p.Start(); } catch (Exception ex) { Response.Write(ex.Message); }
Here I have used [ using System.Diagnostics ] name space.
Please help me If you guys have any solution. It's very urgent
Thanks & Regards,
Anil Dwivedi
Last edited by anil.dwivedi; May 30th, 2009 at 1:54 am. Reason: Added used name space information
![]() |
Similar Threads
- web based application (Community Introductions)
- develop a web based application (MS Access and FileMaker Pro)
- To create web based application (Database Design)
- HELP! build an web-based application on... (Java)
- Difficulties of build an web-based application on Oracle XML DB (Oracle)
- HELP! build an web-based application on... (RSS, Web Services and SOAP)
- Advice required to start WEB based application development (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Gap between menubar and banner
- Next Thread: How do I create a FileOpen Dialog for my web page in C#
Views: 1260 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 activexcontrol advice ajax application asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn chat checkbox child class click compatible confirmationcodegeneration content contenttype countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdown dropdownmenu edit feedback flash flv folder form forms google grid gridview homeedition hosting identity iframe iis index javascript jquery list menu mono mssql multistepregistration nameisnotdeclared object objects order problem profile ratings refer rotatepage save search security serializesmo.table session silverlight smartcard software sql suse textbox tracking typeof unauthorized update validation vb vb.net video view virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt wizard xml





