Options

how to invoke the Shell command with a dotnet assembly

bultelabultela Member Posts: 6
edited 2014-10-28 in NAV Three Tier
Hello all,

I am creating inside Navision a calculation engine with a more or less complex structure.

Example, after having calculated the value of all my variables, I get the following expression in a field :
(18*(3/(4+2))*5)/3 +9

The number of brackets can change. It is difficult to do it in Navision;

That's the reason why I had the idea to run the windows calculator (without opening it) to pass in the calc.exe program the expression (example : (18*(3/(4+2))*5)/3 +9) and to get the result (24).

I thought at the shell command which could be run before NAV 2013 with an automation variable.
But I have now to do it with Dotnet;

Does anyaone have an idea of the name of the name of the assembly to use and which syntax can be used to run the calculator with a formula as parameter ?

I woul really an answer from you.

Best regards

M. Bultel

Comments

Sign In or Register to comment.