PROGRAM 3.3 BP1

Private Sub CmdBatal_Click()
Txtnama = ""
Txtnpm = ""
txtjur = ""
txtps = ""
txturut = ""
Txttm = ""
End Sub

Private Sub Cmdproses_Click()
Dim S As String
Txttm.Text = "20" & Left(Txtnpm, 2)
S = Mid(Txtnpm, 3, 1)
If S = "1" Then
txtjur = "Sistem Informasi"
txtps = "Diploma Dua"
ElseIf S = "2" Then
txtjur = "Manajemen Informatika"
txtps = "Strata Satu"
ElseIf S = "3" Then
txtjur = "Tehnik Informatika"
txtps = "Diploma Tiga"
ElseIf S = "4" Then
txtjur = "Manajemen & Komp. Akuntansi"
txtps = "Diploma Empat"
End If
txturut = Right(Txtnpm.Text, 4)
End Sub


Private Sub Txtnama_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Txtnpm.SetFocus
End If 
End Sub

Private Sub Cmdkeluar_Click()
Unload Me
End Sub



Komentar

Postingan populer dari blog ini

Smartwatch Nokia Steel Kini Punya Varian Edisi Terbatas

Kerjasama MediaTek dan Google Akan Mempermudah Produsen Merakit Smartphone Android

PROGRAM 3.6 BP1