Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

problem with visual basci program

Posted on 2009-04-08
3
Medium Priority
?
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 1500 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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 column That will then direct you to their download page. From that p…
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…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

670 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