ppt & C#
-
Wednesday, May 11, 2011 6:22 AM
I need to know how to use ppt programmically from c#
like:
open ppt , show the ppt, inc one page, few pages , change volum etc.
I would loved to be helped!
All Replies
-
Wednesday, May 11, 2011 6:34 AM
Here is one free PowerPoint Viewer ActiveX Control for you to try viewing the powerpoint file (ppt, pps file) in VB.NET application.
http://www.daolnwod.com/free-powerpoint-viewer-activex.html
After you download and install the powerpointviewerdemosetup.exe from above link, the ActiveX control has been registered, you will find VB.NET code sample under default installation path C:\Program Files\PowerPoint Viewer ActiveX Control\Examples\VB.Net.
The activeX control will locate at C:\Program Files\PowerPoint Viewer ActiveX Control\PowerPointViewer.ocx.
You can manually register the ActiveX control using Regsvr32.exe tool:
http://support.microsoft.com/kb/249873
Add the ActiveX control to Toolbox:
Right-click Toolbox -> Choose items -> COM components -> Locate PowerPoint Viewer ActiveX Control and add it
Then you can drag&drop it onto your Form
Please "Mark as Answer" if this post answered your question. :)
Kalpesh Chhatrala | Software Developer | Rajkot | India
Kalpesh 's Blog
VFP Form to C#, Vb.Net Conversion Utility- Marked As Answer by lucy-liuModerator Monday, May 23, 2011 5:24 AM
-
Friday, May 13, 2011 3:52 AMModerator
Hi Racheli,
We can learn how to use ppt in c# from the following links:
This article tells about the automation of PowerPoint 97 and PowerPoint 2000 Viewers:
http://support.microsoft.com/kb/265385
This link tells about how to open powerpoint using c#:
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/6c60afa6-5b17-4df8-bbd2-286a0cf60ae8
This article tells about how to handle PowerPoint events with Visual C# .NET:
http://support.microsoft.com/kb/308825
Related threads:
http://www.codeproject.com/Messages/2839881/Re-Run-ppt-with-Csharp-urgent.aspx
http://www.codeproject.com/Questions/131761/Open-PowerPoint-Application-using-csharp.aspx
http://stackoverflow.com/questions/217890/using-c-to-display-powerpoint
If you have solved this issue, please mark the useful reply as answer.
Best regards,
Lucy
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


