?
Solved

Calculator

Posted on 2001-07-19
7
Medium Priority
?
248 Views
Last Modified: 2013-12-18
Does anyone know of any calculator add-ins, formulas, scripts?  I want a button or something in a form where the user could perform weight conversions. And if that's not possible what code would I use to bring up Window's Calculator?  Thanks.
0
Comment
Question by:schmad01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 4

Expert Comment

by:sloeber
ID: 6298629
you can always make your own calculator.
It's not necessary, I believe that it's a flashy one.
So jou must just make one number-field editable, and one dialog list or something like that with possible conversions.
It's not difficult.

If you dont't know how to do that just let us know

Greets,
Sloeber
0
 

Expert Comment

by:chiranjp
ID: 6309636
Try this straight from Notes help:

The following example is specific to Windows:
' Start the Windows Calculator as a normal (not minimized)
' window with focus.
Dim taskId As Integer
taskId% = Shell("CALC.EXE", 1)
0
 

Author Comment

by:schmad01
ID: 6309693
In response to sloeber, if at all possible I like to make my own calculator, but I am not sure how.  We only use gallons, grams, kilograms and pounds.  I would need the calculator to do this:  If contracts are made where the contract price is either per pound or per gallon, I would need to be able to calculate the quantity ordered in either gallons,grams, kilograms or pounds. Does that make sense?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 4

Accepted Solution

by:
sloeber earned 400 total points
ID: 6316164
Yes,
Just make a couple of fields
The first field is a number field and is editable.
The second field is a dialog list field and Use formula for choices(second tab), where you write on each row the possible values, gallons, grams, kilograms and pound.
You can give a default value
Your third field is calculated.
And your fourth field is the same as your second, also a dialog list with the values gallons, kilograms, .........

So, If your contract price is made in pounds and you want to calculate it in kilogram, you must just divide it by two.
example
You write in your first field 20
you write in your second field pounds
you write in your fourth field kilograms
Your third field will be 10
This is the formula for your third field
@If(Field1="";"";Field4="";"";Field2="Pounds" and Field4 = "Kilograms"; Field3 = (Field1 / 2); Field2="Kilograms" and Field4="Pounds";Field3 = (Field2 * 2) ;"")

So, you must add for each value a calculation.
Then he automatically calculates your value if you change a value.
DONT forget set automatically refresh field.... in your form properties.
You have also in the dialog key list the options to automatically refresh the fields after keyword change.

I hope that you know now enough about making a calculator.
If you have more question let  us know.
you can also add a nice background or something like that.
Or you can make for each value (kilograms, pounds, ....)
a seperate button, so that when the user click on one of the buttons he automatically updat the calculation.

Greets,
Sloeber

0
 
LVL 10

Expert Comment

by:zvonko
ID: 7026744
Hello schmad01,

please complete this question.

Thenks,
zvonko

0
 

Expert Comment

by:f1998341
ID: 7948846
Dim taskId As Integer
taskId% = Shell("CALC.EXE", 1)

this works in notes client...
Can anyone tell me as to how this calc can be run from the web????
0
 

Expert Comment

by:SpideyMod
ID: 8293817
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question