Using MS Caculator in Access

  • Thread starter Thread starter anonymous
  • Start date Start date
A

anonymous

Can I mount the MS calculator to a form in Access. Its a
form that features various accounting formulas, and I
wanted to offer the users a calculator that's always in
the left hand corner of the screen.

If not, is there a VBA syntax for calling the calculator
with out the user havign to go to: StartMenu/Accessories
themselves?
 
Depending on how sophisticated a calculator you need, it shouldn't be that
difficult to create your own by adding buttons with the numbers and
arithmetic operations and then using Eval to evaluate the resultant string.

As far as I know, you can't automate Calculate through code. However, you
can open it using the Shell command. Since it's usually in the System32
subfolder, which is usually in the system's Path, you should be able to
simply use:

Shell("calc.exe")

If that doesn't work, you'll need to find the full path to the program.
 
anonymous said:
Can I mount the MS calculator to a form in Access. Its a
form that features various accounting formulas, and I
wanted to offer the users a calculator that's always in
the left hand corner of the screen.

If not, is there a VBA syntax for calling the calculator
with out the user havign to go to: StartMenu/Accessories
themselves?
 
anonymous said:
Can I mount the MS calculator to a form in Access. Its a
form that features various accounting formulas, and I
wanted to offer the users a calculator that's always in
the left hand corner of the screen.

If not, is there a VBA syntax for calling the calculator
with out the user havign to go to: StartMenu/Accessories
themselves?
 
Back
Top