Vous êtes sur la page 1sur 2

5 ans-

Private Sub CMDCAL_Click()

Dim A%, B%, C%, E%

A = Val(TXTPRINCIPLE.Text)

B = Val(TXTRATE.Text)

C = Val(TXTTIME.Text)

TXTINTEREST.Text = (A * B * C) / 100

E = A + TXTINTEREST.Text

TXTAMOUNT.Text = Str(E)

End Sub

Private Sub CMDCLEAR_Click()

TXTPRINCIPLE.Text = ""

TXTRATE.Text = ""

TXTTIME.Text = ""

TXTAMOUNT.Text = ""
TXTINTEREST.Text = ""

End Sub

Private Sub CMDEND_Click()

End

End Sub

4 ans-

Form- load

Textbox- change

Label- click

Command button- click

Hscroll- change

2 ans-

1) 3area – numbers cannot be used as a variable

2) Txtblog.text – special character cannot be used for declaring a variable

3) *yth – special character are not allowed as variable.

6) end – it is used as a code for ending up a running form.