JAI MATADI ...
hello .. i want to make CALCULATOR in my VB.NET (2010) ..
but i m facing problem while doin this .. here is ma code below . .
---------------------------------------------------------------------
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text += "1"
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
TextBox1.Text += "2"
End Sub
Private Sub Buttonplus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
TextBox1.Text = "+"
End Sub
Private Sub ButtonEqual_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button15.Click
TextBox1.Text = WHATTTT ..????
End Sub
---------------------------------------------------------------------
now what i want is to create a "EQUAL TO" code in VB.NET ..
i did this method in JAVASCRIPT and made a code by using "EVAL" in javascript ..
but there is not this sought of thing available in VB.NET ..
please tell me how to Evalute the values of TExtbox noww . .
i want to use the same method only need not do with other method as m finding my self an easy method this one ..
please tell me how to and wht to do noww ..
hello .. i want to make CALCULATOR in my VB.NET (2010) ..
but i m facing problem while doin this .. here is ma code below . .
---------------------------------------------------------------------
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text += "1"
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
TextBox1.Text += "2"
End Sub
Private Sub Buttonplus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
TextBox1.Text = "+"
End Sub
Private Sub ButtonEqual_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button15.Click
TextBox1.Text = WHATTTT ..????
End Sub
---------------------------------------------------------------------
now what i want is to create a "EQUAL TO" code in VB.NET ..
i did this method in JAVASCRIPT and made a code by using "EVAL" in javascript ..
but there is not this sought of thing available in VB.NET ..
please tell me how to Evalute the values of TExtbox noww . .
i want to use the same method only need not do with other method as m finding my self an easy method this one ..
please tell me how to and wht to do noww ..