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;
i forgot to say that you have to add Microsoft.Win32 namespace
Are you able to help answer this sponsored question?
Questions asked by members who have earned a lot of community kudos are featured in order to give back and encourage quality replies.
I have a web application I am trying to obfuscate portions of it, but use library mode so that all the public portions of the application should appear with names ...
For some reason the make_great function is not affecting the output of the show_magicians function. I'm trying to alter the list but it's not working.
# the make_great function is ...
Please help me about MenuStrip Control used.
I create a project there one parents form and two child form
MenuStripControl-1 is on parents form (main_form)
Menu Item name a) ...