1. Menu Utama. Private Sub abt_click() frmabout.show End Sub. Private Sub dafabsenhar_click() frmdafabsensihar.show End Sub

Size: px
Start display at page:

Download "1. Menu Utama. Private Sub abt_click() frmabout.show End Sub. Private Sub dafabsenhar_click() frmdafabsensihar.show End Sub"

Transcription

1 1. Menu Utama Private Sub abt_click() frmabout.show Private Sub dafabsenhar_click() frmdafabsensihar.show Private Sub dafpeg_click() frmdafpegawai.show Private Sub dafuser_click() frmdaftaruser.show Private Sub FA_Click() frmabsensi.show Private Sub FP_Click() frmpegawai1.show Private Sub FU_Click() frmuser.show Private Sub K_Click() End Private Sub LapAbsensiBul_Click() frmlapabsensibul.show Private Sub LapAbsensiHar_Click() frmlapabsensihar.show Private Sub login_click() frmlogin.show Private Sub logout_click() mnufile.enabled = False mnuabsen.enabled = False mnulap.enabled = False bollogon = False Private Sub MDIForm_Activate() If bollogon = True Then mnufile.enabled = True mnuabsen.enabled = True mnulap.enabled = True

2 mnufile.enabled = False mnuabsen.enabled = False mnulap.enabled = False Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) Select Case Button.Index Case 1 If bollogon = True Then frmpegawai1.show Case 2 If bollogon = True Then frmabsensi.show Case 3 End End Select Private Sub Timer1_Timer() If bollogon = True Then StatusBar1.Panels(1).Text = "Jam : " & Format(Now, "HH:MM:SS") StatusBar1.Panels(2).Text = "Tanggal :" & Format(Date, _ "d MMMM yyyy") StatusBar1.Panels(3).Text = "USER ID: " & UserID UserID = "" StatusBar1.Panels(1).Text = "Jam : " StatusBar1.Panels(2).Text = "Tanggal :" StatusBar1.Panels(3).Text = "USER ID: " 2. Login Option Explicit Dim rsuser As Recordset Private Sub cmdcancel_click() Me.Hide Unload Me Private Sub cmdok_click() On Error Resume Next UserID = txtuser.text rscari.open "Select * from [uuser] where UserId='" & _ txtuser.text & "' and Passwd='" & txtpass.text & "'", _ CN, adopendynamic, adlockoptimistic If rscari.eof = True Then MsgBox "Password salah" txtpass = "" txtuser = "" bollogon = False txtuser.setfocus Me.Hide bollogon = True

3 MenuUtama.Show Private Sub Form_Activate() txtpass = "" txtuser = "" txtuser.setfocus Private Sub Form_Load() Koneksi Private Sub txtpass_keypress(keyascii As Integer) cmdok.enabled = True cmdok.setfocus Private Sub txtuser_keypress(keyascii As Integer) txtpass.locked = False txtpass.setfocus 3. Logout mnufile.enabled = False mnuabsen.enabled = False mnulap.enabled = False bollogon = False 4. Data Pegawai Option Explicit Dim J As ListItem Dim IDPegawai As Integer Dim bolok As Boolean Dim rspegawai As Recordset Sub CariID() rscari.open "Select * from Pegawai order by IDPegawai desc", CN, 1, 2 If Not rscari.eof Then IDPegawai = rscari!idpegawai + 1 IDPegawai = 1 Set rscari = Nothing Set rssimpan = New ADODB.Recordset rssimpan.open "Pegawai", CN, 1, 2 rssimpan.addnew rssimpan!idpegawai = IDPegawai rssimpan!statusrec = "1" rssimpan.update Set rssimpan = Nothing Private Sub cmdclose_click() Unload Me

4 Private Sub cbogol_click() cbojabatan.enabled = True cbojabatan.setfocus Private Sub cbojabatan_click() If Tambah = True Then cmdsimpan.enabled = True cmdsimpan.setfocus Private Sub cbojk_click() If cbojk.text = "Laki-Laki" Then Label19.Caption = "Nama Istri" Label19.Caption = "Nama Suami" cbostatuskawin.enabled = True cbostatuskawin.setfocus Private Sub cbostatuskawin_click() If cbostatuskawin.text = "Kawin" Then txtnmpasangan.enabled = True txtnmpasangan.setfocus txtnmpasangan.text = "-" txttemplahir.enabled = True txttemplahir.setfocus Private Sub cmdbatal_click() Call Bersih Call Mati cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus Private Sub cmdcari_click() Cari = True Private Sub cmdedit_click() cmdedit.enabled = False If Ubah = True Then X = MsgBox("Data Anggota mau di Edit?", vbyesno)

5 If X = vbyes Then Timer1.Enabled = True Set rsubah = New ADODB.Recordset Set rsubah = New ADODB.Recordset rsubah.open "Update Pegawai SET Nama ='" & txtnama.text _ & "', Alamat='" & txtalamat.text & "'," & _ "TglMasuk='" & Format(txtTglMasuk.Value, "dd-mm-yyyy") _ & "',TglLahir='" & Format(txtTglLahir.Value, _ "dd-mm-yyyy") & "'," & _ "noktp='" & txtnoktp.text & "', JK='" & Left(cboJK.Text,_ & "',StatusKawin='" & Left(cboStatusKawin.Text, 1) _ & "'," & _"Nama_Pasangan='" & txtnmpasangan.text _ & "',Jabatan='" & Left(cboJabatan.Text, 1) & "', _ Gol='" & Left(cboGol.Text, 1) & "', NoTelp='" _ & txtnotelp.text & "',NoHP='" & txtnohp.text & "'," & _ "TempLahir='" & txttemplahir.text & "' where _ IDPegawai =" & IDPegawai & "", CN, 1, 2 Set rsubah = Nothing Call Mati Call Bersih Call Segar cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus Call Mati Call Bersih Call Segar cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus Private Sub cmdhapus_click() Set rshapus = New ADODB.Recordset rshapus.open "Delete from Pegawai where IDPegawai=" & IDPegawai _ & "", CN, 1, 2 Set rshapus = Nothing Call Segar Call Mati Call Bersih cmdedit.enabled = False

6 cmdbatal.enabled = True cmdtambah.setfocus Private Sub cmdkeluar_click() Unload Me Private Sub cmdsimpan_click() X = MsgBox("Data anggota mau disimpan?", vbyesno) If X = vbyes Then If txtnama.text <> "" Then If IDPegawai <> 0 Then If txtalamat.text <> "" Then If cbojk.text <> "" Then If txttemplahir.text <> "" Then If cbostatuskawin.text <> "" Then If txtnoktp.text <> "" Then If txtnmpasangan.text <> "" Then If cbojabatan.text <> "" Then bolok = True bolok = False bolok = False bolok = False bolok = False bolok = False bolok = False bolok = False bolok = False bolok = False If bolok = True Then Set rsubah = New ADODB.Recordset rsubah.open "Update Pegawai SET Nama ='" & txtnama.text & _ "', Alamat='" & txtalamat.text & "',NIP='" & txtnip.text _ & "'," & _"TglMasuk='" & Format(txtTglMasuk.Value, _ "dd-mm-yyyy")& "',TglLahir='" & Format(txtTglLahir.Value, "dd-mm-yyyy") & "'," & _ "noktp='" & txtnoktp.text & "', JK='" & Left(cboJK.Text, _ 1))& "',StatusKawin='" & Left(cboStatusKawin.Text, 1)_

7 & "'," & "Nama_Pasangan='" & txtnmpasangan.text _ & "',Jabatan='" & Left(cboJabatan.Text, 1) & "',Gol='" _ & Left(cboGol.Text, 1) & "', notelp='" & txtnotelp.text _ & "',NoHP='" & txtnohp.text & "'," & "TempLahir='" _ & txttemplahir.text & "',StatusRec='*' where IDPegawai _ =" & IDPegawai & "", CN, 1, 2 Set rsubah = Nothing Call Segar Call Mati Call Bersih cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus MsgBox "Data belum lengkap..." Private Sub cmdtambah_click() Tambah = True Cari = False cmdtambah.enabled = False Call CariID txttglmasuk.value = Format(Now, "dd-mm-yyyy") cmdsimpan.enabled = True txtnip.enabled = True txtnip.setfocus Private Sub Form_Activate() Call Mati Call Bersih Call Segar cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus Private Sub Form_Load() Call Koneksi cbostatuskawin.additem "Kawin" cbostatuskawin.additem "Belum" cbojk.additem "Laki-Laki" cbojk.additem "Perempuan" cbojabatan.additem "1.Kepala Dinas" cbojabatan.additem "2.Kepala Seksi" cbojabatan.additem "3.Staff" cbogol.additem "1.I" cbogol.additem "2.II"

8 cbogol.additem "3.III" cbogol.additem "4.IV" Private Sub Form_Unload(Cancel As Integer) Call Bersih Private Sub lv1_click() If Cari = True Then IDPegawai = lv1.listitems.item(lv1.selecteditem.index).text rscari.open "Select * from Pegawai where IDPegawai=" & _ IDPegawai & "", CN, adopendynamic, adlockoptimistic If Not rscari.eof = True Then txtnama = rscari!nama txtnip = rscari!nip txtalamat = rscari!alamat If rscari!jk = "L" Then cbojk = "Laki-Laki" Label19.Caption = "Nama Istri" cbojk = "Perempuan" Label19.Caption = "Nama Suami" txttemplahir = rscari!templahir If rscari!statuskawin = "K" Then cbostatuskawin = "Kawin" cbostatuskawin = "Belum" txtnoktp = rscari!noktp txtnmpasangan = rscari!nama_pasangan txtnotelp.text = rscari!notelp txtnohp.text = rscari!nohp If rscari!jabatan = "1" Then cbojabatan = "1.Kepala Dinas" If rscari!jabatan = "2" Then cbojabatan = "2.Kepala Seksi" If rscari!jabatan = "3" Then cbojabatan = "3.Staff" If rscari!gol = "1" Then cbogol = "1.I" If rscari!gol = "2" Then cbogol = "2.II" If rscari!gol = "3" Then cbogol = "3.III" cbogol = "4.IV" Call Hidup Ubah = True

9 cmdedit.enabled = True cmdhapus.enabled = True MsgBox "User tidak ada..." Call Bersih Sub Segar() lv1.listitems.clear rscari.open "Select * from Pegawai Order by IDPegawai asc", _ CN, 1, 3 If Not rscari.eof = True Then Do While Not rscari.eof Set J = lv1.listitems.add(,, rscari!idpegawai) J.SubItems(1) = rscari!nip J.SubItems(2) = rscari!tglmasuk J.SubItems(3) = rscari!nama J.SubItems(4) = rscari!alamat J.SubItems(5) = rscari!notelp J.SubItems(6) = rscari!nohp J.SubItems(7) = rscari!noktp rscari.movenext If rscari.eof Then Exit Do Loop Set rscari = Nothing Private Sub Timer1_Timer() Frame3.Visible = True Bar1.Value = Bar1.Value + 10 lblsaving.caption = Bar1.Value If Bar1.Value = 100 Then Timer1.Enabled = False Frame3.Visible = False Bar1.Value = 0 Private Sub txtalamat_keypress(keyascii As Integer) txtnoktp.enabled = True txtnoktp.setfocus Private Sub txtnama_keypress(keyascii As Integer) txtalamat.enabled = True txtalamat.setfocus Sub Mati() txtnip.enabled = False

10 txtnama.enabled = False txtalamat.enabled = False cbojk.enabled = False txttemplahir.enabled = False txttgllahir.enabled = False cbostatuskawin.enabled = False txtnoktp.enabled = False txtnotelp.enabled = False txtnohp.enabled = False txtnmpasangan.enabled = False cbojabatan.enabled = False cbogol.enabled = False txttglmasuk.enabled = False Sub Hidup() txtnip.enabled = True txtnama.enabled = True txtalamat.enabled = True cbojk.enabled = True txttemplahir.enabled = True txttgllahir.enabled = True cbostatuskawin.enabled = True txtnoktp.enabled = True txtnotelp.enabled = True txtnohp.enabled = True txtnmpasangan.enabled = True cbojabatan.enabled = True cbogol.enabled = True txttglmasuk.enabled = True Sub Bersih() txtnama = "" IDPegawai = 0 txtnip = "" txtalamat = "" cbojk = "" txttemplahir = "" cbostatuskawin = "" txtnoktp = "" txtnmpasangan = "" txtnotelp = "" txtnohp = "" cbojabatan.text = "" cbogol.text = "" txttglmasuk.value = Format(Now, "dd-mm-yyyy") txttgllahir.value = Format(Now, "dd-mm-yyyy") Cari = False Tambah = False Set rshapus = New ADODB.Recordset rshapus.open "Delete from Pegawai where StatusRec='1'", CN, 1, 2 Set rshapus = Nothing Private Sub txtnip_keypress(keyascii As Integer)

11 txttglmasuk.enabled = True txttglmasuk.setfocus Private Sub txtnmpasangan_keypress(keyascii As Integer) txttemplahir.enabled = True txttemplahir.setfocus Private Sub txtnohp_keypress(keyascii As Integer) cbojk.enabled = True cbojk.setfocus If Not (KeyAscii >= Asc("0") And KeyAscii <= Asc("9") Or KeyAscii _ = vbkeyback Or KeyAscii = Asc(".") Or KeyAscii = 13) Then Beep MsgBox "Isi dengan angka 0-9" KeyAscii = 0 Private Sub txtnoktp_keypress(keyascii As Integer) txtnotelp.enabled = True txtnotelp.setfocus If Not (KeyAscii >= Asc("0") And KeyAscii <= Asc("9") Or KeyAscii _ = vbkeyback Or KeyAscii = Asc(".") Or KeyAscii = 13) Then Beep MsgBox "Isi dengan angka 0-9" KeyAscii = 0 Private Sub txtnotelp_keypress(keyascii As Integer) txtnohp.enabled = True txtnohp.setfocus If Not (KeyAscii >= Asc("0") And KeyAscii <= Asc("9") Or KeyAscii _ = vbkeyback Or KeyAscii = Asc(".") Or KeyAscii = 13) Then Beep MsgBox "Isi dengan angka 0-9" KeyAscii = 0 Private Sub txttemplahir_keypress(keyascii As Integer) txttgllahir.enabled = True txttgllahir.setfocus Private Sub txttgllahir_click() cbogol.enabled = True

12 cbogol.setfocus Private Sub txttglmasuk_click() txtnama.enabled = True txtnama.setfocus 5. Daftar Pegawai Private Sub Form_Activate() Me.WindowState = 2 cr.reportfilename = App.Path & "\Laporan\RepDafPegawai.rpt" cr.retrievedatafiles cr.connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" _ & App.Path & "\dbpegawai.mdb;persist Security Info=False" cr.windowshowrefreshbtn = True cr.printreport cr.windowstate = crptmaximized cr.action = 1 6. Data User Option Explicit Dim J As ListItem Dim rsuser As Recordset Dim UserID As String Private Sub cmdbatal_click() Mati Bersih Ubah = False Tambah = False Cari = False cmdupdate.enabled = False cmdtambah.setfocus Private Sub cmdcari_click() Cari = True Private Sub cmdcetak_click() frmdaftaruser.show Private Sub cmdhapus_click() rscari.delete Set rscari = Nothing Mati Bersih Segar MsgBox "User sudah di hapus..." cmdupdate.enabled = False

13 cmdtambah.setfocus Private Sub cmdkeluar_click() Unload Me Private Sub cmdsimpan_click() If Tambah = True Then Call Save Private Sub cmdtambah_click() Tambah = True cmdtambah.enabled = False cmdsimpan.visible = True cmdcari.enabled = False cmdcari.enabled = False txtuserid.enabled = True txtuserid.setfocus Private Sub cmdupdate_click() If Ubah = True Then Set rsubah = New ADODB.Recordset rsubah.open "Update [UUser] Set Passwd ='" & txtpasswd.text _ & "'where UserID ='" & txtuserid.text & "'", CN, _ adopendynamic, adlockoptimistic MsgBox "Data sudah Ubah" Ubah = False Mati Bersih Segar Set rsubah = Nothing cmdupdate.enabled = False cmdtambah.setfocus Private Sub Form_Activate() Cari = False Call Segar Mati Bersih cmdupdate.enabled = False

14 cmdtambah.setfocus Sub Mati() txtuserid.enabled = False txtpasswd.enabled = False Sub Bersih() txtuserid.text = "" txtpasswd.text = "" Ubah = False Tambah = False UserID = "" Private Sub Form_Load() Koneksi Private Sub lv_click() On Error Resume Next If Cari = True Then UserID = lv.listitems.item(lv.selecteditem.index).text rscari.open "Select * from [uuser] where UserID='" & UserID _ & "'", CN, adopendynamic, adlockoptimistic If Not rscari.eof = True Then txtuserid.text = UserID txtpasswd.text = rscari!passwd Ubah = True cmdupdate.enabled = True cmdhapus.enabled = True txtpasswd.enabled = True txtpasswd.setfocus MsgBox "User tidak ada..." txtuserid.text = "" txtpasswd.text = "" Private Sub txtpasswd_keypress(keyascii As Integer) If Tambah = True Then cmdsimpan.enabled = True cmdtambah.enabled = False cmdsimpan.setfocus If Ubah = True Then cmdupdate.enabled = True cmdupdate.setfocus Sub Save() Set rsuser = New ADODB.Recordset

15 rsuser.open "Select * from [uuser] where UserID='" _ & txtuserid.text & "' and Passwd='" & txtpasswd.text & "'", _ CN, adopendynamic, adlockoptimistic If Tambah = True Then If rsuser.eof = True Then Set rssimpan = New ADODB.Recordset rssimpan.open "select * from [uuser]", _ CN, adopendynamic, adlockoptimistic rssimpan.addnew rssimpan.fields("userid") = txtuserid.text rssimpan.fields("passwd") = txtpasswd.text rssimpan.update Mati Bersih Segar MsgBox "Data sudah tersimpan" Tambah = False cmdupdate.enabled = False cmdtambah.setfocus MsgBox "User sudah ada..." txtpasswd.text = "" txtuserid.text = "" txtuserid.setfocus Sub Segar() lv.listitems.clear rscari.open "Select * from uuser Order by UserID asc", CN, 1, 3 If Not rscari.eof = True Then Do While Not rscari.eof Set J = lv.listitems.add(,, rscari!userid) J.SubItems(1) = rscari!passwd rscari.movenext If rscari.eof Then Exit Do Loop Set rscari = Nothing Private Sub txtuserid_keypress(keyascii As Integer) If Tambah = True Then rscari.open "Select * from [uuser] where UserID='" _ & txtuserid.text & "'", CN, 1,2 If rscari.eof = True Then txtpasswd.enabled = True txtpasswd.setfocus MsgBox "User sudah ada..." txtuserid.text = ""

16 txtpasswd.text = "" txtuserid.setfocus If Cari = True Then rscari.open "Select * from [uuser] where UserID='" &_ txtuserid.text & "'", CN, 1, 2 If rscari.eof = True Then MsgBox "User belum ada..." txtuserid.text = "" txtuserid.setfocus txtpasswd.text = rscari.fields("passwd") cmdupdate.enabled = True cmdhapus.enabled = True cmdupdate.setfocus 7. Daftar User Private Sub Form_Activate() Me.WindowState = 2 cr.reportfilename = App.Path & "\Laporan\RepDafUser.rpt" cr.retrievedatafiles cr.connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ App.Path & "\dbpegawai.mdb;persist Security Info=False" cr.windowshowrefreshbtn = True cr.printreport cr.windowstate = crptmaximized cr.action = 1 8. Data Absensi Option Explicit Dim J As ListItem Dim IDAbsensi As Integer Dim IDDAbsensi As Integer Dim rsabsensi As Recordset Dim rsdabsensi As Recordset Dim IDPegawai As Integer Dim Lama As Integer Dim bolhadir As Boolean Dim Ket As String Dim bolok As Boolean Sub Bersih() bolok = False Ket = "Ada" IDAbsensi = 0 IDDAbsensi = 0 lblidd.caption = "" lblid = "" lblnip = "" lblnama = "" cbokode = "" cboket = ""

17 txtjammasuk = " : " txtjampulang = " : " lbllama = "" Cari = False Tambah = False bolhadir = False Set rshapus = New ADODB.Recordset rshapus.open "Delete from Absensi where StatusRec='1'", CN, 1, 2 Set rshapus = Nothing Set rshapus = New ADODB.Recordset rshapus.open "Delete from DAbsensi where StatusRec='1'", CN, 1, 2 Set rshapus = Nothing Sub Mati() cbokode.enabled = False cboket.enabled = False txtjammasuk.enabled = False txtjampulang.enabled = False txttgl.enabled = False Sub CariID() rscari.open "Select * from Absensi order by IDAbsensi desc", CN, 1, 2 If Not rscari.eof Then IDAbsensi = rscari!idabsensi + 1 IDAbsensi = 1 Set rscari = Nothing lblid.caption = IDAbsensi Set rssimpan = New ADODB.Recordset rssimpan.open "Absensi", CN, 1, 2 rssimpan.addnew rssimpan!idabsensi = IDAbsensi rssimpan!tglabsen = Format(txtTgl.Value, "dd-mm-yyyy") rssimpan!statusrec = "1" rssimpan.update Set rssimpan = Nothing Sub CariIDD() rscari.open "Select * from DAbsensi order by IDDAbsensi desc", _ CN,1, 2 If Not rscari.eof Then IDDAbsensi = rscari!idabsensi + 1 IDDAbsensi = 1 Set rscari = Nothing lblidd.caption = IDDAbsensi Set rssimpan = New ADODB.Recordset rssimpan.open "DAbsensi", CN, 1, 2

18 rssimpan.addnew rssimpan!iddabsensi = IDDAbsensi rssimpan!idabsensi = IDAbsensi rssimpan!statusrec = "1" rssimpan.update Set rssimpan = Nothing Private Sub cboket_click() If bolhadir = False Then cmdsimpan.enabled = True cmdsimpan.setfocus Private Sub cbokode_click() If cbokode.text = "Hadir" Then bolhadir = True Call CariIDD cboket.text = "Masuk" txtjammasuk.enabled = True txtjammasuk.setfocus bolhadir = False cboket.enabled = True cboket.setfocus Private Sub cmdbatal_click() Call Bersih Call Mati cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus Private Sub cmdcari_click() Cari = True Private Sub cmdhapus_click() cmdedit.enabled = False Set rshapus = New ADODB.Recordset rshapus.open "Delete from DAbsensi where IDAbsensi=" & _ IDAbsensi & "", CN, 1, 2 Set rshapus = Nothing Set rshapus = New ADODB.Recordset rshapus.open "Delete from Absensi where IDAbsensi=" & IDAbsensi _ & "", CN, 1, 2 Set rshapus = Nothing Call Mati

19 Call Bersih Call SegarPeg Call SegarAbsen cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus Private Sub cmdkeluar_click() Unload Me Private Sub cmdsimpan_click() X = MsgBox("Data absensi mau disimpan?", vbyesno) If X = vbyes Then If lblnip.caption <> "" Then If IDPegawai <> 0 Then If IDAbsensi <> 0 Then bolok = True bolok = False bolok = False bolok = False If bolok = True And bolhadir = True Then Set rsubah = New ADODB.Recordset rsubah.open "Update Absensi SET IDPegawai=" & IDPegawai _ & ",Kode ='" & Left(cboKode.Text, 1) & "', Keterangan='" _ & Left(cboKet.Text, 1) & "',StatusRec='*' " & _ "where IDAbsensi =" & IDAbsensi & "", CN, 1, 2 Set rsubah = Nothing Set rsubah = New ADODB.Recordset rsubah.open "Update DAbsensi SET JamMasuk ='" _ & txtjammasuk.text & "', JamPulang='" & txtjampulang.text _ & "',Lama=" & Lama & ",StatusRec='*' " & _ "where IDdAbsensi =" & IDDAbsensi & "", CN, 1, 2 Set rsubah = Nothing If bolok = True And bolhadir = False Then Set rsubah = New ADODB.Recordset rsubah.open "Update Absensi SET IDPegawai=" & IDPegawai _ & ",Kode ='" & Left(cboKode.Text, 1) & "', Keterangan='" _ & Left(cboKet.Text, 1) & "',StatusRec='*' " & _ "where IDAbsensi =" & IDAbsensi & "", CN, 1, 2 Set rsubah = Nothing Call SegarPeg Call Mati

20 Call Bersih cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus MsgBox "Data belum lengkap..." Call SegarAbsen Private Sub cmdtambah_click() Tambah = True Cari = False cmdtambah.enabled = False Call CariID txttgl.value = Format(Now, "dd-mm-yyyy") cmdsimpan.enabled = True txttgl.enabled = True txttgl.setfocus Private Sub Form_Activate() Call Mati Call Bersih Call SegarPeg Call SegarAbsen cmdedit.enabled = False cmdbatal.enabled = True cmdtambah.setfocus Private Sub Form_Load() Call Koneksi cbokode.additem "Hadir" cbokode.additem "Tidak Hadir" cboket.additem "Masuk" cboket.additem "Sakit" cboket.additem "Izin" cboket.additem "Tidak Ada Pemberitahuan" Private Sub lv1_click() If Cari = True Then IDAbsensi = lv1.listitems.item(lv1.selecteditem.index).text lblid.caption = IDAbsensi Set rsabsensi = New ADODB.Recordset rsabsensi.open "Select * from Absensi where IDAbsensi=" _ & IDAbsensi & "", CN, 1, 2 If rsabsensi.eof = True Then bolok = False

21 Ket = "Ada" IDAbsensi = 0 IDDAbsensi = 0 lblid = "" lblnip = "" lblnama = "" cbokode = "" cboket = "" txtjammasuk = " : " txtjampulang = " : " lbllama = "" MsgBox "Absensi tidak ada" txttgl.value = Format(rsAbsensi!TglAbsen, "dd-mm-yyyy") IDPegawai = rsabsensi!idpegawai rscari.open "Select * from Pegawai where IDPegawai="_ & IDPegawai & "", CN, adopendynamic, adlockoptimistic If Not rscari.eof = True Then lblnama = rscari!nama lblnip = rscari!nip cbokode.enabled = True cbokode.setfocus lblnama = "" lblnip = "" Set rscari = Nothing If rsabsensi!kode = "H" Then bolhadir = True cbokode.text = "Hadir" bolhadir = False cbokode.text = "Tidak Hadir" If rsabsensi!keterangan = "M" Then cboket.text = "Masuk" If rsabsensi!keterangan = "S" Then cboket.text = "Sakit" If rsabsensi!keterangan = "I" Then cboket.text = "Izin" cboket.text = "Tidak Ada Pemberitahuan" If bolhadir = True Then Set rsdabsensi = New ADODB.Recordset rsdabsensi.open "Select * from DAbsensi _ where IDAbsensi=" & IDAbsensi & "", CN, 1, 2 If Not rsdabsensi.eof = True Then IDDAbsensi = rsdabsensi!iddabsensi lblidd.caption = IDDAbsensi txtjammasuk.text = rsdabsensi!jammasuk _ txtjampulang.text = rsdabsensi!jampulang lbllama.caption = rsdabsensi!lama IDDAbsensi = 0

22 lblidd.caption = "" txtjammasuk.text = " : " txtjampulang.text = " : " lbllama.caption = "" Set rsdabsensi = Nothing IDDAbsensi = 0 lblidd.caption = "" txtjammasuk.text = " : " txtjampulang.text = " : " lbllama.caption = "" cmdedit.enabled = True cmdhapus.enabled = True Set rsabsensi = Nothing Private Sub lvpegawai_click() If Tambah = True Then IDPegawai = _ lvpegawai.listitems.item(lvpegawai.selecteditem.index).text Set rsabsensi = New ADODB.Recordset rsabsensi.open "Select * from Absensi where IDPegawai=" _ & IDPegawai & " and TglAbsen=#" & _ Format(txtTgl.Value, "yyyy,mm,dd") & "#", CN, 1, 2 If Not rsabsensi.eof = True Then MsgBox "Pegawai ini sudah melakukan absensi" rscari.open "Select * from Pegawai where IDPegawai=" _ & IDPegawai & "", CN, adopendynamic, adlockoptimistic If Not rscari.eof = True Then lblnama = rscari!nama lblnip = rscari!nip cbokode.enabled = True cbokode.setfocus lblnama = "" lblnip = "" Set rscari = Nothing Set rsabsensi = Nothing Private Sub txtjammasuk_keypress(keyascii As Integer) txtjampulang.enabled = True txtjampulang.setfocus Sub SegarPeg() lvpegawai.listitems.clear

23 rscari.open "Select * from Pegawai Order by IDPegawai asc", _ CN, 1, 3 If Not rscari.eof = True Then Do While Not rscari.eof Set J = lvpegawai.listitems.add(,, rscari!idpegawai) J.SubItems(1) = rscari!nip J.SubItems(2) = rscari!tglmasuk J.SubItems(3) = rscari!nama J.SubItems(4) = rscari!alamat J.SubItems(5) = rscari!notelp J.SubItems(6) = rscari!nohp J.SubItems(7) = rscari!noktp rscari.movenext If rscari.eof Then Exit Do Loop Set rscari = Nothing Sub SegarAbsen() lv1.listitems.clear Set rsabsensi = New ADODB.Recordset rsabsensi.open "Select * from Absensi Order by IDAbsensi _ asc", CN, 1, 2 If Not rsabsensi.eof = True Then Do While Not rsabsensi.eof IDPegawai = rsabsensi!idpegawai IDAbsensi = rsabsensi!idabsensi rscari.open "Select * from Pegawai Where IDPegawai=" _ & IDPegawai & "", CN, 1, 3 If Not rscari.eof = True Then Set J = lv1.listitems.add(,, IDAbsensi) J.SubItems(1) = rsabsensi!tglabsen J.SubItems(2) = rscari!nip J.SubItems(3) = rscari!nama If rsabsensi!kode = "H" Then J.SubItems(4) = "Hadir" J.SubItems(4) = "Tidak Hadir" If rsabsensi!keterangan = "M" Then J.SubItems(5) = "Masuk" If rsabsensi!keterangan = "S" Then J.SubItems(5) = "Sakit" If rsabsensi!keterangan = "I" Then J.SubItems(5) = "Izin" J.SubItems(5) = "Tidak Ada Pemberitahuan" Set rscari = Nothing rsabsensi.movenext If rsabsensi.eof Then

24 Exit Do Loop Set rsabsensi = Nothing Private Sub txtjampulang_keypress(keyascii As Integer) Lama = DateDiff("h", txtjammasuk.text, txtjampulang.text) lbllama.caption = Lama cmdsimpan.enabled = True cmdsimpan.setfocus 9. Daftar Absensi Private Sub cmdcetak_click() Call cetak Private Sub cmdkeluar_click() Unload Me Private Sub Form_Activate() txttgl.value = Format(Now, "dd-mm-yyyy") txttgl.setfocus Sub cetak() Me.WindowState = 2 cr.reportfilename = App.Path & "\Laporan\crDafAbsensiHar.rpt" cr.retrievedatafiles cr.connect = "Provider=Microsoft.Jet.OLEDB.4.0; _ Data Source=" & App.Path & "\dbpegawai.mdb;persist _ Security Info=False" cr.selectionformula = "({Absensi.TglAbsen})=date(" & _ Format(CDate(txtTgl.Value), "yyyy,mm,dd") & ")" cr.windowshowrefreshbtn = True cr.formulas(0) = "Tgl='" & txttgl.value & "'" cr.printreport cr.windowstate = crptmaximized cr.action = 1 Private Sub Form_Load() Call Koneksi Private Sub txttgl_click() txttgl.value = Format(txtTgl.Value, "dd-mm-yyyy") Call Cekdata Private Sub txttgl_keypress(keyascii As Integer)

25 txttgl.text = Format(txtTgl.Value, "dd-mm-yyyy") Call Cekdata Private Sub txttgl_lostfocus() On Error GoTo SalahTanggal CekTanggal = Format(CDate(txtTgl.Value), "dd-mm-yyyy") On Error GoTo 0 Exit Sub SalahTanggal: If Len(Trim(txtTgl.Value)) = 0 Then Exit Sub X = MsgBox("Format tanggal: dd-mm-yyyy" & Chr(13) & _ "Misalnya: ", vbokonly) txttgl.enabled = True txttgl.setfocus Sub Cekdata() rscari.open "Select * from Absensi where TglAbsen =#" _ & Format(txtTgl.Value, "yyyy-mm-dd") & "#", CN, 1, 2 If Not rscari.eof = True Then cmdcetak.enabled = True cmdcetak.setfocus MsgBox "Data tidak ada " txttgl.setfocus 10. Laporan Absensi Harian Private Sub cmdcetak_click() Call cetak Private Sub cmdkeluar_click() Unload Me Private Sub Form_Activate() txttgl.value = Format(Now, "dd-mm-yyyy") txttgl.setfocus Sub cetak() Me.WindowState = 2 cr.reportfilename = App.Path & "\Laporan\crLapAbsensiHar.rpt" cr.retrievedatafiles cr.connect = "Provider=Microsoft.Jet.OLEDB.4.0; _ Data Source=" & App.Path & "\dbpegawai.mdb;persist _ Security Info=False" cr.selectionformula = "({Absensi.TglAbsen})=date(" & _ Format(CDate(txtTgl.Value), "yyyy,mm,dd") & ")" cr.windowshowrefreshbtn = True cr.formulas(0) = "Tgl='" & txttgl.value & "'"

26 cr.printreport cr.windowstate = crptmaximized r.action = 1 Private Sub Form_Load() Call Koneksi Private Sub txttgl_click() txttgl.value = Format(txtTgl.Value, "dd-mm-yyyy") Call Cekdata Private Sub txttgl_keypress(keyascii As Integer) txttgl.text = Format(txtTgl.Value, "dd-mm-yyyy") Call Cekdata Private Sub txttgl_lostfocus() On Error GoTo SalahTanggal CekTanggal = Format(CDate(txtTgl.Value), "dd-mm-yyyy") On Error GoTo 0 Exit Sub SalahTanggal: If Len(Trim(txtTgl.Value)) = 0 Then Exit Sub X = MsgBox("Format tanggal: dd-mm-yyyy" & Chr(13) & _ "Misalnya: ", vbokonly) txttgl.enabled = True txttgl.setfocus Sub Cekdata() rscari.open "Select * from Absensi where TglAbsen =#" _ & Format(txtTgl.Value, "yyyy-mm-dd") & "#", CN, 1, 2 If Not rscari.eof = True Then cmdcetak.enabled = True cmdcetak.setfocus MsgBox "Data tidak ada " txttgl.setfocus 11. Laporan Absensi Bulanan Option Explicit Dim Bln As Integer, Thn As Integer Private Sub cbobln_click() If cbobln.text = "Januari" Then Bln = 1 If cbobln.text = "Pebruari" Then Bln = 2

27 If cbobln.text = "Maret" Then Bln = 3 If cbobln.text = "April" Then Bln = 4 If cbobln.text = "Mei" Then Bln = 5 If cbobln.text = "Juni" Then Bln = 6 If cbobln.text = "Juli" Then Bln = 7 If cbobln.text = "Agustus" Then Bln = 8 If cbobln.text = "September" Then Bln = 9 If cbobln.text = "Oktober" Then Bln = 10 If cbobln.text = "Nopember" Then Bln = 11 If cbobln.text = "Desember" Then Bln = 12 Call Cari Sub Cari() rscari.open "Select * from Absensi where month(tglabsen)=" _ & Bln & " and year(tglabsen)=" & txtthn.text & "", CN, 1, 2 If Not rscari.eof Then cmdcetak.enabled = True cmdcetak.setfocus MsgBox "Data tidak ada" Set rscari = Nothing Sub cetak() Me.WindowState = 2 cr.reportfilename = App.Path & "\Laporan\crLapAbsensiBul.rpt" cr.retrievedatafiles cr.connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ App.Path & "\dbpegawai.mdb;persist Security Info=False" cr.selectionformula = "year({absensi.tglabsen})=" & _ txtthn.text & " and month({absensi.tglabsen})=" & Bln & "" cr.windowshowrefreshbtn = True cr.formulas(0) = "nmbln='" & cbobln.text & "'" cr.formulas(1) = "Thn='" & txtthn.text & "'" cr.printreport cr.windowstate = crptmaximized cr.action = 1 Private Sub cmdcetak_click() Call cetak Private Sub cmdexit_click() Unload Me

28 Private Sub Form_Activate() txtthn.setfocus Private Sub Form_Load() Call Koneksi cbobln.additem "Januari" cbobln.additem "Pebruari" cbobln.additem "Maret" cbobln.additem "April" cbobln.additem "Mei" cbobln.additem "Juni" cbobln.additem "Juli" cbobln.additem "Agustus" cbobln.additem "September" cbobln.additem "Oktober" cbobln.additem "Nopember" cbobln.additem "Desember" Private Sub Form_Unload(Cancel As Integer) Unload Me Private Sub txtthn_change() If Len(txtThn.Text) < 4 Then Exit Sub cbobln.enabled = True cbobln.setfocus

LISTING PROGRAM. 1. Menu Utama

LISTING PROGRAM. 1. Menu Utama LISTING PROGRAM 1. Menu Utama Option Explicit Dim rssms As Recordset Dim stopen As String * 1 Dim IDSms As Integer Dim rspesan As Recordset Dim Kode As String * 1 Dim rspaket As Recordset Dim NmPaket As

More information

LISTING PROGRAM. 1. Form Menu Utama. Universitas Sumatera Utara

LISTING PROGRAM. 1. Form Menu Utama. Universitas Sumatera Utara LISTING PROGRAM 1. Form Menu Utama Dim LenTemp As Integer Dim SrtTemp As String Dim n As Integer Private Sub Form_Load() Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu,

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM LAMPIRAN A : LISTING PROGRAM 1. frmmenu.frm Dim CN As Connection Dim rshapus As Recordset Private Sub DfaHasil_Click() Call frmlap.cetak Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString

More information

LAMPIRAN A LISTING PROGRAM. Universitas Sumatera Utara

LAMPIRAN A LISTING PROGRAM. Universitas Sumatera Utara LAMPIRAN A LISTING PROGRAM LISTING PROGRAM MENU UTAMA Dim T As String Dim i Private Sub Dafsis_Click() Form5.Show Private Sub Dafwai_Click() Form5.Show Private Sub Dasis_Click() Form2.Show Private Sub

More information

LAMPIRAN LIST PROGRAM

LAMPIRAN LIST PROGRAM LAMPIRAN LIST PROGRAM 1. Modules Public conn As New ADODB.Connection Public rstb_pendekatan As ADODB.Recordset Public rstb_solusi As ADODB.Recordset Public rstb_alasan As ADODB.Recordset Public rstb_pilihan

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM LAMPIRAN A : LISTING PROGRAM 1. Form Login Private Sub Siap() txtnama.enabled = True txtpswd.enabled = True Private Sub BlmSiap() txtnama.enabled = False txtpswd.enabled = False Private Sub Kosong() txtnama

More information

Tutorial, Source code, Request Program Visual Basic

Tutorial, Source code, Request Program Visual Basic Tutorial, Source code, Request Program Visual Basic Oleh : Moh. A Azis Membuat Form Data Barang Program Persediaan Barang Form Data Barang digunakan untuk menyimpan data barang dan memberikan info mengenai

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara 61 LAMPIRAN 61 Listing Program Form 1 ( Barang ) Dim CnSuzuya As ADODB.Connection Dim CommBar As ADODB.Command Dim rsbar As ADODB.Recordset Dim StrSql As String Dim psn As Byte Private Sub Form_Load()

More information

LISTING PROGRAM. 1. Menu Utama

LISTING PROGRAM. 1. Menu Utama LISTING PROGRAM 1. Menu Utama Dim rsupdate As Recordset Dim rscari As Recordset Dim strusername As String * 10 Dim Status As String * 1 Dim JumUser As Integer Public system_mon As String Public service_mon

More information

LISTING PROGRAM. Form Splash

LISTING PROGRAM. Form Splash LISTING PROGRAM Form Splash Private Sub Form_Load() lblversion.caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision lblproductname.caption = App.Title lblcopyright.caption = App.LegalCopyright

More information

LISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub

LISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub LISTING PROGRAM 1. Form Login Private Sub BATAL_Click() End Sub Bersih() USERNAME.Text = "" PASSWORD.Text = "" Private Sub Form_Load() Bersih Private Sub OK_Click() Sql = "select*from tbl_login where username='"

More information

LAMPIRAN : LISTING PROGRAM

LAMPIRAN : LISTING PROGRAM LAMPIRAN : LISTING PROGRAM Kode Program Form Login Private Sub cbolevel_click() If cbolevel.text = "Pengguna" Then txtlogin.enabled = False txtpass.enabled = False txtlogin.visible = False txtpass.visible

More information

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara LAMPIRAN FORM 1 Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = vbkeyreturn Then Set tbladministrator = New ADODB.Recordset With tbladministrator.open "SELECT * FROM Administrator WHERE userid

More information

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub Source Aplikasi Sistem Informasi Akademik GENERAL Dim db As Connection Dim WithEvents adoprimaryrs1 As Recordset Dim WithEvents adoprimaryrs2 As Recordset Dim WithEvents rscaridata As Recordset Dim cekid

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara 67 LAMPIRAN Lampiran A-1 Listing Program Visual Basic Private Sub mn_isidata_click() frm_isi_data.show Me.Hide Private Sub mn_koneksiport_click() frm_koneksi_port.show Me.Hide Private Sub mn_tentang_click()

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara LAMPIRAN DAFTAR NAMA MURID KELAS VIIa SMP TRI JAYA MEDAN TAHUN PELAJARAN 2011/2012 Kelas : VII a SMP Wali Kelas : R.Pakpahan S,Pd Guru BP/BK : D.Purba,S.Pd NO NOMOR INDUK NAMA SISWA L/P NISN 1 942 ANGELIA

More information

LAMPIRAN A PROGRAM ADMINISTRASI

LAMPIRAN A PROGRAM ADMINISTRASI LAMPIRAN A PROGRAM ADMINISTRASI Program Administrasi FORM HOME ==load form tarif yang berlaku== Private Sub Cmd_DftrTarif_Click() End Sub Load Frm_Tarif Frm_Tarif.Show ==load form isi ulang kartu== Private

More information

Nilai Input (Peringkat Alternatif Fuzzy dan Crisp Terhadap Kriteria)

Nilai Input (Peringkat Alternatif Fuzzy dan Crisp Terhadap Kriteria) LAMPIRAN-A PENYELESAIAN DENGAN METODE FUZZY TOPSIS Secara umum, prosedur Fuzzy TOPSIS mengikuti langkah-langkah sebagai berikut: 1. Membuat matriks keputusan yang ternormalisasi, 2. Menentukan matriks

More information

L A M P I R A N. Universitas Sumatera Utara

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N A TAMPILAN PROGRAM 1. Form Login 2. Form Menu Utama 3. Form Entry Data Mahasiswa Baru 4. Form Kasir 5. Form Transaksi 6. Laporan cetak mahasiswa 6. Laporan cetak mahasiswa 7. Laporan cetak

More information

SURAT KETERANGAN Hasil Uji Program Tugas Akhir

SURAT KETERANGAN Hasil Uji Program Tugas Akhir SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan dibawah ini, menerangkan bahwa Tugas Akhir Mahasiswa Program Diploma 3 Teknik Informatika : Nama : FADILLA MAHARANI NIM : 112406159 Program

More information

Lampiran A : Listing Program

Lampiran A : Listing Program Lampiran A : Listing Program 1. Server Private Declare Sub InitCommonControls Lib "comctl32.dll" () Dim InData(10) As String, InLayar(10) As String, InTk(10) As String, NoRM As String Private Sub Command1_Click()

More information

LAMPIRAN 1. Kode Program Splash Screen

LAMPIRAN 1. Kode Program Splash Screen LAMPIRAN 1 Kode Program Splash Screen Private Sub Form_Load() lblversion.caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision lblproductname.caption = App.Title lblcopyright.caption

More information

LISTING PROGRAM. frmmenu.vb. frmlogin.vb. Universitas Sumatera Utara. Public Class frmmenu

LISTING PROGRAM. frmmenu.vb. frmlogin.vb. Universitas Sumatera Utara. Public Class frmmenu LISTING PROGRAM frmmenu.vb Public Class frmmenu Private Sub QuitToolStripMenuItem_Click(ByVal sender As QuitToolStripMenuItem.Click Close() Private Sub OtoritasToolStripMenuItem_Click(ByVal sender As OtoritasToolStripMenuItem.Click

More information

L A M P I R A N. Universitas Sumatera Utara

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N LISTING PROGRAM 1. Listing Pembuka Dim strado$ Dim n As Integer Private Sub Close_Click() End Private Sub Command1_Click() If Option1.Value = True Then Search.Show If Option2.Value = True

More information

PROGRAM 1: SIMPLE CALCULATOR

PROGRAM 1: SIMPLE CALCULATOR PROGRAM 1: SIMPLE CALCULATOR Option Explicit Dim operand1 As Double, operand2 As Double Dim op1 As Double, op2 As Double Dim operator As String Dim cleardisplay As Boolean Private Sub Cmdclear_Click()

More information

LAMPIRAN A: LISTING PROGRAM

LAMPIRAN A: LISTING PROGRAM LAMPIRAN A: LISTING PROGRAM 1. Form Home Private Sub Command1_Click() frmhome.hide frmnavigasi.show Private Sub Command2_Click() End Private Sub Timer1_Timer() If Picture1.Visible = False Then Picture1.Visible

More information

Please answer questions in the space provided. Question point values are shown in parentheses.

Please answer questions in the space provided. Question point values are shown in parentheses. IS 320 Spring 99 Page 1 Please answer questions in the space provided. Question point values are shown in parentheses. 1. (15) Assume you have the following variable declarations and assignments: Dim A

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara LAMPIRAN 1. Modul Imports System.Data Imports System.Data.OleDb Module Module1 Public conn As OleDbConnection Public CMD As OleDbCommand Public DS As New DataSet Public DA As OleDbDataAdapter Public RD

More information

An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is

An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is InputBox( ) Function An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is A = InputBox ( Question or Phrase, Window Title, ) Example1: Integer:

More information

LISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal

LISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal LISTING PROGRAM 1. Tampilan Awal Public Class Awal Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(10) If ProgressBar1.Value

More information

Private Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub

Private Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub LISTING PROGRAM Menu_Utama.vb Public Class FrmUtama Private Sub DataMovieToolStripMenuItem_Click(ByVal sender As DataMovieToolStripMenuItem.Click FrmMovie.ShowDialog() Private Sub DataPeminjamToolStripMenuItem_Click(ByVal

More information

LAMPIRAN A: Listing Program

LAMPIRAN A: Listing Program 78 LAMPIRAN A: Listing Program 1. Form Login Public Class FrmLogin Public user As String Private Sub CmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdLogin.Click Dim

More information

Rooftop Industries Pvt. Ltd.

Rooftop Industries Pvt. Ltd. Rooftop Industries Pvt. Ltd. Production and inventory management system A level Computing Project Shritesh Bhattarai Little Angels' College 1 Table of Contents Definition, investigation and analysis...

More information

Lookup Project. frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function:

Lookup Project. frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function: Lookup Project frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function: Help About, in a Message Box lookup.vbp programmed by C.Gribble Page 2 Code for

More information

LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN

LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN LAMPIRAN A-1 : NOTA DOKUMEN KELUARAN LAMPIRAN B MASUKAN SISTEM BERJALAN LAMPIRAN B-1 : DATA BARANG DOKUMEN MASUKAN LAMPIRAN B-2 : DATA PELANGGAN DOKUMEN

More information

LAMPIRAN Lampiran Utama. a. Struktur Organisasi

LAMPIRAN Lampiran Utama. a. Struktur Organisasi LAMPIRAN 5.1. Lampiran Utama a. Struktur Organisasi b. Flowchart Prosedur Penggajian PT Timatex c. Coding List Class Koneksi package ta_552012010_aprilia; import java.sql.*; public class koneksi { private

More information

22. VB Programming Fundamentals Data Access with Data Objects

22. VB Programming Fundamentals Data Access with Data Objects 22. VB Programming Fundamentals Data Access with Data Objects 22.1 Data Access Object MS Data Access Object (DAO) enables you to use a programming language to access and manipulate data in local or remote

More information

Visual Basic ,

Visual Basic , Visual Basic 6.0..!"# !"# $#%$$"& ( ( 6.0) 2 $, -&, - 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm. 2/59 !"# $#%$$"& ( ( 6.0) 3 $, -&, - 3/59 !"# $#%$$"&

More information

[UI TESTING WORLD MART DENGAN VISUAL STUDIO 2010]

[UI TESTING WORLD MART DENGAN VISUAL STUDIO 2010] 2010 Jeffrey Hermanto Halimsetiawan [UI TESTING WORLD MART DENGAN VISUAL STUDIO 2010] Langkah-langkah melakukan UI (User Interface) Testing dengan menggunakan Microsoft Visual Studio 2010 UI Testing World

More information

2-26 Learn Visual Basic 6.0

2-26 Learn Visual Basic 6.0 2-26 Learn Visual Basic 6.0 cmdcompute Click Event: Private Sub cmdcompute_click() Dim Mean As Single Dim StdDev As Single txtinput.setfocus Make sure there are at least two values If NumValues < 2 Then

More information

ต วอย างการสร างฟอร ม เมน การใช งาน

ต วอย างการสร างฟอร ม เมน การใช งาน ต วอย างการสร างฟอร ม เมน การใช งาน Option Explicit Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim Sql As String Private Sub Command6_Click() Form2.Hide Form3.Show Private Sub Command7_Click()

More information

Visual Basic , ,. Caption Hello, On Off. * + +, -. 1-Arrow, , 2- Cross. - project1.vbp, 4-form1.frm.

Visual Basic , ,. Caption Hello, On Off. * + +, -. 1-Arrow, , 2- Cross. - project1.vbp, 4-form1.frm. Visual Basic 6.0 1.,. Caption Hello, On Off. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...

More information

2. (16) Salesperson bonuses are paid based on a combination of total unit sales and the number of new accounts according to the following table:

2. (16) Salesperson bonuses are paid based on a combination of total unit sales and the number of new accounts according to the following table: IS 320 Exam 1 page 1 Please use the space provided on this exam to answer the questions. Clearly show your work for possible partial credit. Question point values are shown in parenthses. 1. (16) Given

More information

KARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB

KARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB 62 KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jl. Bioteknologi No.1 Kampus USU Padang Bulan Medan 20155 Telp. (061) 8211050, 8214290, Fax (061)

More information

LISTING PROGRAM. PrivateSub KeluarToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles KeluarToolStripMenuItem.Click Close() EndSub

LISTING PROGRAM. PrivateSub KeluarToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles KeluarToolStripMenuItem.Click Close() EndSub LISTING PROGRAM 1.Tampilan awal PublicClassmm PrivateSub InputDataGuruToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles InputDataGuruToolStripMenuItem.Click guru.show() Me.Hide() EndSub PrivateSub

More information

Lampiran 1 Kode Program

Lampiran 1 Kode Program 53 Lampiran 1 Kode Program Kode Program 1 Kode Menu Peminjaman Private Sub BT_Cari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BT_Cari.Click Call CariKaset() Private Sub RB_CheckedChanged(ByVal

More information

Contents Introduction Getting Started Visual Basic Form Configuration Entering the VB Code

Contents Introduction Getting Started Visual Basic Form Configuration Entering the VB Code Your comments and suggestions on the operation of this software are welcome. Please address them to: ICONICS 100 Foxborough Blvd. Foxborough, MA 02035 Tel: 508-543-8600 Fax: 508-543-1503 E-mail: support@iconics.com

More information

ADVANCED ALGORITHMS TABLE OF CONTENTS

ADVANCED ALGORITHMS TABLE OF CONTENTS ADVANCED ALGORITHMS TABLE OF CONTENTS ADVANCED ALGORITHMS TABLE OF CONTENTS...1 SOLVING A LARGE PROBLEM BY SPLITTING IT INTO SEVERAL SMALLER SUB-PROBLEMS CASE STUDY: THE DOOMSDAY ALGORITHM... INTRODUCTION

More information

LISTING PROGRAM. Source Code Tampilan Awal. Source Code Menu Utama

LISTING PROGRAM. Source Code Tampilan Awal. Source Code Menu Utama LISTING PROGRAM Source Code Tampilan Awal Private Sub cmdkeluar_click() MsgBox "Terima Kasih Telah Membuka Program Ini.", vbinformation, "Quick IP Ver 1.0" End Private Sub cmdmasuk_click() MenuUtama.Show

More information

Visual Basic ,

Visual Basic , Visual Basic 6.0 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...

More information

TABLE OF CONTENTS ADVANCED VISUAL BASIC

TABLE OF CONTENTS ADVANCED VISUAL BASIC TABLE OF CONTENTS ADVANCED VISUAL BASIC TABLE OF CONTENTS ADVANCED VISUAL BASIC...1 REVIEW OF IMPORTANT PROGRAMMING CONCEPTS...4 OVERVIEW...4 EXCERPT FROM WIKIPEDIA ARTICLE ON CAMELCASE...5 REVIEW QUESTIONS...6

More information

L A M P I R A N. Universitas Sumatera Utara

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N LAMPIRAN 1 Kode program frmbrowse (frmbrowse.frm) Public strsql As String Public xreturn As String Public xreturnname As String Public xreturnaddress As String Public cfilter As Integer

More information

ONLINE RAILWAY RESERVATION SYSTEM

ONLINE RAILWAY RESERVATION SYSTEM Ex. No: Date: ONLINE RAILWAY RESERVATION SYSTEM AIM: methodologies To develop a software for online railway reservation system project by using software ALGORITHM: Step1: Open a VB project. Step2: Design

More information

Remainder Cordial Labeling of Graphs

Remainder Cordial Labeling of Graphs Journal of Algorithms and Computation journal homepage: http://jac.ut.ac.ir Remainder Cordial Labeling of Graphs R. Ponraj 1, K. Annathurai and R. Kala 3 1 Department of Mathematics, Sri Paramakalyani

More information

11-1 11-1.1 11-1.2 11-2 11-2.1 11-2.2 108 II 11-1 Timer 11-1.1 Windows 11-1 11-1 Visual Basic Animation Animation 11 109 Animation Animation RLE AVI AVI 11-2 Visual Basic Animation / Microsoft Windows

More information

Universitas Sumatera Utara

Universitas Sumatera Utara 43 L A M P I R A N 44 Penulisan Kode Program Aplikasi Game Tetris A. Kode program aplikasi game tetris untuk form1 ( MainF.frm ) adalah sebagai berikut. Dim BANK As Database Dim RS As DAO.Recordset Private

More information

Revisions: jee Initial jee SW Version 1.1 now includes the leave type Other

Revisions: jee Initial jee SW Version 1.1 now includes the leave type Other Memorandum To: From: File John Effland Date: 2005-03-10 Revisions: 2005-03-10 jee Initial 2006-02-24 jee SW Version 1.1 now includes the leave type Other Subject: Leave Calendar Program Architecture and

More information

IS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses.

IS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses. IS 320 Spring 96 Page 1 Please use your own paper to answer the following questions. Point values are shown in parentheses. 1. (10) Consider the following segment of code: If txtansicode.text < "0" Or

More information

Understanding the MsgBox command in Visual Basic

Understanding the MsgBox command in Visual Basic Understanding the MsgBox command in Visual Basic This VB2008 tutorial explains how to use the MsgBox function in Visual Basic. This also works for VBS MsgBox. The MsgBox function displays a message in

More information

PROGRAM BASCOM AVR. ' inisialisasi '

PROGRAM BASCOM AVR. ' inisialisasi ' PROGRAM BASCOM AVR '--------------------------------------- inisialisasi '----------------------- $prog &HFF, &HC4, &HD9, &H00 ' generated. Take care that the chip supports all fuse bytes. $regfile = "m8def.dat"

More information

DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6)

DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) AGENDA 3. Executing VBA

More information

Shree Swaminarayan College of Computer Science. BCA-CC-404 Application Development Using VB.NET

Shree Swaminarayan College of Computer Science. BCA-CC-404 Application Development Using VB.NET SDI V/S. MDI Shree Swaminarayan College of Computer Science SDI It is stands for Single Document Interface. User can open from in SDI. It is known as parent form. In SDI form user can place only control

More information

NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY

NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY OOBASIC/VISUAL BASIC PROGRAMMING COURSE CODE: COM 211 YEAR I SEMESTER II PRACTICAL

More information

Create a Login System in Visual Basic. Creating a login system. Start a new visual basic Windows Forms application project. Call it Login System

Create a Login System in Visual Basic. Creating a login system. Start a new visual basic Windows Forms application project. Call it Login System Creating a login system Start a new visual basic Windows Forms application project Call it Login System Change the form TITLE from Form1 to Login System Add the following to the form Component Text Name

More information

IS 320 A/B Spring 97 Page 1 Exam 1

IS 320 A/B Spring 97 Page 1 Exam 1 IS 320 A/B Spring 97 Page 1 Please use the paper supplied by the instructor to answer the questions. Question point values are shown in parentheses. 1. (18) What output is generated by the three MsgBox

More information

L A M P I R A N. Universitas Sumatera Utara

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N 1 Listing Program 1. Form Menu Public Class frm_menu Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click frm_login.show() Me.Hide()

More information

L A M P I R A N. Universitas Sumatera Utara

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N Form 1 '====================================================== 'SUHU FLUIDA : ' Suhu 10 C Const a1 = 0.9998 Const B1 = 1.307 Const C1 = 0.01251 ' Suhu 20 C Const a2 = 0.9983 Const B2 =

More information

AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software

AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software Ex. No.1 Date: ONLINE COURSE RESERVATION AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software PROBLEM STATEMENT As the head of information systems for

More information

Private Sub Command2_Click() End End Sub. Private Sub Command3_Click() frmchangepassword.show End Sub. Private Sub Form_Activate() check_db End Sub

Private Sub Command2_Click() End End Sub. Private Sub Command3_Click() frmchangepassword.show End Sub. Private Sub Form_Activate() check_db End Sub Private Sub Command1_Click() On Error Resume If rs.state = adstateopen Then rs.close rs.open "select * from login where UserName='" & txtusername & "' And Log_Password='" & txtpassword & "'", conn, 1,

More information

Visual Basic 6 Lecture 7. The List Box:

Visual Basic 6 Lecture 7. The List Box: The List Box: The function of the List Box is to present a list of items where the user can click and select the items from the list or we can use the List Box control as a simple memory to save data.

More information

1. Akses untuk koperasi adalah melalui https://apponline.skm.gov.my/userlogin.aspx.

1. Akses untuk koperasi adalah melalui https://apponline.skm.gov.my/userlogin.aspx. Pengguna Koperasi 1. Akses untuk koperasi adalah melalui https://apponline.skm.gov.my/userlogin.aspx. Belum berdaftar 2. Sila masuk ID Pengguna dan Kata Laluan dengan betul. Sekiranya pengguna masih belum

More information

Programming Concepts and Skills. Arrays continued and Functions

Programming Concepts and Skills. Arrays continued and Functions Programming Concepts and Skills Arrays continued and Functions Fixed-Size vs. Dynamic Arrays A fixed-size array has a limited number of spots you can place information in. Dim strcdrack(0 to 2) As String

More information

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True

More information

PROGRAMMING TECHNIQUES

PROGRAMMING TECHNIQUES Subclassing? Class modules aren t just for business rules. by Karl E. Peterson f all the innovations Visual Basic 4.0 introduced, the most revolutionary is probably the new Class module. By now, you ve

More information

A-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara

A-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara A-1 LAMPIRAN A A LISTING PROGRAM Kode Program Form Main: #Region Project Attributes #ApplicationLabel: Samuel Panjaitan #VersionCode: 1 #VersionName: #SupportedOrientations: portrait #CanInstallToExternalStorage:

More information

An Introduction to Custom WebBrowsers for the Qualitative Study of Hypertext Navigation

An Introduction to Custom WebBrowsers for the Qualitative Study of Hypertext Navigation Jl. of Educational Multimedia and Hypermedia (2002) 11(3), 221-235 An Introduction to Custom WebBrowsers for the Qualitative Study of Hypertext Navigation PATRICIA M. BOECHLER AND MICHAEL R.W. DAWSON University

More information

Password Protect an Access Database

Password Protect an Access Database Access a Password Protected Microsoft Access Database from within Visual Basic 6 Have you ever wanted to password protect an Access Database that is a Data Store (a repository of Data) used in one of your

More information

Chapter 1. Block Diagram. Text .. 1

Chapter 1. Block Diagram. Text .. 1 Chapter 1 ก Visual Basic Scilab ก ก Visual Basic Scilab ก ก (Temporary File) ก ก ก ก ก ก Visual Basic ก (Interface) ก Scilab Text File ก Visual Basic ก ก ก ก Block Diagram ก ก Visual Basic ก Scilab ก.sce

More information

Visitor Management System

Visitor Management System WWW.VALLINME.COM Visitor Management System Ver 1.0 Mohd Noor Azam 18-03-2015 [Type the abstract of the document here. The abstract is typically a short summary of the contents of the document. Type the

More information

HR2000 PCB2. Deliver PCB2 (slip jawapan) via within minutes. What is PCB2? Password Protected PDF. Benefits. How it Works?

HR2000  PCB2. Deliver PCB2 (slip jawapan) via  within minutes. What is  PCB2? Password Protected PDF. Benefits. How it Works? HR2000 E-Mail PCB2 Deliver PCB2 (slip jawapan) via E-Mail within minutes What is e-mail PCB2? PCB 2 Forms (or Slip Jawapan CP159) are sent in HTML formatted e-mail and with options to include file attachments

More information

Creating a Dynamo with VBA Scripts

Creating a Dynamo with VBA Scripts Creating a Dynamo with VBA Scripts Creating a Dynamo with VBA 1 Table of Contents 1. CREATING A DYNAMO WITH VBA... 3 1.1 NAMING CONVENTIONS FOR DYNAMO OBJECTS...3 1.2 CREATING A DYNAMO...4 1.3 DESIGNING

More information

EMPLOYEE PAYROLL SYSTEM

EMPLOYEE PAYROLL SYSTEM EX.NO:1 DATE: EMPLOYEE PAYROLL SYSTEM AIM: To develop a Employee Payroll System using visual Basic. PROCEDURE: 1. Problem statement Software is to be designed for supporting a computerized employee payroll

More information

FIT 100. o best you can do is start at the beginning: linear search. o It s a bit like 20 questions, but MUCH more specific.

FIT 100. o best you can do is start at the beginning: linear search. o It s a bit like 20 questions, but MUCH more specific. Searching A List: Reiew Topics In Programming Why Algorithms Matter Procedures Collections If there s no order to the list (or the Yellow Pages)... o best you can do is start at the beginning: linear search

More information

Programming with visual Basic:

Programming with visual Basic: Programming with visual Basic: 1-Introdution to Visual Basics 2-Forms and Control tools. 3-Project explorer, properties and events. 4-make project, save it and its applications. 5- Files projects and exercises.

More information

17. Introduction to Visual Basic Programming

17. Introduction to Visual Basic Programming 17. Introduction to Visual Basic Programming Visual Basic (VB) is the fastest and easiest way to create applications for MS Windows. Whether you are an experienced professional or brand new to Windows

More information

Universitas Sumatera Utara

Universitas Sumatera Utara LAMPIRAN Listing Program FormUtama.vb Public Class FormUtama Dim uchome As UcHome Dim ucconnection As UcConnection Dim ucbook As UcBook Dim ucanggota As UcAnggota Dim ucpeminjaman As UcPeminjaman Dim ucpengembalian

More information

W97_Bablas_AC. Attribute VB_Name = "Module1" 'Attribute VB_Name = "DJOK" 'Creative design by me, dj ->

W97_Bablas_AC. Attribute VB_Name = Module1 'Attribute VB_Name = DJOK 'Creative design by me, dj -> Attribute VB_Name = "Module1" W97_Bablas_AC 'Attribute VB_Name = "DJOK" 'Creative design by me, dj -> d-j-ok@plasa.com 'Don't try this at home..., its very dangerous...!!! :p 'Copyleft 2003 Bogor, Indonesia

More information

'... '... '... Module created: unknown '... Proj finished: March 21, 2012 '... '...

'... '... '... Module created: unknown '... Proj finished: March 21, 2012 '... '... ThisWorkbook - 1 If g_bdebugmode Then '... Module created: unknown '... Proj finished: March 21, 2012 '************************* CLASS-LEVEL DECLARATIONS ************************** Option Explicit Option

More information

Kartu Bimbingan Tugas Akhir Mahasiswa

Kartu Bimbingan Tugas Akhir Mahasiswa KEMENTRIAN PENDIDIKAN DAN KEBUDAYAAN UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jln. Bioteknologi No. 1 Kampus USU Padang Bulan Medan-20155 Telp. (061) 8214290, 8211212, 8211414

More information

On Railway Reservation. U G D C A Semester VI. Roll No DA

On Railway Reservation. U G D C A Semester VI. Roll No DA On Railway Reservation U G D C A Semester VI Submitted to: Dr. P. K. Sen (Co-ordinator) Submitted By: (Name of Student) Roll No. 14836DA Contents 1. Acknowledgement 2. Objectives 3. Declaration 4. Analysis

More information

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England DAFTAR PUSTAKA Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England Elib.unikom.ac.id, SQL Server, 27 April 2014. Jogiyanto. 2005. Analisis & Desain Sistem Informasi : Pendekatan

More information

Loop Structures. Loop Structures. Algorithm to record 5 TV programmes. Recall Structured Programming..3 basic control structures.

Loop Structures. Loop Structures. Algorithm to record 5 TV programmes. Recall Structured Programming..3 basic control structures. Loop Structures Recall Structured Programming..3 basic control structures Sequence Input -> Process -> Output Selection IF ENDIF SELECT CASE END SELECT Loop Structures DO WHILE LOOP DO LOOP UNTIL FOR NEXT

More information

Advanced Topics in Automated Test Scripting

Advanced Topics in Automated Test Scripting *534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 253 Part Four Advanced Topics in Automated Test Scripting *534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 254 *534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 255 CHAPTER 8 Introduction

More information

LAMPIRAN. - id_produk refrensi ke tabel tb_produk. No Nama Field Type Data Panjang. 1 id_cart Integer 5. 2 id_member Integer 5. 3 id_produk Integer 5

LAMPIRAN. - id_produk refrensi ke tabel tb_produk. No Nama Field Type Data Panjang. 1 id_cart Integer 5. 2 id_member Integer 5. 3 id_produk Integer 5 90 LAMPIRAN Perancangan Data Base 1. Spesifikasi tb_cart Primary Key : id_cart - id_member refrensi ke tabel tb_member - id_produk refrensi ke tabel tb_produk 1 id_cart Integer 5 2 id_member Integer 5

More information

PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM

PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM SOURCE CODE VISUAL BASIC Dim WR As Boolean Dim pw Dim data Dim oxg Public index1 Dim index2 Dim k Dim u Dim refd Dim datar1$(1000, 9) Dim c_data Dim A$(10)

More information

LAMPIRAN. 1. Lampiran Utama. a. Struktur Organisasi Perusahaan

LAMPIRAN. 1. Lampiran Utama. a. Struktur Organisasi Perusahaan LAMPIRAN 1. Lampiran Utama a. Struktur Organisasi Perusahaan 1 b. Flowchart Pemasukan dan Pengeluaran Benang PT TIGA MANUNGGAL SYNTHETIC INDUSTRIES PROSEDUR PERMINTAAN PEMBELIAN ANALYTIC FLOWCHART KANTOR

More information

NE1R EAST UNIVERSITY, FA-CULTYOF ENGINEERING DEPARTMENT OF COMPUTER ENGINEERING COM400 GRADUATION PROJECT LIBRARY AND BOOKSTORE AND DATABASE

NE1R EAST UNIVERSITY, FA-CULTYOF ENGINEERING DEPARTMENT OF COMPUTER ENGINEERING COM400 GRADUATION PROJECT LIBRARY AND BOOKSTORE AND DATABASE NE1R EAST UNIVERSITY, FA-CULTYOF ENGINEERING DEPARTMENT OF COMPUTER ENGINEERING COM400 GRADUATION PROJECT LIBRARY AND BOOKSTORE AND DATABASE SUBMITTED TO MRS BESiME ERIN SUBMITTED BY IMRAN SOHAIL & BEDRiYE

More information

University of Technology Laser & Optoelectronics Engineering Department Visual basic Lab. LostFocus Resize System event

University of Technology Laser & Optoelectronics Engineering Department Visual basic Lab. LostFocus Resize System event Events Private Sub Form_Load() Load Close Unload Private Sub Form_Unload(Cancel As Integer) Cancel=True Cancel * Show Activate SetFocus Focus Deactivate SetFocus GotFocus CommandButton LostFocus Resize

More information

DOKUMEN TIDAK TERKAWAL

DOKUMEN TIDAK TERKAWAL Halaman: 1/12 Tujuan : Arahan kerja ini adalah untuk menerangkan tatacara pendaftaran ID Pengguna di dalam Sistem Kewangan SAGA (Standard Accounting for Government Agencies) Universiti Putra Malaysia bagi

More information

Different kinds of resources provided by a package

Different kinds of resources provided by a package Collection of resources Resources could include types, functions, procedures, object (data) declarations, even other packages Encapsulated in one unit Compiled on its own Compilation order: Library unit

More information