This is a very simple calculator made with HTML and coded with VBScript. This hta file simply evaluates the expression in the text box. The expression can be entered using the mouse to click the buttons or else from the keyboard. To prevent the chance of invalid data being entered, only numerical keys and the signs are allowed on the keyboard. Also you can use Enter key to evaluate the expression and C to clear the text box.
To make the calculator just save the following code with a .hta extension using notepad. Hope this code helps you improve your scripting!
Done.! Enjoy .!
This comment has been removed by a blog administrator.
ReplyDeletePlease don't copy posts from my blog! If you decide to copy a post at least put my blog link at the bottom of the post.
ReplyDeleteLink: http://neobytes-computertricks.blogspot.com/