How we can detect that MS Excel is installed in Silverlight 4 and C# ?
Can I use somehow this code or ??
dynamic excelApp;
excelApp = AutomationFactory.CreateObject("Excel.Application");
if (excelApp != null)
{
// MS Excel is installed!
}
Thank you!
check this registry path:
Replace 12.0 (for Office 2007) with the corresponding version number:
check this link for more info.