hey, im kinda new to VB, and i was wondering how to get a string operation to be read as a mathematics function. if anyone could help me that would be great. if you could email that would be even better.

<snip>

hey, im kinda new to VB, and i was wondering how to get a string operation to be read as a mathematics function. if anyone could help me that would be great. if you could email that would be even better.

<snip>

'Im not sure if there is an easy way, but, you can always create your own text reader. use ascii to search numeric values use the mid function, give it a try.

Or you can go to here to see how to

run vb code from a string.

Define a variable, let's say A as Double

now, let's say you write down 2+2 in you textbox.

The string to be run should contain "A = " & textbox1.text

and after that you can return A.