[HELP]Adding code from outside 02-07-2011, 12:34 AM
#1
Hi 
I didn't know how to name it, so I tried this title

Well... I have this little idea of a math problem brute-forcer.
I was thinking about it how I would do it and I faced a problem.
How can I do in VB that it will count something, what user inputs?
Example: The program has just 1 button: Calculate. And some textbox, I have the feeling I will need richtextbox for this
Anyway, the user will write in the textbox: 1 + 1 and he hits calculate, the program will return "2"
It should work for any math operation: (1 + 1) * ( 2 - 1)
(4 - 1) / 2..........
Thanks a lot!!!
Have a nice day!!!!

I didn't know how to name it, so I tried this title

Well... I have this little idea of a math problem brute-forcer.
I was thinking about it how I would do it and I faced a problem.
How can I do in VB that it will count something, what user inputs?
Example: The program has just 1 button: Calculate. And some textbox, I have the feeling I will need richtextbox for this

Anyway, the user will write in the textbox: 1 + 1 and he hits calculate, the program will return "2"
It should work for any math operation: (1 + 1) * ( 2 - 1)
(4 - 1) / 2..........
Thanks a lot!!!
Have a nice day!!!!
Staff will never ever ask you for your personal information.
We know everything about you anyway.
We know everything about you anyway.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)

![[Image: rytwG00.png]](http://i.imgur.com/rytwG00.png)