SCRIPT : http://www.2shared.com/file/NvAAdVGW/InteropMSScriptControl.html
CODE :
Dim a as new msscriptcontrol.scriptcontrol
a.language = "vbscript" ' language will be vbscript , set some other like javascript and it will still work
try
label1.text = a.eval(textbox1.text)' label1.text will be the result , and the expression will be textbox1.text
catch
msgbox("error") ' if the expression cannot be calculated , msgbox pops up
end try
this tutorial shows u how to make textbox calculator !
---------------------------------------------------------------
WEBSITE : http://mvbmaster.blogspot.com/
SUBSCRIBE : http://www.youtube.com/user/MVBMaster
http://feeds.feedburner.com/VisualBasicTutorials
visual basic 3. lesson mvbmaster textbox calculator tutorial tutorials windows maker computer linux school teacher desktop apple lessons learn student education students teachers free tube plans language resource resources back university homeschool teaching ubuntu speak software
The system must of crashed and deleted like 322,354,346,343 views off this video :P
JammexB 5 months ago
@JammexB you type "if rgb1 , rgb2 , rgb3 > 255 then
msgbox("Error must type number between 0 and 255")
MVBMaster 5 months ago
I Still dont Understand why all of your videos have a little views!You explane everything verry verry nice and i will subscribe and like! :)
ExcessTutorials 5 months ago
@ExcessTutorials Because i made this channel 2 days ago :D
MVBMaster 5 months ago
@MVBMaster Well for 2 days you are going verry well!
ExcessTutorials 5 months ago
@ExcessTutorials Thnx !
MVBMaster 5 months ago