Thread: Schoolwork help
View Single Post
Old Dec 4th, 2005, 5:44 AM   #5
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
Quote:
Originally Posted by Psychosis
Private Sub btnClick_Click()
intNumber As Integer

intNumber = intNumber + 1

lblCount.Caption = "Count: " + intNumber

End Sub
Maybe it has changed in newer version, but shouldn't it be:
lblCount.Caption = "Count: " & intNumber

Absolutely not sure, I haven't touched VB for a few years.
Polyphemus_ is offline   Reply With Quote