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 just wanna ask because the submission of my restaurant POS System will be tomorrow. it is a very hard time for me. here are the requirements:
Restaurant POS ...
#define A 3// name a constant
long int booking_ID ; ...
im intending to make a brackets checking code that will check some code and look if there's any brackets mistakes in it,
i started like this :
int i=0; ...