Click here to Skip to main content
14,244,275 members

How to Check Whether PowerPoint is Installed in the System or Not

Rate this:
5.00 (6 votes)
Please Sign up or sign in to vote.
5.00 (6 votes)
3 Dec 2013CPOL
After the tip on Excel and Word, here we will explore the trick to verify whether Powerpoint is installed in the client's system or not by C#.


After the tip on Excel and Word, we are going to do the same for Microsoft Powerpoint.

If you are using Microsoft.Office.Interop.PowerPoint for Powerpoint related operations in your application, then you must check if Powerpoint is installed in the client machine or not. This tip gives you that trick.


This little piece of code is a result of the research after the comment by Marco Bertschi on my previous tip (How to Check Whether Excel is Installed in the System or Not). Thanks a lot Marco. :)

Nice one, Tadit - It might be even improvable by providing information what the ProgID for the other office applications are (Word etc., but maybe even Visio or MS Project).

Using the Code

We will use the Type class and its method Type.GetTypeFromProgID Method (String).

Gets the type associated with the specified program identifier (ProgID), returning null if an error is encountered while loading the Type.

Return Value 

Type: System.Type

The type associated with the specified ProgID, if progID is a valid entry in the registry and a type is associated with it; otherwise, null.

For Powerpoint, the ProgID is Powerpoint.Application. So, the below code is used to check whether Powerpoint is installed or not.

Type officeType = Type.GetTypeFromProgID("Powerpoint.Application");

if (officeType == null)
    // Powerpoint is not installed.   
    // Show message or alert that Powerpoint is not installed.
    // Powerpoint is installed.    
    // Continue your work.


  • 3 December 2013 - First version submitted for approval.


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


About the Author

Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Software Developer Mindfire Solutions
India India
Official Facebook Page - Tadit Dash

Proud Indian | Microsoft MVP | CodeProject MVP | Speaker | Author | DZone Most Valuable Blogger | Community Expert | Moderator | jsfiddler | Cook | Dancer

Currently working @Mindfire Solutions.
Love to code and help guys to Trap the Bug.

My Tech Blog

Programming Community Profiles

jsfiddle | Stack Overflow

Other Blog Profiles

Mindfire CRM Team Blog | Mindfire Blog

Social Profiles

Facebook | Twitter | LinkedIn | Google+


  1. DZone Most Valuable Blogger
  2. Microsoft MVP 2014, 2015, 2016
  3. Code Project MVP 2014, 2015, 2016
  4. Star Achiever of the Month December 2013
  5. Mindfire Techno Idea Contest 2013 Winner
  6. Star of the Month July 2013
  7. </

Comments and Discussions

GeneralMy vote of 5 Pin
Sibeesh KV13-Nov-14 17:57
professionalSibeesh KV13-Nov-14 17:57 
GeneralRe: My vote of 5 Pin
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)17-Nov-14 2:25
protectorTadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)17-Nov-14 2:25 
GeneralRe: My vote of 5 Pin
Sibeesh KV17-Nov-14 2:27
professionalSibeesh KV17-Nov-14 2:27 
GeneralMy vote of 5 Pin
Marco Bertschi4-Dec-13 2:12
protectorMarco Bertschi4-Dec-13 2:12 
GeneralRe: My vote of 5 Pin
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)4-Dec-13 2:18
protectorTadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)4-Dec-13 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Posted 3 Dec 2013


5 bookmarked