Guided 1.menampilkan Message Box
Guided 1.menampilkan Message Box
Guided 1.menampilkan Message Box
End Sub
Tekan1.Visible = True
Tekan2.Visible = True
Tekan3.Visible = True
End Sub
Tekan1.Visible = False
End Sub
Tekan2.Visible = False
End Sub
Tekan3.Visible = False
End Sub
5.PROGRAM KALKULATOR SEDERHANA
Variable1 = Val(Data1.Text)
Variable2 = Val(Data2.Text)
End If
End If
End If
End Sub
End
End Sub
Dim i As Integer
Dim x As Integer
Else
List1.AddItem (data)
MsgBox ("Sukses!")
Text1.Text = ""
Text2.Text = ""
Combo1.ListIndex = -1
End If
End Sub
i = List1.ListIndex
If i <> -1 Then
List1.RemoveItem (i)
Text3.Text = ""
End If
End Sub
Private Sub List1_Click()
Text3.Text = List1.Text
End Sub
MENGHAPUS
1.MENGGUNAKAAN EX-01 (LED DISPLAY BOARD)
End Sub
End Sub
index = index + 1
Else
index = 0
End If
hp.Delay_ms 500
End Sub
number(0) = &H1
number(1) = &H8
number(2) = &H20
End Sub
B.
Dim index As Integer
For index = 0 To 3
hp.Delay_ms 500
Next
End Sub
number(0) = &H1
number(1) = &H8
number(2) = &H20
End Sub
LATIHAN
For index = 0 To 2
hp.Delay_ms 500
Next
End Sub
For index = 3 To 5
hp.Delay_ms 500
Next
End Sub
For index = 6 To 13
hp.Delay_ms 500
Next
hp.Delay_ms 500
Next
End Sub
Private Sub Form_Load()
number(0) = &H7A
number(1) = &HB4
number(2) = &HE6
number(3) = &HBD
number(4) = &HCF
number(5) = &H9A
number(6) = &H1
number(7) = &H2
number(8) = &H4
number(9) = &H8
number(10) = &H10
number(11) = &H20
number(12) = &H40
number(13) = &H80
End Sub