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 problem to multiple two textboxs ,one is Decimal and second i didnt asign .....
Please check code..
private void textBox18_Leave(object sender, EventArgs e)
decimal first; ...
Hello! I am developing a POS System. I have need to print Sales receipt. I have no physical printer to test my printing but i have print on xps document. ...
In my Food Tab, I wanted to achieve this Click Here
But I only able to get this Click Here
How can I increase the width of the JTextField which ...