Thread: Schoolwork help
View Single Post
Old Dec 3rd, 2005, 6:53 PM   #4
Psychosis
Newbie
 
Join Date: Nov 2005
Posts: 5
Rep Power: 0 Psychosis is on a distinguished road
Okay, here's the GUI:



And here's my code:

Quote:
Originally Posted by MyCode
Private Sub btnClick_Click()
intNumber As Integer

intNumber = intNumber + 1

lblCount.Caption = "Count: " + intNumber

End Sub
Yet I get a compile error stating: "Statement invalid outside type block" - from what I "understand", my space for the text to accumulate is big enough...
Psychosis is offline   Reply With Quote