problem with visual basci program

Posted on 2009-04-08
Last Modified: 2013-12-14
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


picFout.Visible = True

picGoed.Visible = False

End If

End Sub

Private Sub Form_Load()

lblTafel.Caption = tafel

lblSom.Caption = tafel


    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

Question by:bnater
  • 2
LVL 44

Accepted Solution

AndyAinscow earned 500 total points
ID: 24100142
how about
lblUitkomst.Caption = uitkomst

Author Comment

ID: 24101358
LVL 44

Expert Comment

ID: 24104479
If it worked perfectly then why was it only worth a 'B' grade ?

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from ( Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now