How to fix anything

Search for :


Google this page is not a duplicate


advanced c# coding check if office products exists

Type outlookType = Type.GetTypeFromProgID("Outlook.Application");
Type excelType = Type.GetTypeFromProgID("Excel.Application");
Type powerpointType = Type.GetTypeFromProgID("Powerpoint.Application");
Type wordType = Type.GetTypeFromProgID("Word.Application");


if (outlookType == null)
{
""" // outlook is not installed
}
" else
" {
""" // outlook is installed
" }


    IP