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?
1) You can simply add a hyperlink, directly onto the form, to the
calculator:
Insert + Hyperlink
Enter the address in the Address box.
In my computer it's at
C:\WINDOWS\system32\calc.exe
Or ...
2) You can add a label to the form and use it's Click event to Call
the calculator:
Application.FollowHyperlink "C:\WINDOWS\system32\calc.exe"
Or ..
3) You can add the calculator to the form as a OLEUnbound package.
Insert + Object + Create From File
Browse to the calculator file.
The object will be inserted at the top left corner of the section.
Move the object wherever you wish.
Set the OLEUnbound control's Locked property to No, and it's enabled
property to Yes.
Open the form.
Double-click on the object to open the calculator.
In either case the calculator will be shown.
Position it where you wish.
When you navigate to the next record the calculator will be minimized
until needed again. When you activate it again, it will appear in the
same position it was last in during this session.