Solved

problem with visual basci program

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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.

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