Pertama buat form seperti di samping, dan ini source codenya:
Private Sub cmdExit_Click()
Unload Me
End Sub
Private Sub cmdSapa_Click()
MsgBox "Nama saya " + txtNama + vbCrLf + "Alamat " + txtAlamat + vbCrLf + "No Telp " + txtTelp + vbCrLf + "Hobby " + txtHoby
End Sub
0 komentar:
Posting Komentar