SURAT KETERANGAN. Hasil Uji Program Tugas Akhir
|
|
- Lanny Makmur
- 6 tahun lalu
- Tontonan:
Transkripsi
1 SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan dibawah ini, menerangkan bahwa Mahasiswa Tugas Akhir Program Diploma III Teknik Informatika/Statistika : Nama : KHAIRUL TAMIMI NIM : Prog. Studi : Teknik Informatika Judul TA : PERANCANGAN APLIKASI PENDATAAN DI KLINIK MURNI Telah melaksanakan test program Tugas Akhir Mahasiswa tersebut di atas pada tanggal. Dengan Hasil : Sukses / Gagal Demikian diterangkan untuk digunakan melengkapi syarat pendaftaran Ujian Meja Hijau Tugas Akhir Mahasiswa bersangkutan di Departemen Matematika FMIPA USU Medan. Medan, Mei 2011 Dosen Pembimbing Program Studi D3 Teknik Informatika Dr. Sutarman, M.Sc NIP
2 KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM PROGRAM STUDI D.III TEKNIK INFORMATIKA Jl. Bioteknologi No. 1 Kampus USU MEDAN Telp/FAX KARTU BIMBINGAN TUGAS AKHIR MAHASISWA Nama Mahasiswa : KHAIRUL TAMIMI NIM : Judul Tugas Akhir : Perancangan Aplikasi Sistem Informasi Pendataan Di Klinik Murni Dosen Pembimbing : Dr. Sutarman, M.Sc Tanggal Mulai Bimbingan : Tanggal Selesai Bimbingan : No. Tanggal Asisten Bimbingan Pembahasan Pada Asisten Mengenai Pada BAB Paraf Dosen Pembimbing Keterangan Kartu ini dikembalikan ke Departemen Matematika bila Bimbingan Mahasiswa telah selesai Diketahui, Departemen Matematika FMIPA USU Ketua Disetujui, Pembimbing Utama/ Penanggung Jawab Prof. Dr. Tulus, M.Si NIP Dr. Sutarman, M.Sc NIP
3 Lampiran 1. Menu Utama Dim text As String Private Sub MDIForm_Load() text = " Sistem Informasi Pasien (Klinik Murni)" CheckSoftware frmutama Private Sub MDIForm_QueryUnload(Cancel As Integer, UnloadMode As Integer) If UnloadMode <> vbformcode Then Cancel = True Private Sub mnuclose_click() End Private Sub mnudaftarpas_click() 1 StatusBar1.Panels(1).text = "Tunggu,..." frmlappasien.show Private Sub mnudokter_click() 1 StatusBar1.Panels(1).text = "Tunggu,..." frmdokter.show StatusBar1.Panels(1).text = "Entry Data Dokter,..." Private Sub mnudokterlap_click() 1 frmlapdokter.show Private Sub mnukartu_click() 1 StatusBar1.Panels(1).text = "Tunggu,..." frmlapkartu.show StatusBar1.Panels(1).text = "Entry Data Obat,..." Private Sub Mnukeluar_Click() Tutup Set TMedis = Nothing End
4 Private Sub mnuobat_click() 1 StatusBar1.Panels(1).text = "Tunggu,..." frmobat.show StatusBar1.Panels(1).text = "Entry Data Obat,..." Private Sub mnuobatlap_click() 1 With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap Obat.rpt".Password = Chr(10) & "irul".datafiles(0) = App.Path & "\Medis.mdb".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 Private Sub mnupasien_click() 1 StatusBar1.Panels(1).text = "Tunggu,..." frmpasien.show StatusBar1.Panels(1).text = "Entry Data Pasien,..." Private Sub mnuperiksa_click() 1 StatusBar1.Panels(1).text = "Tunggu,..." frmpemeriksaan.show StatusBar1.Panels(1).text = "Proses Pemeriksaa Pasien,..." Private Sub mnuperiksalap_click() 1 StatusBar1.Panels(1).text = "Tunggu,..." frmlapmedis.show StatusBar1.Panels(1).text = "Proses Pemeriksaa Pasien,..." Private Sub Timer1_Timer() a = Left(text, 1) b = Len(text) c = Right(text, b - 1) text = c + a StatusBar1.Panels(1).text = text
5 Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) Select Case Button.Index Case 1 frmpasien.show Case 2 frmdokter.show Case 3 frmobat.show Case 4 frmpemeriksaan.show End Select 2. Menu Input Pasien Private Sub cmbkelamin_click() If CmbKelamin.text <> "" Then Fokus txtalamat Private Sub cmbkelamin_keypress(keyascii As Integer) KeyAscii = AutoComplete(CmbKelamin, KeyAscii, True, Ubah) Private Sub cmdbaru_click() 1 If cmdbaru.caption = "&Baru" Then cmdbaru.caption = "&Batal" Fokus txtkode vedit = False cmdcari.enabled = False Semula Private Sub cmdcari_click() Dim cari ulang: cari = InputBox("Masukkan Kode Pasien yang akan di cari...", "Cari Kode Pasien") If cari = "" Then "'" 1 Set TCari = New ADODB.Recordset Kata = "Select * from Pasien where [Kode Pasien]='" & cari & TCari.Open Kata, TMedis, adopendynamic, adlockpessimistic
6 If TCari.EOF Then TCari.Close Set TCari = Nothing MsgBox "Kode Pasien = " & cari & " tidak ditemukan..", vbinformation, "" DaftarCari TCari.Close Set TCari = Nothing cmdedit.enabled = True cmdhapus.enabled = True cmdbaru.caption = "&Batal" Private Sub cmdedit_click() 1 vedit = True vtrans = True Fokus txtnama cmdhapus.enabled = False cmdsimpan.enabled = True cmdbaru.caption = "&Batal" cmdcari.enabled = False Private Sub cmdhapus_click() On Error GoTo salah If MsgBox("Data Pasien " & txtnama.text & " Akan di hapus..", vbcritical + vbyesno, "Informasi System") = vbyes Then 1 TMedis.BeginTrans Kata = "Delete From [Pasien] Where [Kode Pasien]='" & txtkode.text & "'" TMedis.Execute Kata TMedis.CommitTrans Semula salah: MsgBox "Data tidak dapat di hapus..., coba periksa kembali..", vbinformation Private Sub cmdsimpan_click() 1 If Not vedit Then Simpan Edit
7 Semula Private Sub cmdtutup_click() Unload Me Sub Semula() Bersih vedit = False vtrans = False cmdsimpan.enabled = False cmdhapus.enabled = False cmdedit.enabled = False cmdbaru.caption = "&Baru" NotAktif DaftarPasien cmdbaru.setfocus cmdcari.enabled = True Sub Bersih() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.text = "" If TypeOf Control Is ComboBox Then Control.text = "" Next Control Sub NotAktif() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.Enabled = False If TypeOf Control Is ComboBox Then Control.Enabled = False Next Control Sub Simpan() On Error GoTo salah 1 TMedis.BeginTrans TMedis.Execute "Insert Into Pasien values ('" & txtkode.text & "'," & _ "'" & txtnama.text & "','" & txtumur.text & "','" & CmbKelamin.text & "'," & _ "'" & txtalamat.text & "','" & txtkota.text & "','" & txtnomor.text & "','" & txtpekerjaan.text & "')" TMedis.CommitTrans MsgBox "Data Pasien sudah disimpan..", vbinformation, "Sukses" salah:
8 MsgBox "Data Pasien tidak sukses di simpan...", vbinformation, "Periksa" Sub Edit() On Error GoTo salah 1 TMedis.BeginTrans TMedis.Execute "Update Pasien set [Nama Pasien]='" & txtnama.text & "',[Umur]='" & _ txtumur.text & "',[JK]='" & CmbKelamin.text & "',alamat='" & txtalamat.text & "', [Asal KOta]='" & txtkota.text & "', [No telp]='" & txtnomor.text & "',Pekerjaan='" & _ txtpekerjaan.text & "' where [Kode Pasien]='" & txtkode.text & "'" TMedis.CommitTrans MsgBox "Data Pasien sudah di edit..", vbinformation, "Sukses Edit" salah: MsgBox "Data Pasien tidak bisa di edit..",, "Periksa" Private Sub Form_Activate() cmdbaru.enabled = True cmdbaru.setfocus Private Sub Form_Load() Ketengah Me DaftarPasien If Tab1.Tab = 1 Then Tab1.Tab = 0 Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) If Not vtrans Then Unload Me Set TPasien = Nothing Set frmpasien = Nothing Kata = MsgBox("Data Pasien belum di simpan..." & vbcrlf & _ "Data Pasien mau di simpan...", vbinformation + vbyesno, "Pasien Belum di Simpan") If Kata = vbyes Then cmdsimpan.enabled = True cmdsimpan_click Set TPasien = Nothing Set frmpasien = Nothing Unload Me Set TPasien = Nothing Set frmpasien = Nothing Unload Me
9 Private Sub Form_Unload(Cancel As Integer) On Error Resume Next Do Until Me.Top <= DoEvents Me.Move Me.Left, Me.Top - 10 DoEvents Loop Unload Me Private Sub Lv1_DblClick() With frmpasien.txtkode = Lv1.SelectedItem.SubItems(1).txtNama = Lv1.SelectedItem.SubItems(2).txtUmur = Lv1.SelectedItem.SubItems(3).CmbKelamin.text = Lv1.SelectedItem.SubItems(4).txtAlamat = Lv1.SelectedItem.SubItems(5).txtKota = Lv1.SelectedItem.SubItems(6).txtNomor = Lv1.SelectedItem.SubItems(7).txtPekerjaan = Lv1.SelectedItem.SubItems(8).cmdHapus.Enabled = True.cmdEdit.Enabled = True.cmdBaru.Caption = "&Batal".Tab1.Tab = 0 Private Sub Tab1_Click(PreviousTab As Integer) If Tab1.Tab = 1 Then If Lv1.ListItems.Count = 0 Then MsgBox "Daftar Pasien masih kosong.." & vbcrlf & _ "Entry Data Pasien..." Tab1.Tab = 0 DaftarPasien Sub DaftarPasien() On Error GoTo salah 1 Kata = "Select * From [Pasien] Order By [kode Pasien]" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopenstatic, adlockreadonly Lv1.ListItems.Clear If Not TPasien.EOF Then TPasien.MoveFirst i = 1 While Not TPasien.EOF Set Vbutir = Lv1.ListItems.Add(,, i & ".") Vbutir.SubItems(1) = TPasien![Kode Pasien] Vbutir.SubItems(2) = TPasien![Nama pasien] Vbutir.SubItems(3) = TPasien![Umur] Vbutir.SubItems(4) = TPasien![JK]
10 Vbutir.SubItems(5) = TPasien![Alamat] Vbutir.SubItems(6) = TPasien![asal Kota] Vbutir.SubItems(7) = TPasien![No telp] Vbutir.SubItems(8) = TPasien![Pekerjaan] TPasien.MoveNext i = i + 1 Wend TPasien.Close Set TPasien = Nothing salah: MsgBox Err.Description Private Sub txtkode_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtkode <> "" Then If Len(txtKode) <> 5 Then MsgBox "Kode Pasien harus di isi sebayak 5 digit..", vbcritical, "System error" Fokus txtkode 1 Kata = "select * from Pasien where [kode Pasien]='" & txtkode.text & "'" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic, adlockpessimistic If TPasien.EOF Then Fokus txtnama TPasien.Close ' Set TPasien = norhing With TPasien txtnama =![Nama pasien] txtalamat =![Alamat] txtumur =![Umur] CmbKelamin.text =![JK] txtnomor =![No telp] txtpekerjaan =![Pekerjaan] cmdedit.enabled = True cmdcari.enabled = False cmdhapus.enabled = True cmdbaru.caption = "&Batal" TPasien.Close Set TPasien = Nothing Private Sub txtkota_keypress(keyascii As Integer)
11 If KeyAscii = 13 Then If txtkota <> "" Then Fokus txtnomor Private Sub txtnama_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtnama <> "" Then Fokus txtumur Private Sub txtnama_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("a") & Chr(13) _ And KeyAscii <= Asc("z") & Chr(13) _ Or (KeyAscii >= Asc("A") & Chr(13) _ And KeyAscii <= Asc("Z") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace)) Then Beep KeyAscii = 0 Private Sub txtalamat_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtalamat <> "" Then Fokus txtkota Private Sub txtnomor_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtnomor <> "" Then Fokus txtpekerjaan Private Sub txtnomor_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("0") & Chr(13) _ And KeyAscii <= Asc("9") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace) Then Beep KeyAscii = 0
12 Private Sub txtpekerjaan_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtpekerjaan <> "" Then cmdsimpan.enabled = True cmdsimpan.setfocus Private Sub txtpekerjaan_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("a") & Chr(13) _ And KeyAscii <= Asc("z") & Chr(13) _ Or (KeyAscii >= Asc("A") & Chr(13) _ And KeyAscii <= Asc("Z") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace)) Then Beep KeyAscii = 0 Private Sub txtumur_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtumur <> "" Then CmbKelamin.Enabled = True CmbKelamin.SetFocus r = SendMessageLong(CmbKelamin.hwnd, CB_SHOWDROPDOWN, True, 0) Private Sub txtumur_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("0") & Chr(13) _ And KeyAscii <= Asc("9") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace) Then Beep KeyAscii = 0 Sub DaftarCari() With TCari txtkode =![Kode Pasien] txtnama =![Nama pasien] txtumur =![Umur] CmbKelamin =![JK] txtalamat =![Alamat] txtkota =![asal Kota] txtnomor =![No telp] txtpekerjaan =![Pekerjaan]
13 3. Menu Input Dokter Private Sub cmbkelamin_click() If cmbkelamin.text <> "" Then Fokus txtnomor Private Sub cmbkelamin_keypress(keyascii As Integer) KeyAscii = AutoComplete(cmbKelamin, KeyAscii, True, Ubah) Private Sub cmdbaru_click() 1 If cmdbaru.caption = "&Baru" Then cmdbaru.caption = "&Batal" Fokus txtkode vedit = False cmdcari.enabled = False Semula Private Sub cmdcari_click() Dim cari ulang: cari = InputBox("Masukkan Kode Dokter yang akan di cari...", "Cari Kode Dokter") If cari = "" Then 1 Set TCari = New ADODB.Recordset Kata = "Select * from Dokter where [Kode Dokter]='" & cari & "'" TCari.Open Kata, TMedis, adopendynamic, adlockpessimistic If TCari.EOF Then TCari.Close Set TCari = Nothing If MsgBox("Kode Dokter = " & cari & " tidak ditemukan.." & vbcrlf & _ "Apakah masih ada kode Dokter yang akan dicari...", vbinformation + vbyesno) = vbyes Then GoTo ulang ' TCari.Close Set TCari = Nothing DaftarCari Set TCari = Nothing cmdedit.enabled = True
14 cmdhapus.enabled = True Private Sub cmdedit_click() 1 vedit = True vtrans = True Fokus txtnama cmdhapus.enabled = False cmdsimpan.enabled = True cmdbaru.caption = "&Batal" cmdcari.enabled = False Private Sub cmdhapus_click() On Error GoTo salah If MsgBox("Data Dokter " & Lv1.SelectedItem.SubItems(2) & " Akan di hapus..", vbcritical + vbyesno, "Informasi System") = vbyes Then 1 TMedis.BeginTrans Kata = "Delete From [Dokter] Where [Kode Dokter]='" & txtkode.text & "'" TMedis.Execute Kata TMedis.CommitTrans Semula salah: MsgBox "Data tidak dapat di hapus..., coba periksa kembali..", vbinformation Private Sub cmdsimpan_click() 1 If Not vedit Then Simpan Edit Semula Private Sub cmdtutup_click() Unload Me Sub Semula() Bersih vedit = False vtrans = False cmdsimpan.enabled = False cmdhapus.enabled = False
15 cmdedit.enabled = False cmdbaru.caption = "&Baru" NotAktif DaftarDokter cmdcari.enabled = True cmdbaru.setfocus Sub Bersih() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.text = "" If TypeOf Control Is ComboBox Then Control.text = "" Next Control Sub NotAktif() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.Enabled = False If TypeOf Control Is ComboBox Then Control.Enabled = False Next Control Sub Simpan() On Error GoTo salah 1 TMedis.BeginTrans TMedis.Execute "Insert Into Dokter values ('" & txtkode.text & "'," & _ "'" & txtnama.text & "','" & txtalamat.text & "','" & txtkota.text & "','" & cmbkelamin.text & "'," & _ "'" & txtnomor.text & "','" & txtspesialis.text & "')" TMedis.CommitTrans MsgBox "Data Dokter sudah disimpan..", vbinformation, "Sukses" salah: MsgBox "Data Dokter tidak sukses di simpan...", vbinformation, "Periksa" Sub Edit() On Error GoTo salah 1 TMedis.BeginTrans TMedis.Execute "Update Dokter set [Nama Dokter]='" & txtnama.text & "',[Alamat]='" & _ txtalamat.text & "',Kota='" & txtkota.text & "', [JK]='" & cmbkelamin.text & "',[No telp]='" & txtnomor.text & "',Spesialis='" & _
16 txtspesialis.text & "' where [Kode Dokter]='" & txtkode.text & "'" TMedis.CommitTrans MsgBox "Data Dokter sudah di edit..", vbinformation, "Sukses Edit" salah: MsgBox "Data Dokter tidak bisa di edit..",, "Periksa" Private Sub Form_Activate() cmdbaru.enabled = True cmdbaru.setfocus Private Sub Form_Load() Ketengah Me DaftarDokter If Tab1.Tab = 1 Then Tab1.Tab = 0 Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) On Error Resume Next Do Until Me.Top <= DoEvents Me.Move Me.Left, Me.Top - 10 DoEvents Loop Unload Me Private Sub Form_Unload(Cancel As Integer) If Not vtrans Then Unload Me Set TDokter = Nothing Set frmdokter = Nothing Kata = MsgBox("Data Dokter belum di simpan..." & vbcrlf & _ "Data Dokter mau di simpan...", vbinformation + vbyesno, "Dokter Belum di Simpan") If Kata = vbyes Then cmdsimpan.enabled = True cmdsimpan_click Set TDokter = Nothing Set frmdokter = Nothing Unload Me Set TDokter = Nothing Set frmdokter = Nothing Unload Me
17 Private Sub Lv1_DblClick() With frmdokter.txtkode = Lv1.SelectedItem.SubItems(1).txtNama = Lv1.SelectedItem.SubItems(2).txtAlamat = Lv1.SelectedItem.SubItems(3).txtKota = Lv1.SelectedItem.SubItems(4).cmbKelamin.text = Lv1.SelectedItem.SubItems(5).txtNomor = Lv1.SelectedItem.SubItems(6).txtSpesialis = Lv1.SelectedItem.SubItems(7).cmdHapus.Enabled = True.cmdEdit.Enabled = True.cmdBaru.Caption = "&Batal".Tab1.Tab = 0 Private Sub Tab1_Click(PreviousTab As Integer) If Tab1.Tab = 1 Then If Lv1.ListItems.Count = 0 Then MsgBox "Daftar Dokter masih kosong.." & vbcrlf & _ "Entry Data Dokter..." Tab1.Tab = 0 DaftarDokter Sub DaftarDokter() On Error GoTo salah 1 Kata = "Select * From [Dokter] Order By [kode Dokter]" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopenstatic, adlockreadonly Lv1.ListItems.Clear If Not TDokter.EOF Then TDokter.MoveFirst i = 1 While Not TDokter.EOF Set Vbutir = Lv1.ListItems.Add(,, i & ".") Vbutir.SubItems(1) = TDokter![Kode Dokter] Vbutir.SubItems(2) = TDokter![Nama dokter] Vbutir.SubItems(3) = TDokter![Alamat] Vbutir.SubItems(4) = TDokter![Kota] Vbutir.SubItems(5) = TDokter![JK] Vbutir.SubItems(6) = TDokter![No telp] Vbutir.SubItems(7) = TDokter![Spesialis] TDokter.MoveNext i = i + 1 Wend TDokter.Close Set TDokter = Nothing salah: MsgBox Err.Description
18 Private Sub txtkode_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtkode <> "" Then If Len(txtKode) <> 5 Then MsgBox "Kode Dokter harus di isi sebayak 5 digit..", vbcritical, "System error" Fokus txtkode 1 Kata = "select * from Dokter where [kode Dokter]='" & txtkode.text & "'" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic, adlockpessimistic If TDokter.EOF Then Fokus txtnama TDokter.Close ' Set TDokter = norhing With TDokter txtnama =![Nama dokter] txtalamat =![Alamat] cmbkelamin.text =![JK] txtnomor =![No telp] txtspesialis =![Spesialis] cmdedit.enabled = True cmdcari.enabled = False cmdhapus.enabled = True cmdbaru.caption = "&Batal" TDokter.Close Set TDokter = Nothing Private Sub txtkota_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtkota <> "" Then cmbkelamin.enabled = True cmbkelamin.setfocus r = SendMessageLong(cmbKelamin.hwnd, CB_SHOWDROPDOWN, True, 0) Private Sub txtnama_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtnama <> "" Then Fokus txtalamat
19 Private Sub txtnama_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("a") & Chr(13) _ And KeyAscii <= Asc("z") & Chr(13) _ Or (KeyAscii >= Asc("A") & Chr(13) _ And KeyAscii <= Asc("Z") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace)) Then Beep KeyAscii = 0 Private Sub txtalamat_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtalamat <> "" Then Fokus txtkota Private Sub txtnomor_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtnomor <> "" Then Fokus txtspesialis Private Sub txtnomor_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("0") & Chr(13) _ And KeyAscii <= Asc("9") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace) Then Beep KeyAscii = 0 Private Sub txtspesialis_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtspesialis <> "" Then cmdsimpan.enabled = True cmdsimpan.setfocus
20 Private Sub txtspesialis_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("a") & Chr(13) _ And KeyAscii <= Asc("z") & Chr(13) _ Or (KeyAscii >= Asc("A") & Chr(13) _ And KeyAscii <= Asc("Z") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace)) Then Beep KeyAscii = 0 Sub DaftarCari() With TCari txtkode =![Kode Dokter] txtnama =![Nama dokter] cmbkelamin =![JK] txtalamat =![Alamat] txtkota =!Kota txtnomor =![No telp] txtspesialis =![Spesialis] 4. Menu Input Obat Private Sub cmdbaru_click() 1 If cmdbaru.caption = "&Baru" Then cmdbaru.caption = "&Batal" Fokus txtkode vedit = False cmdcari.enabled = False Semula Private Sub cmdcari_click() Dim cari ulang: cari = InputBox("Masukkan Kode Obat yang akan di cari...", "Cari Kode Obat") If cari = "" Then 1 Set TCari = New ADODB.Recordset Kata = "Select * from Obat where [Kode Obat]='" & cari & "'" TCari.Open Kata, TMedis, adopendynamic, adlockpessimistic If TCari.EOF Then TCari.Close Set TCari = Nothing If MsgBox("Kode Obat = " & cari & " tidak ditemukan.." & vbcrlf & _
21 "Apakah masih ada kode obat yang akan dicari...", vbinformation + vbyesno) = vbyes Then GoTo ulang ' TCari.Close Set TCari = Nothing DaftarCari Set TCari = Nothing cmdedit.enabled = True cmdhapus.enabled = True Private Sub cmdedit_click() 1 vedit = True vtrans = True Fokus txtnama cmdhapus.enabled = False cmdsimpan.enabled = True cmdbaru.caption = "&Batal" cmdcari.enabled = False Private Sub cmdhapus_click() On Error GoTo salah If MsgBox("Data Obat " & Lv1.SelectedItem.SubItems(2) & " Akan di hapus..", vbcritical + vbyesno, "Informasi System") = vbyes Then 1 TMedis.BeginTrans Kata = "Delete From [Obat] Where [Kode Obat]='" & txtkode.text & "'" TMedis.Execute Kata TMedis.CommitTrans Semula salah: MsgBox "Data tidak dapat di hapus..., coba periksa kembali..", vbinformation Private Sub cmdsimpan_click() 1 If Not vedit Then Simpan Edit
22 Semula Private Sub cmdtutup_click() Unload Me Sub Semula() Bersih vedit = False vtrans = False cmdsimpan.enabled = False cmdhapus.enabled = False cmdedit.enabled = False cmdbaru.caption = "&Baru" NotAktif DaftarObat cmdbaru.setfocus cmdcari.enabled = True Sub Bersih() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.text = "" If TypeOf Control Is ComboBox Then Control.text = "" Next Control Sub NotAktif() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.Enabled = False If TypeOf Control Is ComboBox Then Control.Enabled = False Next Control Sub Simpan() On Error GoTo salah 1 TMedis.BeginTrans TMedis.Execute "Insert Into Obat values ('" & txtkode.text & "'," & _ "'" & txtnama.text & "','" & txtjenis.text & "')" TMedis.CommitTrans MsgBox "Data Obat sudah disimpan..", vbinformation, "Sukses" salah: MsgBox "Data obat tidak sukses di simpan...", vbinformation, "Periksa"
23 Sub Edit() On Error GoTo salah 1 TMedis.BeginTrans TMedis.Execute "Update obat set [Nama obat]='" & txtnama.text & "',[Jenis]='" & _ txtjenis.text & "' where [Kode Obat]='" & txtkode.text & "'" TMedis.CommitTrans MsgBox "Data Obat sudah di edit..", vbinformation, "Sukses Edit" salah: MsgBox "Data Obat tidak bisa di edit..",, "Periksa" Private Sub Form_Activate() cmdbaru.enabled = True cmdbaru.setfocus Private Sub Form_Load() Ketengah Me DaftarObat If Tab1.Tab = 1 Then Tab1.Tab = 0 Private Sub Form_OLESetData(Data As DataObject, DataFormat As Integer) On Error Resume Next Do Until Me.Top <= DoEvents Me.Move Me.Left, Me.Top - 10 DoEvents Loop Unload Me Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) On Error Resume Next Do Until Me.Top <= DoEvents Me.Move Me.Left, Me.Top - 10 DoEvents Loop Unload Me Private Sub Form_Unload(Cancel As Integer) If Not vtrans Then Unload Me Set TObat = Nothing Set frmobat = Nothing Kata = MsgBox("Data obat belum di simpan..." & vbcrlf & _
24 "Data obat mau di simpan...", vbinformation + vbyesno, "Obat Belum di Simpan") If Kata = vbyes Then cmdsimpan.enabled = True cmdsimpan_click Set TObat = Nothing Set frmobat = Nothing Unload Me Set TObat = Nothing Set frmobat = Nothing Unload Me Private Sub Lv1_DblClick() With frmobat.txtkode = Lv1.SelectedItem.SubItems(1).txtNama = Lv1.SelectedItem.SubItems(2).txtJenis = Lv1.SelectedItem.SubItems(3).cmdHapus.Enabled = True.cmdEdit.Enabled = True.cmdBaru.Caption = "&Batal".Tab1.Tab = 0 Private Sub Tab1_Click(PreviousTab As Integer) If Tab1.Tab = 1 Then If Lv1.ListItems.Count = 0 Then MsgBox "DaftarObat masih kosong.." & vbcrlf & _ "Entry Data obat..." Tab1.Tab = 0 DaftarObat Sub DaftarObat() On Error GoTo salah 1 Kata = "Select * From [obat] Order By [kode Obat]" Set TObat = New ADODB.Recordset TObat.Open Kata, TMedis, adopenstatic, adlockreadonly Lv1.ListItems.Clear If Not TObat.EOF Then TObat.MoveFirst i = 1 While Not TObat.EOF Set Vbutir = Lv1.ListItems.Add(,, i & ".") Vbutir.SubItems(1) = TObat![Kode Obat]
25 Vbutir.SubItems(2) = TObat![Nama Obat] Vbutir.SubItems(3) = TObat![jenis] TObat.MoveNext i = i + 1 Wend TObat.Close Set TObat = Nothing salah: MsgBox Err.Description Private Sub txtkode_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtkode <> "" Then If Len(txtKode) <> 6 Then MsgBox "Kode Obat harus di isi sebayak 6 digit..", vbcritical, "System error" Fokus txtkode 1 Kata = "select * from obat where [kode Obat]='" & txtkode.text & "'" Set TObat = New ADODB.Recordset TObat.Open Kata, TMedis, adopendynamic, adlockpessimistic If TObat.EOF Then Fokus txtnama TObat.Close With TObat txtnama =![Nama Obat] txtjenis =![jenis] NotAktif cmdedit.enabled = True cmdcari.enabled = False cmdhapus.enabled = True cmdbaru.caption = "&Batal" TObat.Close Set TObat = Nothing Private Sub txtnama_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtnama <> "" Then Fokus txtjenis
26 Private Sub txtnama_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("a") & Chr(13) _ And KeyAscii <= Asc("z") & Chr(13) _ Or (KeyAscii >= Asc("A") & Chr(13) _ And KeyAscii <= Asc("Z") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace)) Then Beep KeyAscii = 0 Private Sub txtjenis_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtjenis <> "" Then cmdsimpan.enabled = True cmdsimpan.setfocus vtrans = True Private Sub txtjenis_keypress(keyascii As Integer) If Not (KeyAscii >= Asc("a") & Chr(13) _ And KeyAscii <= Asc("z") & Chr(13) _ Or (KeyAscii >= Asc("A") & Chr(13) _ And KeyAscii <= Asc("Z") & Chr(13) _ Or KeyAscii = vbkeyback _ Or KeyAscii = vbkeydelete _ Or KeyAscii = vbkeyspace)) Then Beep KeyAscii = 0 Sub DaftarCari() With TCari txtkode =![Kode Obat] txtnama =![Nama Obat] txtjenis =![jenis] 5. Menu Input Pemeriksaan Private Sub Auto() Dim Hitung As Byte Dim tanggal, Tahun As Date tanggal = Format(Now, "mmyy") Set TRawat = New ADODB.Recordset TRawat.Open "Select * From medis ", TMedis, adopenstatic, adlockreadonly With TRawat
27 If.RecordCount = 0 Then Urutan = "000" & "001".MoveLast If Val(Left(.Fields("No Medis"), 5)) <> "000" Then Urutan = "00" & "001" Hitung = Val(Right(.Fields("No Medis"), 6)) + 1 Urutan = "00" & Right("000" & Hitung, 6) txtnomor.text = Urutan Private Sub cmbdokter_click() If cmbdokter.text <> "" Then 1 Kata = "Select * from dokter where [Kode dokter]='" & cmbdokter.text & "'" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic, adlockpessimistic If TDokter.EOF Then TDokter.Close Set TDokter = Nothing MsgBox "Kode dokter = & " & cmbdokter.text & " tidak terdaftar...", vbinformation cmbdokter.setfocus With TDokter txtnamadokter =![Nama dokter] TDokter.Close Set TDokter = Nothing Fokus txtdiagnosa Private Sub cmbdokter_keypress(keyascii As Integer) If KeyAscii = 13 Then If cmbdokter.text <> "" Then 1 Kata = "Select * from dokter where [Kode dokter]='" & cmbdokter.text & "'" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic, adlockpessimistic If TDokter.EOF Then TDokter.Close Set TDokter = Nothing MsgBox "Kode dokter = & " & cmbdokter.text & " tidak terdaftar...", vbinformation cmbdokter.setfocus
28 With TDokter txtnamadokter =![Nama dokter] TDokter.Close Set TDokter = Nothing Fokus txtkdoe Private Sub cmbpasien_click() If cmbpasien.text <> "" Then 1 Kata = "Select * from Pasien where [Kode pasien]='" & cmbpasien.text & "'" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic, adlockpessimistic If TPasien.EOF Then TPasien.Close Set TPasien = Nothing MsgBox "Kode pasien = & " & cmbpasien.text & " tidak terdaftar...", vbinformation cmbpasien.setfocus With TPasien txtnamapasien =![Nama pasien] TPasien.Close Set TPasien = Nothing DaftarDokter If cmbpasien.listcount = 0 Then MsgBox "Data Dokter masih kosong..,," & vbcrlf & _ "Coba periksa kembali...", vbcritical Unload Me r = SendMessageLong(cmbDokter.hwnd, CB_SHOWDROPDOWN, True, 0) cmbdokter.enabled = True Frame1.Enabled = False Frame2.Enabled = True Private Sub cmbpasien_keypress(keyascii As Integer) If KeyAscii = 13 Then If cmbpasien.text <> "" Then 1 Kata = "Select * from Pasien where [Kode pasien]='" & cmbpasien.text & "'" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic, adlockpessimistic If TPasien.EOF Then TPasien.Close
29 Set TPasien = Nothing MsgBox "Kode pasien = & " & cmbpasien.text & " tidak terdaftar...", vbinformation cmbpasien.setfocus With TPasien txtnamapasien =![Nama pasien] TPasien.Close Set TPasien = Nothing DaftarDokter If cmbpasien.listcount = 0 Then MsgBox "Data Dokter masih kosong..,," & vbcrlf & _ "Coba periksa kembali...", vbcritical Unload Me r = SendMessageLong(cmbDokter.hwnd, CB_SHOWDROPDOWN, True, 0) cmbdokter.enabled = True Private Sub cmdhapusdaftar_click() If Lv1.ListItems.Count > 0 Then Lv1.ListItems.Remove Lv1.SelectedItem.Index For i = 1 To Lv1.ListItems.Count Lv1.ListItems(i).text = i & "." Next i Private Sub Form_Load() Ketengah Me Private Sub cmdbaru_click() 1 If cmdbaru.caption = "&Baru" Then cmdbaru.caption = "&Batal" Auto txttanggal.enabled = True txttanggal.setfocus vedit = False Semula Private Sub cmdsimpan_click() 1 If Not vedit Then Simpan Edit
30 Semula Private Sub cmdtutup_click() Unload Me Sub Semula() Bersih vedit = False vtrans = False cmdsimpan.enabled = False cmdbaru.caption = "&Baru" NotAktif cmdbaru.setfocus Lv1.ListItems.Clear Sub Bersih() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.text = "" If TypeOf Control Is ComboBox Then Control.text = "" Next Control Sub NotAktif() Dim Control For Each Control In Me.Controls If TypeOf Control Is TextBox Then Control.Enabled = False If TypeOf Control Is ComboBox Then Control.Enabled = False Next Control Private Sub Form_Activate() cmdbaru.enabled = True cmdbaru.setfocus Timer1.Enabled = True Sub DaftarDokter() 1 Kata = "Select * from Dokter Order By [Kode Dokter]" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic cmbdokter.clear If Not TDokter.EOF Then TDokter.MoveFirst While Not TDokter.EOF cmbdokter.additem TDokter![Kode Dokter] TDokter.MoveNext Wend
31 TDokter.Close Set TDokter = Nothing Sub DaftarPasien() 1 Kata = "Select * from Pasien Order By [Kode Pasien]" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic cmbpasien.clear If Not TPasien.EOF Then TPasien.MoveFirst While Not TPasien.EOF cmbpasien.additem TPasien![Kode Pasien] TPasien.MoveNext Wend TPasien.Close Set TPasien = Nothing Private Sub Form_Unload(Cancel As Integer) On Error Resume Next Do Until Me.Top <= DoEvents Me.Move Me.Left, Me.Top - 10 DoEvents Loop Unload Me Private Sub lstobat_click() On Error GoTo salah Set TCari = New ADODB.Recordset Kata = "Select * from obat where [Kode Obat]='" & Left(lstObat, 5) & "'" TCari.Open Kata, TMedis, adopendynamic, adlockpessimistic If TCari.RecordCount = 0 Then TCari.Close Set TCari = Nothing With TCari txtkode =![Kode Obat] txtnamaobat =![Nama Obat] txtjenis =![jenis] For i = 1 To Lv1.ListItems.Count If txtkode.text = Lv1.ListItems(i).SubItems(5) Then MsgBox "Data Obat Sudah Ada...", vbexclamation, "Ooops..." txtkode = "" Fokus txtkode txtnamaobat = "" txtjenis = "" txtjumlah = ""
32 Next Fokus txtjumlah TCari.Close Set TCari = Nothing salah: MsgBox "System Error, Please cek data obat", vbinformation, "data error" Private Sub Lv1_Click() If Not Lv1.ListItems.Count = 0 Then cmdhapusdaftar.enabled = True Private Sub Timer1_Timer() DataObat Private Sub txtdiagnosa_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtdiagnosa <> "" Then Fokus txtketerangan Private Sub txtjumlah_keydown(keycode As Integer, Shift As Integer) If KeyCode = 13 Then If txtjumlah <> "" Then If vedit = False Then 1 Set Vbutir = Lv1.ListItems.Add(,, Lv1.ListItems.Count + 1 & ".") Vbutir.SubItems(1) = cmbdokter.text Vbutir.SubItems(2) = txtnamadokter.text Vbutir.SubItems(3) = txtdiagnosa.text Vbutir.SubItems(4) = txtketerangan.text Vbutir.SubItems(5) = txtkode.text Vbutir.SubItems(6) = txtnamaobat Vbutir.SubItems(7) = txtjenis Vbutir.SubItems(8) = txtjumlah vtrans = True Pesan = MsgBox("Masih Ada data Obat Yang Mau Di Input...", vbquestion + vbyesno, "Informasi..") If Pesan = vbyes Then txtkode = "" Fokus txtkode txtnamaobat = "" txtjenis = "" txtjumlah = ""
33 cmdsimpan.enabled = True cmdsimpan.setfocus vtrans = True If Lv1.ListItems.Count > 0 Then Lv1.ListItems.Remove Lv1.SelectedItem.Index For i = 1 To Lv1.ListItems.Count Lv1.ListItems(i).text = i & "." Next i txtsubtotal.text = Val(Int(txtHarga)) * Val(Int(txtJumlah)) Set Vbutir = Lv1.ListItems.Add(,, Lv1.ListItems.Count + 1 & ".") Vbutir.SubItems(1) = cmbdokter.text Vbutir.SubItems(2) = txtnamadokter.text Vbutir.SubItems(3) = txtdiagnosa.text Vbutir.SubItems(4) = txtketerangan.text Vbutir.SubItems(5) = txtkode.text Vbutir.SubItems(6) = txtnamaobat Vbutir.SubItems(7) = txtjenis Vbutir.SubItems(8) = txtjumlah cmdsimpan.enabled = True cmdsimpan.setfocus Private Sub txtketerangan_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtketerangan <> "" Then If Not vedit Then Fokus txtkode lstobat.enabled = True Frame2.Enabled = False Fokus txtjumlah lstobat.enabled = True Frame2.Enabled = False Private Sub txttanggal_keypress(keyascii As Integer) If KeyAscii = 13 Then DaftarPasien If cmbpasien.listcount = 0 Then MsgBox "Data Pasien masih kosong..,," & vbcrlf & _ "Coba periksa kembali...", vbcritical Unload Me r = SendMessageLong(cmbPasien.hwnd, CB_SHOWDROPDOWN, True, 0) cmbpasien.enabled = True Frame1.Enabled = True
34 Sub DataObat() On Error GoTo Obatkosong Set TObat = New ADODB.Recordset TObat.Open "Select * from Obat", TMedis, adopendynamic, adlockpessimistic If TObat.RecordCount = 0 Then TObat.Close Set TObat = Nothing MsgBox "data Obat masih kosong...", vbinformation Timer1.Enabled = False Unload Me lstobat.clear Timer1.Enabled = False Do Until TObat.EOF lstobat.additem TObat![Kode Obat] & vbtab & TObat![Nama Obat] TObat.MoveNext Loop TObat.Close Set TObat = Nothing Obatkosong: MsgBox Err.Description Sub Simpan() 'On Error GoTo salah 1 TMedis.BeginTrans ' For i = 1 To Lv1.ListItems.Count TMedis.Execute "Insert Into Master values ('" & txtnomor.text & "'," & _ "'" & txttanggal.text & "','" & cmbpasien.text & "','" & cmbdokter.text & "'," & _ "'" & txtdiagnosa.text & "','" & txtketerangan.text & "')" 'Next i TMedis.CommitTrans TMedis.BeginTrans For i = 1 To Lv1.ListItems.Count TMedis.Execute "Insert Into Medis values ('" & txtnomor.text & "'," & _ "'" & Lv1.ListItems(i).SubItems(5) & "','" & Val(Lv1.ListItems(i).SubItems(8)) & "')" Next i TMedis.CommitTrans Sub Edit() On Error GoTo salah 1 TMedis.BeginTrans For i = 1 To Lv1.ListItems.Count TMedis.Execute "Update Medis Set Diagnosa='" & Lv1.ListItems(i).SubItems(3) & "',Keterangan='" & _
35 Lv1.ListItems(i).SubItems(4) & "' Where [No Medis]='" & txtnomor.text & "'" Next i TMedis.BeginTrans For i = 1 To Lv1.ListItems.Count TMedis.Execute "Update Dosis set resep ='" & Lv1.ListItems(i).SubItems(8) & "' Where [No medis]='" & txtnomor.text & "'" Next i TMedis.CommitTrans salah: MsgBox "Data tidak bisa di edit, ada kesalahan..", vbinformation 6. Menu Laporan Pasien Private Sub cmblaporan_click() If Len(cmbLaporan) Then Select Case cmblaporan.text Case "Kode Pasien" LblStatus.Caption = "Kode Pasien:" Fokus txtlaporan cmdtutup.caption = "&Batal" Case "Nama Pasien" LblStatus.Caption = "Nama Pasien:" Fokus txtlaporan cmdtutup.caption = "&Batal" Case "Kota" LblStatus.Caption = "Kota Pasien:" Fokus txtlaporan cmdtutup.caption = "&Batal" Case "All" LblStatus.Caption = "All Laporan:" cmdcetak.enabled = True cmdcetak.setfocus txtlaporan.enabled = False cmdtutup.caption = "&Batal" End Select Private Sub cmblaporan_keypress(keyascii As Integer) KeyAscii = AutoComplete(cmbLaporan, KeyAscii, True, Ubah) Private Sub cmdcetak_click() 'On Error GoTo Cetak 1 Select Case cmblaporan.text Case "Kode Pasien" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap All Pasien.rpt"
36 .DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "irul".selectionformula = "{Pasien.Kode Pasien}='" & txtlaporan.text & "'".Formulas(0) = "Ket='" & cmblaporan.text & vbtab & txtlaporan.text & " '".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 '==================================================================== ======= Case "Nama Pasien" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap All Pasien.rpt".DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "irul".selectionformula = "{Pasien.Nama Pasien}='" & txtlaporan.text & "'".Formulas(0) = "Ket='" & cmblaporan.text & vbtab & txtlaporan.text & " '".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 '==================================================================== =================== Case "Kota" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap All Pasien.rpt".DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "irul".selectionformula = "{Pasien.Asal Kota}='" & txtlaporan.text & "'".Formulas(0) = "Ket='" & cmblaporan.text & vbtab & txtlaporan.text & " '".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True
37 .WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 '==================================================================== =============== Case "All" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap Pasien.rpt".DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "irul".windowminbutton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 End Select cmdcetak.enabled = False '=================================================================== ' 'Cetak: ' MsgBox Err.Description & Err.Number Private Sub cmdtutup_click() Select Case cmdtutup.caption Case "&Tutup" Set frmlappasien = Nothing Unload Me Case "&Batal" txtlaporan = "" cmblaporan.text = "" LblStatus.Caption = "" cmdtutup.caption = "&Tutup" cmdcetak.enabled = False End Select Private Sub Form_Load() Ketengah Me Private Sub txtlaporan_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtlaporan <> "" Then Select Case cmblaporan.text Case "Kode Pasien" DataKode
38 Case "Nama Pasien" DataNama Case "Kota" DataKota End Select Sub DataKode() On Error GoTo salah 1 Kata = "Select * from pasien Where [Kode Pasien]='" & txtlaporan.text & "'" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic, adlockpessimistic If TPasien.EOF Then TPasien.Close Set TPasien = Nothing MsgBox "Kode pasien = " & txtlaporan & " tidak terdaftar...", vbinformation Fokus txtlaporan cmdcetak.enabled = True cmdcetak.setfocus TPasien.Close Set TPasien = Nothing salah: MsgBox Err.Description & Err.Number Sub DataNama() On Error GoTo salah 1 Kata = "Select * from pasien Where [Nama Pasien] like '%" & txtlaporan.text & "%'" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic, adlockpessimistic If TPasien.EOF Then TPasien.Close Set TPasien = Nothing MsgBox "Nama pasien = " & txtlaporan & " tidak terdaftar...", vbinformation Fokus txtlaporan cmdcetak.enabled = True cmdcetak.setfocus TPasien.Close
39 Set TPasien = Nothing salah: MsgBox Err.Description & Err.Number Sub DataKota() On Error GoTo salah 1 Kata = "Select * from pasien Where [asal KOta] like '%" & txtlaporan.text & "%'" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic, adlockpessimistic If TPasien.EOF Then TPasien.Close Set TPasien = Nothing MsgBox "Kota pasien = " & txtlaporan & " tidak terdaftar...", vbinformation Fokus txtlaporan cmdcetak.enabled = True cmdcetak.setfocus TPasien.Close Set TPasien = Nothing salah: MsgBox Err.Description & Err.Number 7. Menu Laporan Dokter Private Sub cmblaporan_click() If Len(cmbLaporan) Then Select Case cmblaporan.text Case "Kode Dokter" LblStatus.Caption = "Kode Dokter:" Fokus txtlaporan cmdtutup.caption = "&Batal" Case "Nama Dokter" LblStatus.Caption = "Nama Dokter:" Fokus txtlaporan cmdtutup.caption = "&Batal" Case "Kota" LblStatus.Caption = "Kota Dokter:" Fokus txtlaporan cmdtutup.caption = "&Batal" Case "Spesialis" LblStatus.Caption = "Spesialis:" Fokus txtlaporan cmdtutup.caption = "&Batal"
40 Case "All" LblStatus.Caption = "All Laporan:" cmdcetak.enabled = True cmdcetak.setfocus txtlaporan.enabled = False cmdtutup.caption = "&Batal" End Select Private Sub cmblaporan_keypress(keyascii As Integer) KeyAscii = AutoComplete(cmbLaporan, KeyAscii, True, Ubah) Private Sub cmdcetak_click() 'On Error GoTo Cetak 1 Select Case cmblaporan.text Case "Kode Dokter" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap All Dokter.rpt".DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "irul".selectionformula = "{Dokter.Kode Dokter}='" & txtlaporan.text & "'".Formulas(0) = "Ket='" & cmblaporan.text & vbtab & txtlaporan.text & " '".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 '==================================================================== ===================== Case "Nama Dokter" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap All Dokter.rpt".DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "candra".selectionformula = "{Dokter.Nama Dokter}='" & txtlaporan.text & "'".Formulas(0) = "Ket='" & cmblaporan.text & vbtab & txtlaporan.text & " '".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True
41 .WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 '==================================================================== =================== Case "Kota" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap All Dokter.rpt".DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "candra".selectionformula = "{Dokter.Kota}='" & txtlaporan.text & "'".Formulas(0) = "Ket='" & cmblaporan.text & vbtab & txtlaporan.text & " '".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 '==================================================================== =============== Case "Spesialis" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap All Dokter.rpt".DataFiles(0) = App.Path & "\medis.mdb".password = Chr(10) & "candra".selectionformula = "{Dokter.Spesialis}='" & txtlaporan.text & "'".Formulas(0) = "Ket='" & cmblaporan.text & vbtab & txtlaporan.text & " '".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 '==================================================================== =============== Case "All" With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap Dokter.rpt"
42 .Password = Chr(10) & "candra".datafiles(0) = App.Path & "\Medis.mdb".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 End Select cmdcetak.enabled = False '=================================================================== ' 'Cetak: ' MsgBox Err.Description & Err.Number Private Sub cmdtutup_click() Select Case cmdtutup.caption Case "&Tutup" Set frmlapdokter = Nothing Unload Me Case "&Batal" txtlaporan = "" cmblaporan.text = "" LblStatus.Caption = "" cmdtutup.caption = "&Tutup" cmdcetak.enabled = False End Select Private Sub Form_Load() Ketengah Me Private Sub txtlaporan_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtlaporan <> "" Then Select Case cmblaporan.text Case "Kode Dokter" DataKode Case "Nama Dokter" DataNama Case "Kota" DataKota Case "Spesialis" DataSpesialis End Select Sub DataKode()
43 On Error GoTo salah 1 Kata = "Select * from Dokter Where [Kode Dokter]='" & txtlaporan.text & "'" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic, adlockpessimistic If TDokter.EOF Then TDokter.Close Set TDokter = Nothing MsgBox "Kode Dokter = " & txtlaporan & " tidak terdaftar...", vbinformation Fokus txtlaporan cmdcetak.enabled = True cmdcetak.setfocus TDokter.Close Set TDokter = Nothing salah: MsgBox Err.Description & Err.Number Sub DataNama() On Error GoTo salah 1 Kata = "Select * from Dokter Where [Nama Dokter] like '%" & txtlaporan.text & "%'" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic, adlockpessimistic If TDokter.EOF Then TDokter.Close Set TDokter = Nothing MsgBox "Nama Dokter = " & txtlaporan & " tidak terdaftar...", vbinformation Fokus txtlaporan cmdcetak.enabled = True cmdcetak.setfocus TDokter.Close Set TDokter = Nothing salah: MsgBox Err.Description & Err.Number Sub DataKota()
44 On Error GoTo salah 1 Kata = "Select * from Dokter Where [KOta] like '%" & txtlaporan.text & "%'" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic, adlockpessimistic If TDokter.EOF Then TDokter.Close Set TDokter = Nothing MsgBox "Kota Dokter = " & txtlaporan & " tidak terdaftar...", vbinformation Fokus txtlaporan cmdcetak.enabled = True cmdcetak.setfocus TDokter.Close Set TDokter = Nothing salah: MsgBox Err.Description & Err.Number Sub DataSpesialis() On Error GoTo salah 1 Kata = "Select * from Dokter Where [Spesialis] like '%" & txtlaporan.text & "%'" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic, adlockpessimistic If TDokter.EOF Then TDokter.Close Set TDokter = Nothing MsgBox "Dokter Spesialis = " & txtlaporan & " tidak terdaftar...", vbinformation Fokus txtlaporan cmdcetak.enabled = True cmdcetak.setfocus TDokter.Close Set TDokter = Nothing salah: MsgBox Err.Description & Err.Number 8. Menu Laporan Medis
45 Private Sub cmbdokter_click() If cmbdokter <> "" Then cmdcetak.enabled = True cmdcetak.setfocus Private Sub cmbmedis_click() If cmbmedis <> "" Then cmdcetak.enabled = True cmdcetak.setfocus Private Sub cmbpasien_click() If cmbpasien <> "" Then cmdcetak.enabled = True cmdcetak.setfocus Private Sub cmdall_click() 1 With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap Periksa.rpt".Password = Chr(10) & "irul".datafiles(0) = App.Path & "\Medis.mdb" '.SelectionFormula = "{QMedis.Kode Pasien}='" & cmbpesien.text & "'".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 cmdcetak.enabled = False Private Sub cmdcetak_click() If cmbpasien.enabled = True Then 1 With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap Periksa.rpt".Password = Chr(10) & "irul".datafiles(0) = App.Path & "\Medis.mdb".SelectionFormula = "{QMedis.kode Pasien}='" & cmbpasien.text & "'".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True
46 .WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 cmdcetak.enabled = False If cmbmedis.enabled = True And cmbpasien.enabled = False Then 1 With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap Periksa.rpt".Password = Chr(10) & "irul".datafiles(0) = App.Path & "\Medis.mdb".SelectionFormula = "{QMedis.No Medis}='" & cmbmedis.text & "'".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 cmdcetak.enabled = False If cmbpasien.enabled = False And cmbmedis.enabled = False Then 1 With CrtLaporan.Reset.ReportFileName = App.Path & "\Laporan\Lap Periksa.rpt".Password = Chr(10) & "irul".datafiles(0) = App.Path & "\Medis.mdb".SelectionFormula = "{QMedis.kode Dokter}='" & cmbdokter.text & "'".WindowMinButton = False.WindowShowCancelBtn = True.WindowShowCloseBtn = True.WindowShowPrintBtn = True.WindowShowPrintSetupBtn = True.WindowParentHandle = frmutama.hwnd.windowstate = crptmaximized.action = 1 cmdcetak.enabled = False Private Sub cmdtutup_click() Select Case cmdtutup.caption Case "&Tutup" Unload Me
47 Case "&Batal" cmdtutup.caption = "&Tutup" cmdcetak.enabled = False cmdall.enabled = True End Select Private Sub Form_Load() Ketengah Me 'cmdtutup.setfocus Sub DaftarPasien() 1 Kata = "Select Distinct [Kode Pasien] from QMedis Order By [Kode Pasien]" Set TPasien = New ADODB.Recordset TPasien.Open Kata, TMedis, adopendynamic cmbpasien.clear If Not TPasien.EOF Then TPasien.MoveFirst While Not TPasien.EOF cmbpasien.additem TPasien![Kode Pasien] TPasien.MoveNext Wend TPasien.Close Set TPasien = Nothing Sub DaftarDokter() 1 Kata = "Select Distinct [Kode Dokter] from QMedis Order By [Kode Dokter]" Set TDokter = New ADODB.Recordset TDokter.Open Kata, TMedis, adopendynamic cmbdokter.clear If Not TDokter.EOF Then TDokter.MoveFirst While Not TDokter.EOF cmbdokter.additem TDokter![Kode Dokter] TDokter.MoveNext Wend TDokter.Close Set TDokter = Nothing Sub DaftarMedis() 1 Kata = "Select Distinct [no Medis] from QMedis Order By [No medis]" Set TCari = New ADODB.Recordset TCari.Open Kata, TMedis, adopendynamic cmbmedis.clear If Not TCari.EOF Then TCari.MoveFirst While Not TCari.EOF
48 cmbmedis.additem TCari![No Medis] TCari.MoveNext Wend TCari.Close Set TCari = Nothing Private Sub Form_Unload(Cancel As Integer) Do Me.Top = Me.Top + 20 Me.Move Me.Left, Me.Top DoEvents Loop Until Me.Top > Screen.Height - 50 Private Sub Option1_Click() cmbpasien.enabled = True DaftarPasien cmbdokter.enabled = False cmbmedis.enabled = False Private Sub Option2_Click() cmbpasien.enabled = False DaftarMedis cmbdokter.enabled = False cmbmedis.enabled = True cmdall.enabled = False Private Sub Option3_Click() cmbpasien.enabled = False DaftarDokter cmbdokter.enabled = True cmbmedis.enabled = False cmdall.enabled = False 9. Menu Laporan Kartu Private Sub cmbpilih_click() If Len(cmbPilih) Then 1 Select Case cmbpilih.text Case "Nama Pasien" LblJudul.Caption = "Nama Pasien" Fokus txtcari cmdcetak.enabled = False cmdtutup.caption = "&Batal" Case "Kode Pasien" LblJudul.Caption = "&Kode Pasien" Fokus txtcari cmdcetak.enabled = False cmdtutup.caption = "&Batal" End Select
HandleError: MsgBox "Proses tidak bisa dikerjakan.", vbinformation, "Perhatian" On Error GoTo 0 End Sub
LISTING PROGRAM Kode Program Menu Input Private Sub Form_Activate() WarnaTidakNormal Private Sub cmdprevious_click() On Error Resume Next.MovePrevious If.BOF Then.MoveFirst TampilkanData Private Sub cmdtambah_click()
Lebih terperinciSURAT KETERANGAN Hasil Uji Program Tugas Akhir
SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan dibawah ini, menerangkan bahwa Mahasiswa Tugas Akhir Program Diploma III Teknik Informatika/Statistika : Nama : AFRIAN HARAWI NIM : 082406058
Lebih terperinciBAB VI PENUTUP. Simpan Pinjam Koperasi Nurani Timor Kupang adalah: secara cepat, tepat dan akurat. dengan cepat, tepat dan akurat.
BAB VI PENUTUP 6.1 KESIMPULAN Setelah melakukan semua tahapan metode yang telah diuraikan hasil yang diharapkan dari analisis dan perancangan Aplikasi Pengolahan Data Simpan Pinjam Koperasi Nurani Timor
Lebih terperinciListing Program. 1. Loading. 2. Home. Option Explicit. Dim isplash As Integer. Private Sub Timer1_Timer() On Error Resume Next. isplash = isplash + 5
Listing Program 1. Loading Option Explicit Dim isplash As Integer Private Sub Timer1_Timer() On Error Resume Next isplash = isplash + 5 ProgressBar1.Value = ProgressBar1.Value + 400 / 400 If isplash >
Lebih terperinciListing Program a. Form Login. Public LoginSucceeded As Boolean
Listing Program a. Form Login Public LoginSucceeded As Boolean Private Sub cmdcancel_click() 'set the global var to false 'to denote a failed login LoginSucceeded = False Me.Hide Private Sub cmdok_click()
Lebih terperinciFORM LOGIN. Option Explicit. Private Sub cmdexit_click() End End Sub
1 FORM LOGIN Option Explicit Private Sub cmdexit_click() End Private Sub cmdlogin_click() On Error GoTo handleerror If (txtnama = "") Then MsgBox "Nama user harus diisi terlebih dahulu",, "Perhatian" txtnama.setfocus
Lebih terperinciLISTING PROGRAM. Script Menu Utama Pada Game Tebak Kata
LISTING PROGRAM Script Menu Utama Pada Game Tebak Kata Dim kesempatan As Integer Dim nilai As Integer Dim arrkataasli(20) As String Dim kataasli As String Dim arrhurufharushilang(20) As String Dim hurufharushilang
Lebih terperinciKONEKSI VB DENGAN MYSQL (Wajib, S.Pd.)
KONEKSI VB DENGAN MYSQL (Wajib, S.Pd.) Membuat Database dengan nama Siswa NAMA FIELD NIS NAMA ALAMAT JURUSAN TYPE CHAR(5) VARCHAR(30) VARCHAR(40) VARCHAR(20) Membuat Desain Form pada Visual Basic Menentukan
Lebih terperinciBAHASA PEMROGRAMAN (LISTING PROGRAM)
BAHASA PEMROGRAMAN (LISTING PROGRAM) 1. Bahasa Pemrograman (Listing Program) untuk Form Menu Utama Option Explicit Dim Judul Private Sub cmdbarangmasuk_click() FormBarangMasuk.Show FormBarangMasuk.Top
Lebih terperinciLISTING PROGRAM. lbljalan.caption = "Selamat Menggunakan Kamus Digital Istilahistilah
L A M P I R A N LISTING PROGRAM Form FrmMain Private Sub Form_Load() lbljalan.caption = "Selamat Menggunakan Kamus Digital Istilahistilah IT" Timer1.Interval = "1" InitConnection PopData (strtextsearch)
Lebih terperinciMe.Picture = LoadPicture(App.Path & "\pakar.jpg") App.HelpFile = App.Path & "\Help.hlp" End Sub
LISTING PROGRAM Form Utama Option Explicit Private Sub MDIForm_Load() Me.imgIkon.ListImages.Remove "Pengetahuan" Me.imgIkon.ListImages.Remove "Penelusuran" Me.imgIkon.ListImages.Remove "Penjelasan" Me.imgIkon.ListImages.Clear
Lebih terperinciLAMPIRAN. Source Code Program Untuk MDI Utama
Kode (Coding) Program LAMPIRAN Code program yang dibuat dalam aplikasi ini meliputi MDIUtama, FrmAturan, FrmCiriKerusakan, FrmJenisKerusakan, FrmKeterangan, FrmMacamKerusakan, FrmPassword, FrmPenelusuran,
Lebih terperinciKartu Bimbingan Tugas Akhir Mahhasiswa
KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jln. Bioteknologi No.1 Kampus USU Padang Bulan Medan-20155 Telp. (061) 8211050, 82144290, Fax. (061)
Lebih terperinciCopyright by : ipi-leppindo jambi all reserved 2014 (japikinfo.com)
1 FORM DATA BARANG Dim Db As Database Dim RsBarang As Recordset Sub Koneksi() 'Koneksi Database Set Db = OpenDatabase("Tentukan Lokasi Database\Barang.mdb") Set RsBarang = Db.OpenRecordset("Table_Stok")
Lebih terperinciLISTING PROGRAM. Kode Form Splash Screen. Private Sub Form_Load() lblversion.caption = "Version " & App.Major & "." & App.Minor & "." & App.
LISTING PROGRAM Kode Form Splash Screen Private Sub Form_Load() lblversion.caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision lblproductname.caption = App.Title lblcopyright.caption
Lebih terperinciMembuat Form Input Barang (Untuk Server)
Membuat Form Input Barang (Untuk Server) 1. Buatlah Tabel Barang didalam Database stockgudang, dengan desain sebagai berikut : 2. Buatlah DSN dengan nama : dsnstockgudang 3. Desainlah Form Input Data Barang
Lebih terperinciLISTING PROGRAM. Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) ShowInputForm End Sub
LISTING PROGRAM 1. Listing Menu Utama Option Explicit Private ntime As Integer Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) ShowInputForm Private Sub Form_Load() ntime = 0 Private Sub
Lebih terperinciPemrograman Database dengan perintah SQL
Pemrograman Database dengan perintah SQL Imam Bukhari, S.Kom bukhari.imam@yahoo.co.id www.imambukhari.weebly.com Lisensi Dokumen: Seluruh dokumen di IlmuKomputer.Com dapat digunakan, dimodifikasi dan disebarkan
Lebih terperinciPertemuan III MENYIMPAN REKAMAN (RECORD) KE DALAM BASIS DATA
Pertemuan III MENYIMPAN REKAMAN (RECORD) KE DALAM BASIS DATA A. MAKSUD DAN TUJUAN 1. MAKSUD Memahami cara menyimpan data ke dalam basis data dengan kode program 2. TUJUAN Mahasiswa mampu membuat program
Lebih terperinciListing Program. Listing Form Login. Listing Form Menu Utama Private Sub MnDataPenerbangan_Click() FR_Penerbangan.Show 1 End Sub
Listing Program Listing Form Login Private Sub Command1_Click() If Text1.Text = "admin" And Text2.Text = "123" Then MAIN Unload Me MsgBox "Maaf, Nama atau Password yang anda input salah...!", vbokonly,
Lebih terperinciField Tipe Data Size Keterangan userid Text 12 Primary key namauser Text 30 - password Text 8 - akses Text 10 -
Buatlah database baru dan beri nama penjualan Buat beberapa tabel berikut: 1. Barang Kodebrg Text 12 Primary key Namabrg Text 30 - Hargabl Currency - Input mask Hargajl Currency - Input mask Stok Number
Lebih terperinciListing Program. 1. FrmUser.frm
Listing Program 1. FrmUser.frm Private Sub cmdhapus_click() If cmdhapus.caption = "&Hapus" Then cmdinput.enabled = False cmdtutup.caption = "&Batal" KosongkanText SiapIsi cbousername.setfocus RSUser.Open
Lebih terperinciBuka Project Baru simpan dengan PUSTAKA Buat Form Baru untuk pengisian Data Anggota dan simpan dengan nama frmanggota
Buat folder baru bernama Pustaka Buat database baru dengan Microsoft Access dengan nama DbPerpustakaan.mdb dan simpan dalam folder baru tersebut Buat tabel baru dengan nama Anggota, dengan field-field
Lebih terperinciBahasa Pemrograman-1 (Visual Basic)
Praktikum-17 AMIK-STMIK JAYANUSA Imam Gunawan, M. Kom MEMBUAT DATABASE MYSQL DENGAN SQL-YOG 1. Aktifkan Wamp Server : Klik Start, Program, WampServer, Start WampServer 2. Buka SQL-Yog : Klik Start, Program,
Lebih terperinciLISTING PROGRAM. 1. Animasi Awal (animasiawal.frm) Private Sub Form_Load() ButtonClick = 0 Timer1.Enabled = True Timer1.Interval = 50 End Sub
LISTING PROGRAM 1. Animasi Awal (animasiawal.frm) Private Sub Form_Load() ButtonClick = 0 Timer1.Enabled = True Timer1.Interval = 50 Private Sub Timer1_Timer() If ProgressBar1 = 100 Then Unload Me frmlogin.visible
Lebih terperinciL-2. Listing Program Form Utama. Private Sub Form_Activate() Option3.SetFocus End Sub. Private Sub MnuKeluar_Click() End End Sub
LISING PROGRAM L-1 L-2 Listing Program Form Utama Private Sub Form_Activate() Option3.SetFocus Private Sub MnuKeluar_Click() End Private Sub Option1_Click() Unload Me Load FrmLogin FrmLogin.Show Private
Lebih terperinciGambar 1 Table Petugas. Gambar 2 Penambahan Komonen Pada Form
A. Pembutan input data petugas 1) Membuat table petugas Buat table dengan nama Tpetugas buat isi table seperti gambar di bawah ini Field name Data type Field size Index kd_ptgs Text 4 Primary key nama
Lebih terperinciTutorial, Source code, Request Program Visual Basic
Tutorial, Source code, Request Program Visual Basic Oleh : Moh. A Azis Membuat Form Transaksi Barang Keluar Program Persediaan Barang Form barang keluar digunakan untuk melakukan transaksi penginputan
Lebih terperinciLISTING PROGRAM FORM MENU UTAMA. Private Sub Command1_Click() Unload Me Form2.Show End Sub. Private Sub Command3_Click() Form10.
LISTING PROGRAM FORM MENU UTAMA Form2.Show Form10.Show Form11.Show Private Sub Command5_Click() Private Sub Command6_Click() Form12.Show Private Sub Timer1_Timer() Label3.Caption = Time Label4.Caption
Lebih terperinciPraktikum 4 Program Aplikasi Bisnis Imam Gunawan, M. Kom 1. Tambahkan tabel berikut, pada database stockgudang :
1. Tambahkan tabel berikut, pada database stockgudang : 2. Buat form CariBarang dengan tampilan sbb : 3. Buat coding program untuk form diatas sbb : Private Sub DataGrid1_Click() Barang_Masuk.txtkode.Text
Lebih terperinciL A M P I R A N. Universitas Sumatera Utara
L A M P I R A N LISTING PROGRAM 1. Menu Utama Private Sub MNDTGJ_Click() Form2.Show Private Sub mndtpgw_click() Form1.Show Private Sub mneditgj_click() Form4.Show Private Sub mneditpgw_click() Form3.Show
Lebih terperinciKODE PROGRAM FORM PENJUALAN
KODE PROGRAM FORM PENJUALAN Buat Variabel-variabel yang dibutuhkan (untuk Koneksi Database dan Tabel-tabel dengan menggunakan DIM, contoh lihat pada Form Pemasok) Buat prosedur Koneksi_Database Buat prosedur
Lebih terperinciLISTING PROGRAM. Public Declare Sub PortOut Lib "io.dll" (ByVal Port As Integer, ByVal Value As Byte)
43 LISTING PROGRAM Skrip Modul pada Server Public Declare Sub PortOut Lib "io.dll" (ByVal Port As Integer, ByVal Value As Byte) Kode Program Aplikasi Server Option Explicit Private Sub Form_Load() Winsock1.LocalPort
Lebih terperinciDATA. No Nama Bagian NRK Jabatan Golongan Pendidikan. 1 Ahmad Akbar PL Tukang Listrik Sounsistim IC/0 STM
1. Karyawan DATA No Nama Bagian NRK Jabatan Golongan Pendidikan 1 Ahmad Akbar 3.09 00.00.PL.01357 Tukang Listrik Sounsistim IC/0 STM 2 Denny Sariati Damanik 3.09 81.00.PL.01015 Mandor Traksi IID/6 SMA
Lebih terperinciLISTING PROGRAM. tanya = MsgBox("Apakah Anda yakin akan menghapus. kata : " & txtword.text & "?", vbquestion + gadoconn.
LISTING PROGRAM 1. Listing Pembuka Private Sub cmddelete_click() Dim strdelete As String tanya = MsgBox("Apakah Anda yakin akan menghapus kata : " & txtword.text & "?", vbquestion + vbyesno, "Konfirmasi
Lebih terperinciMEMBACA RECORD DENGAN ADODC
BAB 7 MEMBACA RECORD DENGAN ADODC Pada bagian ini kita akan mempelajari cara membaca data atau record dari tabel menggunakan ADODC. Pada bagian ini juga diberikan contoh penerapan penggunaan ADODC untuk
Lebih terperinciBAB 2 PEMBUATAN APLIKASI PERPUSTAKAAN SEKOLAH
BAB 2 PEMBUATAN APLIKASI PERPUSTAKAAN SEKOLAH 2.1 Persiapan Program Utama Pada bab ini kita akan membahas tentang pembuatan program utama yaitu Aplikasi Perpustakaan Sekolah dengan menggunakan program
Lebih terperinciLAMPIRAN. Kode Program Menu Utama
1 LAMPIRAN Kode Program Menu Utama Dim LetakTengah As Integer Private Declare Function PlaySound Lib "winmm.dll" Alias _ "PlaySoundA" (ByVal lpszname As String, ByVal hmodule As Long, _ ByVal dwflags As
Lebih terperinciDAFTAR KODE PROGRAM KODE FORM LOGIN
DAFTAR KODE PROGRAM KODE FORM LOGIN If Me.TxtUser.Text "yuni" Then ' MsgBox "Nama User salah", vbcritical + vbokonly, "Distro 72 Madiun" Else If Me.TxtKunci.Text "yuni" Then MsgBox "Password Anda
Lebih terperinciSISTEM INFORMASI ADMINISTRASI
SISTEM INFORMASI ADMINISTRASI 1 PELATIHAN PRIVAT KOMPUTER PADA DELLSA COMPUTER BANGGAI (Ms. Visual Basic 6.0) Sebelum anda memulai pembuatan program, terlebih dahulu anda harus mempersiapkan kebutuhan-kebutuhan
Lebih terperinciPraktikum-19 AMIK-STMIK JAYANUSA Imam Gunawan, M. Kom FORM BARANG MASUK
FORM BARANG MASUK 1. Buat Table : BarangMasuk, pada Database StockGudang, dengan struktur sebagai berikut : 2. Buat Form Cari Barang dengan Layout sebagai berikut : Atur Properti sebagai berikut : 1. Name
Lebih terperinciStudi Kasus KASUS 1: KONVERSI SUHU
6 KASUS 1: KONVERSI SUHU Jalankan aplikasi Embedded Visual Basic 3.0 Buat File baru, dan pilih file yang menggunakan form yaitu Windows CE for Pocket PC 2002. Lalu tambahkan kontrol-kontrol seperti dibawah
Lebih terperinciBasic Programing Visual Basic
Basic Programing Visual Basic Oleh : Aririk Japik, 1 Mengenal Visual Basic Visual Basic adalah salah satu bahasa pemrograman komputer. Bahasa pemrograman adalah perintahperintah yang dimengerti oleh komputer
Lebih terperinciAPLIKASI KREDIT MOTOR VB 6.0 Peminat silakan hubungi : Email : uusrusmawan71@gmail.com Facebook : konsultasivb@ymail.com (Uus Rusmawan) Phone : 0812 8438 1118 4.1 Merancang Database Dan Relasi Tabel Aplikasi
Lebih terperinci1. Buka Visual Basic 6 sobat. Buat project baru, masukkan componen Microsoft Winsock Control 2. Masukkan coding berikut
Membuat Sendiri DDoS Tool Dengan Visual Basic 6 Saat ini banyak bertebaran DDoS Tool yang bisa kita jumpai di dunia maya ini. DDoS ( Distributed Denial of Service ) adalah sebuah tipe serangan dari hacker
Lebih terperinci4. Lalu klik Worksheet List Car dan buat kolom seperti ini :
Langkah- langkah pembuatan macro atau form catatan pelanggan dalam ms.excel 2013, antara lain : 1. Buka file excel 2. Double klik di nama worksheet lalu ganti nama dari Sheet1 menjadi Home, Sheet2 menjadi
Lebih terperinciL - 1. Tampilan Aplikasi ( Form Menu Utama ) Tampilan Form login
LAMPIRAN L - 1 Tampilan Aplikasi ( Form Menu Utama ) Tampilan Form login L - 2 Tampilan Form Pendaftaran Tampilan Form Penyetoran L - 3 Tampilan Form Penarikan Tampilan Form opsi L - 4 Tampilan Form Print
Lebih terperinciGAMBAR IV.21 FORM LOGIN
GAMBAR IV.21 FORM LOGIN LAMPIRAN 1 KODE FORM LOGIN Private Sub cmdcancel_click() Private Sub cmdexit_click() End Private Sub cmdlogin_click() If password.text = "THANIA" Then formmenu.show Unload Me Else
Lebih terperinciSURAT KETERANGAN. Hasil Uji Program Tugas Akhir
SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan di bawah ini, menerangkan bahwa Tugas Akhir Mahasiswa Program D-III Teknik Informatika : Nama : REZA AHMADI NIM : 102406224 Program Studi
Lebih terperinciKode Program : Koneksi. Klik Kanan Adobrg Pilih ADODC Properties Maka akan muncul tampilan sbb: Instruktur : Nani Purwati
Kode Program : Koneksi Klik Kanan Adobrg Pilih ADODC Properties Maka akan muncul tampilan sbb: Klik Build Maka akan muncul tampilan sbb: Pilih Microsoft Jet 4.0 OLEDB Provider Klik Next>> Maka akan muncul
Lebih terperinciForm Pemasok. Interface. Listing Program. Form Pemasok. Dim koneksi As ADODB.Connection Dim rspemasok As ADODB.Recordset. Dim cari As String
Interface Listing Program Dim koneksi As ADODB.Connection Dim rspemasok As ADODB.Recordset Dim cari As String Sub Koneksi_Database() Set koneksi = New ADODB.Connection koneksi.cursorlocation = aduseclient
Lebih terperinciUniversitas Sumatera Utara
L A M P I R A N LISTING PROGRAM PROGRAM FORM LOGIN Dim A As Byte Dim B As Byte Private Sub Command2_Click() Unload Me Private Sub Form_Load() 'batasi jumlah karakter Textuser.MaxLength = 30 Textpass.MaxLength
Lebih terperinci1. Rancangan Input Program Form Menu Utama Form Data Barang [ Input Barang ]
1. Rancangan Input Program Form Menu Utama Form Data Barang [ Input Barang ] L-1 Form Data Barang [ Browse ] Form Produksi L-2 Form Faktur Penjualan Form Pembeli L-3 Form Pembeli [ Browse ] Properti Form
Lebih terperinciDAFTAR PUSTAKA. pada PT. Restu Mahkota Karya. Sekolah Tinggi Manajemen Informatika dan
DAFTAR PUSTAKA F, Rowland Jonathan e.(2006). Perancangan sistem penjualan berbasis web pada PT. Restu Mahkota Karya. Sekolah Tinggi Manajemen Informatika dan Komputer Jayakarta. Jakarta. HM, Jogiyanto.(1995).
Lebih terperinciBAB IV IMPLEMENTASI DAN PENGUJIAN
BAB IV IMPLEMENTASI DAN PENGUJIAN Pada bab ini akan dijelaskan mengenai implementasi dari sistem yang dibuat. Pembahasan implementasi sistem akan meliputi tampilan koding beserta penjelasannya dan perancangan
Lebih terperinciAPLIKASI KOPERASI VB 6.0 Peminat silakan hubungi : Email : uusrusmawan71@gmail.com Facebook : konsultasivb@ymail.com (Uus Rusmawan) Phone : 0812 8438 1118 Inti program ini adalah bagaimana cara menyimpan
Lebih terperinciLangkah ke 2 yaitu buat database form bukunya seperti gambar dibawah ini
Langkah Awal untuk buat data pencarian data buku adalah dengan membuat database pada Microsoft access seperti yang terlihat pada gambar dibawah, cara membuat database login, Langkah ke 2 yaitu buat database
Lebih terperinciLISTING PROGRAM. Private Sub Form_Load() lblwaktu.caption = Format(Now, "DDDD, d MMMM yyyy End Sub
LISTING PROGRAM Form Awal Private Sub cmdenter_click() Form_Awal.Hide Form_Login.Show Private Sub cmdexit_click() pesan = MsgBox("Apakah Anda Yakin Ingin Keluar?", vbinformation + vbyesno, If pesan = vbyes
Lebih terperinciProgram absen dengan menggunakan visual basic 6.0
Program absen dengan menggunakan visual basic 6.0 Pajrin Wurika Sahara Wurika.sahara@gmail.com Abstrak Visual Basic merupakan sebuah bahasa pemrograman yang menawarkan Integrated Development Environment
Lebih terperinciGambar 4.60Tampilan Menu Utama
4.5 Tampilan dan Kode Program 4.5.1 Tampilan Menu Pada Menu Utama Untuk merancang program sistem informasi akuntansi arus kas ini penulis melengkapi dengan pengendalian keamanan, setiap masuk ke dalam
Lebih terperinciFORM BARANG KELUAR. 1. Buat Table : BarangKeluar, pada Database StockGudang, dengan struktur sebagai berikut :
Praktikum-20 AMIK-STMIK JAYANUSA Imam Gunawan, M. Kom FORM BARANG KELUAR 1. Buat Table : BarangKeluar, pada Database StockGudang, dengan struktur sebagai berikut : 2. Buat Form Cari Customer dengan Layout
Lebih terperinciBAB IV IMPLEMENTASI DAN PENGUJIAN
BAB IV IMPLEMENTASI DAN PENGUJIAN Di sini merupakan proses pengkodean dari hasil perancangan yang telah dibuat sebelumnya. Pada tahap ini seolah-olah merupakan proses pemberian nyawa pada sebuah benda/object
Lebih terperinciLISTING PROGRAM. 1. Listing Flash Pembuka. Private Sub Timer1_Timer() ProgressBar1.Value = ProgressBar1.Value + 4. If ProgressBar1.
1 LISTING PROGRAM 1. Listing Flash Pembuka. Private Sub Timer1_Timer() ProgressBar1.Value = ProgressBar1.Value + 4 If ProgressBar1.Value = 100 Then TA.Show Unload Me 2. tugas_akhir.frm Private Sub nabout_click()
Lebih terperinciPada Visual Basic, anda dapat membuat database dengan menggunakan Visual Data Manager yang dapat diaktifkan dari menu Add Ins, Visual Data Manager
Membuat Database dengan Visual Data Manager Pada Visual Basic, anda dapat membuat database dengan menggunakan Visual Data Manager yang dapat diaktifkan dari menu Add Ins, Visual Data Manager Membuat Database
Lebih terperinciPRAKTIKUM 4 ARRAY DAN SUB ROUTINE
PRAKTIKUM 4 ARRAY DAN SUB ROUTINE I. TUJUAN Tujuan praktikum 4 adalah mahasiswa bisa membuat program yang menggunakan variabel arrray dan menyusun program terstruktur yang terbagi dalam beberapa sub routine
Lebih terperinciSNIPTEK 2014 ISBN: SISTEM INFORMASI AKUNTANSI JURNAL UMUM TELKOMSEL SUKABUMI
SISTEM INFORMASI AKUNTANSI JURNAL UMUM TELKOMSEL SUKABUMI Andi Arfian STMIK Nusa Mandiri Jakarta arfian.andi@gmail.com Syarifatun Nissa STMIK Nusa Mandiri Jakarta syarifa.nisssa@gmail.com ABSTRAK Pencatatan
Lebih terperinciKARTU BIMBINGAN TUGAS AKHIR MAHASISWA
KARTU BIMBINGAN TUGAS AKHIR MAHASISWA Nama Mahasiswa : Rama Azhari Siregar Nomor Induk Mahasiswa : 112406087 Judul Tugas Akhir : Aplikasi daftar menu digital di restoran menggunakan Visual basic 6.0 Dosen
Lebih terperinciOracle dengan Visual Basic. Arif Basofi Politeknik Elektronika Negeri Surabaya ITS 2012
Oracle dengan Visual Basic Arif Basofi Politeknik Elektronika Negeri Surabaya ITS 2012 1 Tujuan Introduction to Oracle Membangun Sistem Informasi sederhana 2 Introduction to Oracle Mengapa menggunakan
Lebih terperinciPraktikum 5 Program Aplikasi Bisnis Imam Gunawan, M. Kom 1. Tambahkan tabel berikut, pada database stockgudang :
1. Tambahkan tabel berikut, pada database stockgudang : 2. Buat form CariBarang dengan tampilan sbb : 3. Desainlah Form Input Barang_Masuk seperti di bawah ini : 4. Buat koding program sebagai berikut
Lebih terperinci1. Kompetensi Memahami berbagai teknologi pemrograman basis data, khususnya MySQL, pada Visual Basic 6.0.
No. : LST/PTI/PTI 8/0 Revisi : 0 Tgl. : 5-3-009 Hal. dari 3 hal.. Kompetensi Memahami berbagai teknologi pemrograman basis data, khususnya MySQL, pada Visual Basic 6.0.. Sub Kompetensi Dapat mengakses
Lebih terperinci1. Kompetensi Memahami berbagai teknologi pemrograman basis data, khususnya MySQL, pada Visual Basic 6.0.
No. : LST/PTI/PTI 228/03 Revisi : 01 Tgl. : 30-3-2009 Hal. 1 dari 13 hal. 1. Kompetensi Memahami berbagai teknologi pemrograman basis data, khususnya MySQL, pada Visual Basic 6.0. 2. Sub Kompetensi Dapat
Lebih terperinciContoh Aplika Aplik si a VB dengan Database Oracle 1
Contoh Aplikasi VB dengan Database Oracle 1 Instalasi Oracle 9i pada Sistem Operasi Windows Kebutuhan Sistem CPU dengan prosesor Minimum Frekuensi Clock 500 Mhz. Memory SDRAM sebesar 26 Mb. Harddisk dengan
Lebih terperinciPembahasan Pada Asistensi Mengenai, Pada Bab: 1 Pengajuan Proposal
No Tanggal Asistensi Bimbingan Pembahasan Pada Asistensi Mengenai, Pada Bab: 1 Pengajuan Proposal 2 Bab 1 3 Bab 2 4 Bab 3 5 Bab 4 6 Bab 5 Paraf Dosen Pembimbing Keterangan SURAT KETERANGAN Hasil Uji Program
Lebih terperinciFUNGSI PENCABANGAN DAN PERULANGAN
Hal - 1 - FUNGSI PENCABANGAN DAN PERULANGAN Kedua fungsi ini sangat banyak digunakan dalam proses pemrograman. Kita akan mencobanya dalam sebuah program non database. Fungsi pencabangan dan perulangan
Lebih terperinciPERANCANGAN SISTEM INFORMASI KESISWAAN DAN KEPEGAWAIAN SMP NEGERI 3 PONOROGO BERBASIS VISUAL BASIC 6.0 SKRIPSI
PERANCANGAN SISTEM INFORMASI KESISWAAN DAN KEPEGAWAIAN SMP NEGERI 3 PONOROGO BERBASIS VISUAL BASIC 6.0 SKRIPSI Diajukan Sebagai Salah Satu Syarat Untuk Memperoleh Gelar Sarjana Jenjang Strata Satu (S1)
Lebih terperinciDISUSUN OLEH : : Friska Rosalina NIM :
DISUSUN OLEH : Nama : Friska Rosalina NIM : 061130500419 2013 PROGRAM BILLING WARNET MICROSOFT VISUAL BASIC Program billing merupakan sistem yang membantu para usahawan untuk mengatur dan mencatat segala
Lebih terperinciPROGRAM PENGGAJIAN VB 6.0 Peminat silakan hubungi : Email : uusrusmawan71@gmail.com Facebook : konsultasivb@ymail.com (Uus Rusmawan) Phone : 0812 8438 1118 8.1 Normalisasi File Program penggajian ini dirancang
Lebih terperinciPROGRAM REKAM MEDIS VB 6.0 Peminat silakan hubungi : Email : uusrusmawan71@gmail.com Facebook : konsultasivb@ymail.com (Uus Rusmawan) Phone : 0812 8438 1118 Program ini merupakan konversi dari konsep DAO
Lebih terperinciBAB 1 KONSEP DASAR...
Daftar Isi Kata Pengantar... v Daftar Isi...ix BAB 1 KONSEP DASAR...1 1.1 Type Data...3 1.2 Membuat Primary Key dan Foreign Key...4 1.3 Mengubah Posisi Field...4 1.4 Menyalin Tabel...6 1.5 Menghapus dan
Lebih terperinciKARTU BIMBINGAN TUGAS AKHIR MAHASISWA
KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jln. Bioteknologi No.1 Kampus USU Padang Bulan Medan-20155 Telp. (061) 8211050, 8214290, Fax. (061)
Lebih terperinciTambahkan Form Baru untuk pengisian user login (password pemakaian) dan simpan dengan nama frmlogin
Tambahkan Form Baru untuk pengisian user login (password pemakaian) dan simpan dengan nama frmlogin Private Sub Form_Activate() cmdok.default = True Private Sub Text1_KeyPress(KeyAscii As Integer) KeyAscii
Lebih terperinciMODUL D :// Mahasiswa memahami konsep pembuatan database. Mahasiswa memahami konsep pembuatan program dasar aplikasi database
MODUL D :// Mahasiswa memahami konsep pembuatan database. Mahasiswa memahami konsep pembuatan program dasar aplikasi database I. Membuat DataBase 1. Buatlah database di Access ->Pilih Blank Access Database
Lebih terperinciPrivate Sub cmdprint_click() WebBrowser1.ExecWB OLECMDID_PRINT,OLECMDEXECOPT_DODEFAULT End Sub
Lampiran 1 Form Utama Aplikasi Web Browser Dim counter As Integer Private Sub cmdback_click() WebBrowser1.GoBack Private Sub cmdbuka_click() CommonDialog1.CancelError = True On Error GoTo Cancel CommonDialog1.Filter
Lebih terperincij = dengan menggunakan fungsi aktivasi untuk menghitung sinyal outputnya:
LAMPIRAN 53 55 Lampiran 1 Algoritma JST propagasi balik Langkah 0 : Menginisialisasi semua bobot dengan bilangan acak kecil. Langkah 1 : Jika kondisi penghentian belum terpenuhi, dilakukan langkah 2-8.
Lebih terperinciPertemuan-1 TIPE DATA STRUKTUR
Pertemuan-1 TIPE DATA STRUKTUR A. Maksud dan Tujuan 1. Maksud Membuat tipe data terstruktur dan modul-modul program 2. Tujuan Mahasiswa mampu membuat program dengan pernyataan tipe data terstruktur yang
Lebih terperinciPertemuan 3 Validasi input data Pada saat kita bekerja dengan database, maka kita harus memastikan bahwa data yang diinput dari form yang akan disimpan dalam database harus valid. Validasi yang dimaksud
Lebih terperinciLAMPIRAN A : LISTING PROGRAM
LAMPIRAN A : LISTING PROGRAM Source Code module Public Conn As New ADODB.Connection Public RSKasir As ADODB.Recordset Public RSAnggota As ADODB.Recordset Public RSSimpan As ADODB.Recordset Public RSPinjam
Lebih terperinciPemrograman Database I. Danu Wira Pangestu 1. Konsep Dasar. Lisensi Dokumen:
Pemrograman Database Visual Basic MySQL (bagian 4) Danu Wira Pangestu danu_wira@yahoo.com www.bangdanu.wordpress.com Lisensi Dokumen: Seluruh dokumen di IlmuKomputer.Com dapat digunakan, dimodifikasi dan
Lebih terperinciLAMPIRAN. Dim WithEvents diagnosa As New DB_MYSQL Dim sql = "select * from gejala order by kode asc"
LAMPIRAN 1. Frm. Diagnosa Imports System.Math Imports pika_sistem_pakar.data Public Class frmdiagnosa Dim WithEvents diagnosa As New DB_MYSQL Dim sql = "select * from gejala order by kode asc" '//untuk
Lebih terperinciAPLIKASI PERSEDIAAN BARANG VB 6.0 (VERSI 2) Peminat silakan hubungi : Email : uusrusmawan71@gmail.com Facebook : konsultasivb@ymail.com (Uus Rusmawan) Phone : 0812 8438 1118 Program ini merupakan suatu
Lebih terperinciMengerti dan memahami pemrograman berbasis object Mengerti dan memahami pembuatan visualisasi untuk interface
PERCOBAAN 9 Dasar Pemograman Visual A. Tujuan Mengerti dan memahami pemrograman berbasis object Mengerti dan memahami pembuatan visualisasi untuk interface B. Teori 1. Mengenal Visual Basic Visual Basic
Lebih terperinciPROGRAM RENTAL VCD DENGAN MICROSOFT VISUAL BASIC 6.0
PROGRAM RENTAL VCD DENGAN MICROSOFT VISUAL BASIC 6.0 Sebelum memulai membuat program terlebih dahulu membuat database untuk menyimpan data Rental VCD. 1. Membuat Database (Ms. Access) Menggunakan Visual
Lebih terperinciBAB IV IMPLEMENTASI DAN PENGUJIAN. Setelah dilakukan tahap analisis dan perancangan sistem, maka tahap
BAB IV IMPLEMENTASI DAN PENGUJIAN Setelah dilakukan tahap analisis dan perancangan sistem, maka tahap selanjutnya yang harus dilakukan adalah pengkodean dan uji coba. Dalam tahap ini pengkodean telah dilakukan
Lebih terperinciBAB IV IMPLEMENTASI DAN PENGUJIAN. Dalam pembuatan program ini penulis menggunakan Visual Basic. Net
BAB IV IMPLEMENTASI DAN PENGUJIAN 4. 1 Instalasi Software Dalam pembuatan program ini penulis menggunakan Visual Basic. Net dalam menjalankan program aplikasi ini dan menggunakan aplikasi Crystal Report
Lebih terperinciPENGOLAHAN DATA PENGIRIMAN PAKET DI PT POS INDONESIA SURAKARTA MENGGUNAKAN BAHASA PEMROGRAMAN VISUAL BASIC 6.0
PENGOLAHAN DATA PENGIRIMAN PAKET DI PT POS INDONESIA SURAKARTA MENGGUNAKAN BAHASA PEMROGRAMAN VISUAL BASIC 6.0 Didik Warasto Program Studi Manajemen Informatika, Politama Surakarta email: didik_warasto@yahoo.com
Lebih terperinciBAB IV IMPLEMENTASI DAN PENGUJIAN
BAB IV IMPLEMENTASI DAN PENGUJIAN 4.1 Implementasi Tahap implementasi dan pengujian sistem, dilakukan setelah tahap analisis dan perancangan selesai dilakukan. Pada sub bab ini akan dijelaskan implementasi
Lebih terperinciKARTU BIMBINGAN TUGAS AKHIR MAHASISWA
KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM PROGRAM STUDI D.III TEKNIK INFORMATIKA Jl. Bioteknologi No. 1 Kampus USU MEDAN Telp/FAX. 061-8214290
Lebih terperinci8. Leong, Marlon Dari Programer untuk Programer Visual Basic.
8. Leong, Marlon. 2006. Dari Programer untuk Programer Visual Basic. Yogyakarta: Andi Offset. FORM CLIENT Dim i As Integer, j As Integer, jlhbrg As Integer, tot As Long, potongan As Long, referer As Byte
Lebih terperinciCoding : Coding : Oleh : Uus Rusmawan Hal - 1
Oleh : Uus Rusmawan Hal - 1 Private Sub Form_Unload(Cancel As Integer) Do Me.Top = Me.Top + 40 Me.Move Me.Left, Me.Top DoEvents Loop Until Me.Top > Screen.Height - 500 If Label1.Visible = True Then Label1.Visible
Lebih terperinciPEMROGRAMAN CLIENT. Latihan 1. Buka IDE Visual Basic dan buat project baru, simpan pada folder anda masingmasing.
PEMROGRAMAN CLIENT Dalam arsitektur aplikasi model client/server, pemrosesan pada sebuah aplikasi terjadi pada client dan server. Aplikasi client mengeluarkan permintaan ke database yang mengirimkan kembali
Lebih terperinci