Click to See Complete Forum and Search --> : Opening system calculator


Jim1981
May 9th, 2003, 05:22 AM
Hi Guys,

Is there a way to open up the windows system calculator, when a button is pressed on a website for example?

In Javascript?

Any ideas anyone?

Thanks in advance,

Jim

Jim1981
May 9th, 2003, 05:46 AM
Quick note. I really need to have this without any warning popups.

The main problem I have is not knowing which directory the calculator is in.

Satishpp
May 9th, 2003, 10:57 AM
Browsers will not allow an external program to be called from script. So the windows calculator cannot be invoked.

Try having a javascript calculator on your page (maybe as a popup)

Search the web for examples

Like this one here (http://stud4.tuwien.ac.at/~e9125168/javas/jcalc.html)

Satish

Jim1981
May 9th, 2003, 11:41 AM
Originally posted by Satishpp
Browsers will not allow an external program to be called from script. So the windows calculator cannot be invoked.

Try having a javascript calculator on your page (maybe as a popup)

Search the web for examples

Like this one here (http://stud4.tuwien.ac.at/~e9125168/javas/jcalc.html)

Satish

Yes, after thinking about it, I see you are obviously right.

I did manage to get the calculator displaying, but only with warnings.

Thanks for the help.