Professional Documents
Culture Documents
Coding Project Visual Basic 6.0
Coding Project Visual Basic 6.0
End Sub
Volume tabung
Kalkulator Sederhana
Coding tombol +
Private Sub Command1_Click()
Text3.Text = Val(Text1.Text) + (Text2.Text)
End Sub
Coding tombol -
Private Sub Command2_Click()
Text3.Text = Val(Text1.Text) - (Text2.Text)
End Sub
Coding tombol *
Coding Tombol Keluar Private Sub Command3_Click()
Text3.Text = Val(Text1.Text) * (Text2.Text)
Private Sub Command2_Click() End Sub
a = MsgBox("Apakah Anda Yakin Ingin Keluar?",
vbYesNo + vbInformation, "Konfirmasi") Coding tombol /
If a = vbYes Then End Private Sub Command4_Click()
End Sub Text3.Text = Val(Text1.Text) / (Text2.Text)
End Sub
Coding tombol hapus/Bersih/Clear
Private Sub Command2_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
End Sub
Menghitung Volume Kubus
Tombol Login