hilliolouis
Programmer
How would I convert a string of a sum (e.g. 2+5) into its actual mathmatical answerv (e.g. 7). Just making a quick calculator app and I am stuck here. Any help appriciated
Louis Hill
Louis Hill
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[Blue]Dim[/Blue] sc [Blue]As[/Blue] [Blue]New[/Blue] MSScriptControl.ScriptControl
sc.Language = [Red]"VBScript"[/Red]
TextBox3.Text = sc.Eval(TextBox2.Text).ToString
sc = [Blue]Nothing[/Blue]