|
-
Oct 30th, 2008, 01:36 PM
#1
Thread Starter
Lively Member
Combo Box help
Hey,
I have two textboxes, basically its like a simple calculator
I have + in the combo box but I can't work out how to make this work.
Dim value1, value2, equals As Integer
value1 = tbValue1.Text
value2 = tbValue2.Text
If cbOperator.SelectedItem = "+" Then
lblEquals.Text = value1 + value2
lblEquals.Text = "= " & equals
End If
What am I doing wrong? Thanks!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|