Gambar

Private Sub Command1_Click()
Dim a, judulbuku, pengarang, penerbit, asString
Text4.Text = “20” & Mid(Text1.Text, 5, 2)
a = Left(Text1.Text, 3)
If a = “sim” Then
judulbuku = “sistem informasi menejemen”
ElseIf a = “edp” Then
judulbuku = “elektronik data processing”
ElseIf a = “mnj” Then
judulbuku = “manajemen”
ElseIf a = “cdr” Then
judulbuku = “coreldraw”
ElseIf a = “rpl” Then
judulbuku = “rekayasa perangkat lunak”
End If
Text2.Text = judulbuku
a = Left(Text1, 3)
If a = “sim” Then
pengarang = “rizki ardiansyah”
ElseIf a = “edp” Then
pengarang = “ridho fauji”
ElseIf a = “mnj” Then
pengarang = “m apriyandi”
ElseIf a = “cdr” Then
pengarang = “yuli”
ElseIf a = “rlp” Then
pengarang = “munjir”
End If
Text3.Text = pengarang
a = Mid(Text1.Text, 3)
If a = “sim” Then
harga = “87200”
ElseIf a = “edp” Then
harga = “72000”
ElseIf a = “mnj” Then
harga = “43000”
ElseIf a = “cdr” Then
harga = “69000”
ElseIf a = “rlp” Then
harga = “97000”
End If
Text6.Text = harga
a = Right(Text1.Text, 1)
If a = “a” Then
penerbit = “andi offse yogyakarta”
ElseIf a = “i” Then
penerbit = “indah surabaya”
ElseIf a = “s” Then
penerbit = “salemba empat”
ElseIf a = “e” Then
penerbit = “elek media komputindo”
ElseIf a = “m” Then
penerbit = “maxicom”
Text5.Text = penerbit
End If
End Sub

Private Sub Command2_click()
Text1.SetFocus
Text1 = “”
Text1 = “”
Text2 = “”
Text3 = “”
Text4 = “”
Text5 = “”
Text6 = “”
End Sub

Private Sub Command3_click()
Text1.SetFocus
Text1 = “”
Text1 = “”
Text2 = “”
Text3 = “”
Text4 = “”
Text5 = “”
Text6 = “”
End Sub

Private Sub Command4_click()
End
End Sub

 Gambar

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s