Laman

Selasa, 12 Desember 2017

3.6







   
Private Sub Command1_Click()
Dim K, J, P, H, G As String
K = Mid(text1, 3, 3)
If K = "SIM" Or K = "sim" Then
J = "Sistem Informasi Manajemen"
P = "Andra Setiawan"
H = "75900"
ElseIf K = "EDP" Or K = "edp" Then
J = "Elektronik Data Procesing"
P = "Desi Istiqomah"
H = "62000"
ElseIf K = "MNJ" Or K = "mnj" Then
J = "Manajemen"
P = "Sandy Fitrajaya"
H = "42000"
ElseIf K = "cdr" Or K = "CDR" Then
J = "Corel Draw"
P = "Tri Indah Sari"
H = "53000"
ElseIf K = "rpl" Or K = "RPL" Then
J = "Rekayasa Perangkat Lunak"
P = "Ernita Sari"
H = "83000"
End If
text2.Text = J
text3.Text = P
text6.Text = H
K = Left(text1, 1)
If K = "A" Or K = "a" Then
G = "Andi Offset Yogyakarta"
ElseIf K = "i" Or K = "I" Then
G = "Indah Surabaya"
ElseIf K = "S" Or K = "s" Then
G = "Salemba Empat"
ElseIf K = "E" Or K = "e" Then
G = "Elek Media Komputindo"
ElseIf K = "M" Or K = "m" Then
G = "maxicom"
End If
text5.Text = G
text4.Text = "20" & Right(text1, 2)
End Sub
Private Sub Command2_Click()
text1.SetFocus
text1 = ""
text2 = ""
text3 = ""
text4 = ""
text5 = ""
text6 = ""
End Sub
Private Sub Command3_Click()
text1.SetFocus
text1 = ""
text2 = ""
text3 = ""
text4 = ""
text5 = ""
text6 = ""
End Sub
Private Sub Command4_Click()
End
End Sub

Tidak ada komentar:

Posting Komentar