Link to home
Start Free TrialLog in
Avatar of Jini Jose
Jini JoseFlag for India

asked on

textbox input ( 5* 2 ) + (5 * (2 + 3)) - 2 + 3, should get answer 36

textbox input ( 5* 2 ) + (5 * (2 + 3)) - 2 + 3, should get answer 36.

how to do it

Jini
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Avatar of Jini Jose

ASKER

no not through script control
why not? does the job!
not possible
WHY not possible?
WHY reinvent the wheel?
no time to do
i want the vb function code
>no time to do

well, using the vb script control is done in 10 seconds, just check the reference in the project references, put a script control on the form, and use it's eval function.
there will be no faster than that...
Would doing

Eval(txtBox.Value)

bring it up?

txtBox holds your maths  ( 5* 2 ) + (5 * (2 + 3)) - 2 + 3

ASKER CERTIFIED SOLUTION
Avatar of wraith821
wraith821

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that a huge code ha?