=) thank u! i'll try later. oh ya. do you know of some websites which have tutorials? our lecturers just threw us this homework without giving any help... once again, thanks! hope you have a great day!!
aurora56
Posts
-
How to build a simple calculator? -
How to build a simple calculator?=) thank you. i have done the codings for each individual buttons. Eg for the button 9: Private Sub btn9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn9.Click TextBox1.Text = 9 temp = 9 End Sub However, I can't figure out what should the code of '+' be. Since when a user clicks on it, he/she will select another number button. So is it simply this: TextBox1.Text = Int(TextBox1.Text) + Int(TextBox1.Text)
-
How to build a simple calculator?Hmm.. no thank you. I think is better if i figure it out myself or maybe you can try help me with my codings. =)
-
How to build a simple calculator?Really? oh, ok. thx for trying to help me. i'll try to figure it out then . thank u....
-
How to build a simple calculator?hmmm... well... i have done the codings for each individual buttons. Eg for the button 9: Private Sub btn9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn9.Click TextBox1.Text = 9 temp = 9 End Sub However, I can't figure out what should the code of '+' be. Since when a user clicks on it, he/she will select another number button. So is it simply this: TextBox1.Text = Int(TextBox1.Text) + Int(TextBox1.Text)
-
How to build a simple calculator?-_-".... ur r making things diff4 me.. n i'm a she not him. n yes, this is a homework. =p
-
How to build a simple calculator?I had a problem. I had to create a simple calculator with VB.Net and this calculator had 0-9 buttons, add and minus function, a = button and a textbox for display of answer. I couldnt figure out the codings for the buttons. hope your can help me. thank you! =)