NoobConfoobed
Member
- Joined
- Jul 12, 2012
- Messages
- 5
- Programming Experience
- Beginner
OK,
I am BRAND NEW to VB.NET, so please bare with me. I am trying to get the message box to show up with the answer. The answer will be (for now, once I work out how to do this, I will integrate the appropriate sums). Textbox = 40
Where am I going wrong here. I realize that my Cat should be able to do this:
Thanks for your patience.
I am BRAND NEW to VB.NET, so please bare with me. I am trying to get the message box to show up with the answer. The answer will be (for now, once I work out how to do this, I will integrate the appropriate sums). Textbox = 40
Where am I going wrong here. I realize that my Cat should be able to do this:
VB.NET:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Number As Integer
Dim Answer As Integer
Number = TextBox1.Text
Answer = Number + 40
MessageBox = Answer
Thanks for your patience.
Last edited: