Start New Discussion within our Software Development Community

three lines of code to check MS Excel is installed on PC

RegistryKey key = Registry.ClassesRoot;
			RegistryKey excelKey = key.OpenSubKey("Excel.Application");
			bool excelInstalled = excelKey == null ? false : true;
The article starter has earned a lot of community kudos, and such articles offer a bounty for quality replies.