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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to become programmer? 12 33
Breakpoint problem 8 83
Visual Studio C# project complains it can't run a dll 5 91
Unable to start eclipse ? 17 134
In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

863 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

21 Experts available now in Live!

Get 1:1 Help Now