tugas 3

 

AHMAD2

Private Sub Command1_Click()

Dim O, U, P As String

O = Mid(Text2.Text, 3, 1)

If O = “1” Then

U = “Sistem Informatika”

ElseIf O = “2” Then

U = “Manajemen Informatika”

ElseIf O= “3” Then

U = “Tehnik Informatika”

ElseIf O = “4” Then

U = “Komputer Akuntansi”

End If

Text3.Text = U

O= Mid(Text2.Text, 4, 2)

If O = “01” Then

P = “Strata Satu”

ElseIf O = “02” Then

P = “Diploma Tiga”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “04” Then

P = “Diploma Empat”

End If

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 3)

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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text2.SetFocus

End If

End Sub

AHMAD2

Private Sub Text2_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim O, U, P As String

O = Mid(Text2.Text, 3, 1)

If O = “1” Then

U = “Sistem Informatika”

ElseIf O = “2” Then

U = “Manajemen Informatika”

ElseIf O = “3” Then

U = “Tehnik Informatika”

ElseIf K = “4” Then

U = “Komputer Akuntansi”

End If

Text3.Text = U

O = Mid(Text2.Text, 4, 2)

If O = “01” Then

P = “Strata Satu”

ElseIf O = “02” Then

P = “Diploma Tiga”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “04” Then

P = “Diploma Empat”

End If

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 3)

End If

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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text2.SetFocus

End If

End Sub

 

AHMAD2

Private Sub Text2_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim O, U, P As String

O = Mid(Text2.Text, 3, 1)

If O = “1” Then

U = “Sistem Informatika”

ElseIf O = “2” Then

U = “Manajemen Informatika”

ElseIf O = “3” Then

U = “Tehnik Informatika”

ElseIf K = “4” Then

U = “Komputer Akuntansi”

End If

Text3.Text = U

O = Mid(Text2.Text, 4, 2)

If O = “01” Then

P = “Strata Satu”

ElseIf O = “02” Then

P = “Diploma Tiga”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “04” Then

P = “Diploma Empat”

End If

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 3)

End If

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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text2.SetFocus

End If

End Sub

Private Sub Command1_Click()

Dim O, U, P As String

O = Mid(Text2.Text, 3, 1)

If O = “1” Then

U = “Sistem Informatika”

ElseIf O = “2” Then

U = “Manajemen Informatika”

ElseIf O= “3” Then

U = “Tehnik Informatika”

ElseIf O = “4” Then

U = “Komputer Akuntansi”

End If

Text3.Text = U

O= Mid(Text2.Text, 4, 2)

If O = “01” Then

P = “Strata Satu”

ElseIf O = “02” Then

P = “Diploma Tiga”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “03” Then

P = “Diploma Dua”

ElseIf O = “04” Then

P = “Diploma Empat”

End If

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 3)

End Sub

AHMAD 3

Private Sub Command1_Click()

Dim K, J, P As String

K = Mid(Text2.Text, 3, 1)

If K = “1” Then

J = “Sistem Informatika”

P = “Strata Satu”

ElseIf K = “2” Then

J = “Manajemen Informatika”

P = “Diploma Tiga”

ElseIf K = “3” Then

J = “Tehnik Informatika”

P = “Diploma Dua”

ElseIf K = “4” Then

J = “Komputer Akuntansi”

P = “Diploma Empat”

End If

Text3.Text = J

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 5)

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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text2.SetFocus

End If

End Sub

 

Private Sub Text2_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim K, J, P As String

K = Mid(Text2.Text, 3, 1)

If K = “1” Then

J = “Sistem Informatika”

P = “Strata Satu”

ElseIf K = “2” Then

J = “Manajemen Informatika”

P = “Diploma Tiga”

ElseIf K = “3” Then

J = “Tehnik Informatika”

P = “Diploma Dua”

ElseIf K = “4” Then

J = “Komputer Akuntansi”

P = “Diploma Empat”

End If

Text3.Text = J

 

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 5)

End If

End Sub

 

AHMAD 3

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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text2.SetFocus

End If

End Sub

 

Private Sub Text2_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim K, J, P As String

K = Mid(Text2.Text, 3, 1)

If K = “1” Then

J = “Sistem Informatika”

P = “Strata Satu”

ElseIf K = “2” Then

J = “Manajemen Informatika”

P = “Diploma Tiga”

ElseIf K = “3” Then

J = “Tehnik Informatika”

P = “Diploma Dua”

ElseIf K = “4” Then

J = “Komputer Akuntansi”

P = “Diploma Empat”

End If

Text3.Text = J

 

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 5)

End If

End Sub

AHMAD 3

Private Sub Command1_Click()

Dim K, J, P As String

K = Mid(Text2.Text, 3, 1)

If K = “1” Then

J = “Sistem Informatika”

P = “Strata Satu”

ElseIf K = “2” Then

J = “Manajemen Informatika”

P = “Diploma Tiga”

ElseIf K = “3” Then

J = “Tehnik Informatika”

P = “Diploma Dua”

ElseIf K = “4” Then

J = “Komputer Akuntansi”

P = “Diploma Empat”

End If

Text3.Text = J

Text4.Text = P

Text5.Text = “20” & Left(Text2.Text, 2)

Text6.Text = Right(Text2.Text, 5)

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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text2.SetFocus

End If

End Sub

 

AHMAD

Private Sub Command1_Click()

Dim K, J, P, H, G As String

K = Left(Text1.Text, 3)

If K = “SIM” Or K = “sim” Then

J = “Sistem Informasi Manajemen”

P = “Fadiya Ulfa”

H = “75900”

ElseIf K = “EDP” Or K = “edp” Then

J = “Elektronik Data Procesing”

P = “Nurul Agustina”

H = “62000”

ElseIf K = “MNJ” Or K = “mnj” Then

J = “Manajemen”

P = “Rian Hidayat”

H = “42000”

ElseIf K = “cdr” Or K = “CDR” Then

J = “Corel Draw”

P = “Siti Nur Khotimah”

H = “53000”

ElseIf K = “rpl” Or K = “RPL” Then

J = “Rekayasa Perangkat Lunak”

P = “Winda Erlianti”

H = “83000”

End If

Text2.Text = J

Text3.Text = P

Text6.Text = H

K = Right(Text1.Text, 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 = “Maxikom”

 

End If

Text5.Text = G

Text4.Text = “20” & Mid(Text1.Text, 5, 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()

Unload Me

End Sub

AHMAD

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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim K, J, P, H, G As String

K = Left(Text1.Text, 3)

If K = “SIM” Or K = “sim” Then

J = “Sistem Informasi Manajemen”

P = “Fadiya Ulfa”

H = “75900”

ElseIf K = “EDP” Or K = “edp” Then

J = “Elektronik Data Procesing”

P = “Nurul Agustina”

H = “62000”

ElseIf K = “MNJ” Or K = “mnj” Then

J = “Manajemen”

P = “Rian Hidayat”

H = “42000”

ElseIf K = “cdr” Or K = “CDR” Then

J = “Corel Draw”

P = “Siti Nur Khotimah”

H = “53000”

ElseIf K = “rpl” Or K = “RPL” Then

J = “Rekayasa Perangkat Lunak”

P = “Winda Erlianti”

H = “83000”

End If

Text2.Text = J

Text3.Text = P

Text6.Text = H

K = Right(Text1.Text, 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 = “Maxikom”

 

End If

Text5.Text = G

Text4.Text = “20” & Mid(Text1.Text, 5, 2)

End If

End Sub

AHMAD

Private Sub Command1_Click()

Dim K, J, P, H, G As String

K = Left(Text1.Text, 3)

If K = “SIM” Or K = “sim” Then

J = “Sistem Informasi Manajemen”

P = “Fadiya Ulfa”

H = “75900”

ElseIf K = “EDP” Or K = “edp” Then

J = “Elektronik Data Procesing”

P = “Nurul Agustina”

H = “62000”

ElseIf K = “MNJ” Or K = “mnj” Then

J = “Manajemen”

P = “Rian Hidayat”

H = “42000”

ElseIf K = “cdr” Or K = “CDR” Then

J = “Corel Draw”

P = “Siti Nur Khotimah”

H = “53000”

ElseIf K = “rpl” Or K = “RPL” Then

J = “Rekayasa Perangkat Lunak”

P = “Winda Erlianti”

H = “83000”

End If

Text2.Text = J

Text3.Text = P

Text6.Text = H

K = Right(Text1.Text, 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 = “Maxikom”

 

End If

Text5.Text = G

Text4.Text = “20” & Mid(Text1.Text, 5, 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()

Unload Me

End Sub

 

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim K, J, P, H, G As String

K = Left(Text1.Text, 3)

If K = “SIM” Or K = “sim” Then

J = “Sistem Informasi Manajemen”

P = “Fadiya Ulfa”

H = “75900”

ElseIf K = “EDP” Or K = “edp” Then

J = “Elektronik Data Procesing”

P = “Nurul Agustina”

H = “62000”

ElseIf K = “MNJ” Or K = “mnj” Then

J = “Manajemen”

P = “Rian Hidayat”

H = “42000”

ElseIf K = “cdr” Or K = “CDR” Then

J = “Corel Draw”

P = “Siti Nur Khotimah”

H = “53000”

ElseIf K = “rpl” Or K = “RPL” Then

J = “Rekayasa Perangkat Lunak”

P = “Winda Erlianti”

H = “83000”

End If

Text2.Text = J

Text3.Text = P

Text6.Text = H

K = Right(Text1.Text, 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 = “Maxikom”

 

End If

Text5.Text = G

Text4.Text = “20” & Mid(Text1.Text, 5, 2)

End If

End Sub

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s