problem with visual basci program

compile error:
invalid use off property
rivate Sub cmdEnter_Click()
 
    txtNaam.Text = ""
 
If IsNumeric(txtNaam.Text) Then 'bepaalt of invoer getal is
 
 
 
    ' herhaling
    For teller = 1 To 100
        uitkomst = (worp * tafel)
        lblUitkomst.Caption (uitkomst)  ERROR COMPILE
    Next worp
 
picGoed.Visible = True
picFout.Visible = False
 
Else
picFout.Visible = True
picGoed.Visible = False
End If
 
 
End Sub
 
 
Private Sub Form_Load()
lblTafel.Caption = tafel
lblSom.Caption = tafel
Randomize
    worp = Int((10 - 1 + 1) * Rnd + 1)
lblGetal.Caption = worp
 
 
 
 
 
End Sub
 
Private Sub lblUitkomst_Click()
uitkomst = lblSom * lblGetal
 
End Sub

Open in new window

bnaterAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AndyAinscowConnect With a Mentor Freelance programmer / ConsultantCommented:
how about
lblUitkomst.Caption = uitkomst
0
 
bnaterAuthor Commented:
thx
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
If it worked perfectly then why was it only worth a 'B' grade ?
0
All Courses

From novice to tech pro — start learning today.