Hi,
I'm just starting out on VB.net 2003 and attend Devry in my first year. I hope everyone can be patient with me as I said before I'm really new at this.
I'm doing a lab this week and have a question on declaring variables. This is what I have so far:
I need to be able to input a number in a textbox from 101-500 and if the number is in that range then it has to display in the textbox on the form. If not then I have to display a message like "number too small, try again"
Our textbook that we're using doesn't explain things very well so that's why I'm here seeking help.
This is how I declared the variable:
Dim TextBox1_Input AsInteger
In the stub for the tex box I have:
If (TextBox1_Input>= 500)else [(TextBox1_Input <=101)]
EndIf
When I try to test the program I get a pop up that says "build errors" and on the bottom it has "End of statement expected"
I can't figure out what the end of statement is supposed to be. I thought an end of statement was end if?
thank you to anyone who can help me through this.
Tom
You'll probably see alot of me over the next 8 weeks.
Can someone tell me what I'm doing wrong?
I'm just starting out on VB.net 2003 and attend Devry in my first year. I hope everyone can be patient with me as I said before I'm really new at this.
I'm doing a lab this week and have a question on declaring variables. This is what I have so far:
I need to be able to input a number in a textbox from 101-500 and if the number is in that range then it has to display in the textbox on the form. If not then I have to display a message like "number too small, try again"
Our textbook that we're using doesn't explain things very well so that's why I'm here seeking help.
This is how I declared the variable:
Dim TextBox1_Input AsInteger
In the stub for the tex box I have:
If (TextBox1_Input>= 500)else [(TextBox1_Input <=101)]
EndIf
When I try to test the program I get a pop up that says "build errors" and on the bottom it has "End of statement expected"
I can't figure out what the end of statement is supposed to be. I thought an end of statement was end if?
thank you to anyone who can help me through this.
Tom
You'll probably see alot of me over the next 8 weeks.
Can someone tell me what I'm doing wrong?