Solved

problem with visual basci program

Posted on 2009-04-08
3
269 Views
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
 
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

0
Comment
Question by:bnater
  • 2
3 Comments
 
LVL 44

Accepted Solution

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

Author Comment

by:bnater
ID: 24101358
thx
0
 
LVL 44

Expert Comment

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

809 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