L A M P I R A N. Universitas Sumatera Utara
|
|
- Erin Stephens
- 6 years ago
- Views:
Transcription
1 L A M P I R A N A
2 TAMPILAN PROGRAM 1. Form Login 2. Form Menu Utama
3 3. Form Entry Data Mahasiswa Baru
4 4. Form Kasir 5. Form Transaksi 6. Laporan cetak mahasiswa
5 6. Laporan cetak mahasiswa
6 7. Laporan cetak kasir
7 8. Laporan cetak transaksi
8 9. Laporan cetak kwitansi
9 L A M P I R A N B
10 LISTING PROGRAM 1. Form Menu Utama Dim j As Integer 'Fungsi Cek Level untuk kemampuan Akses Public Function CekLevel(UserLevel As String) As Boolean RestoreMenu Select Case UserLevel Case "Kasir" mnuentryuser.enabled = False mnutransaksi.enabled = False mnulaporan.enabled = False mnukwitansi.enabled = False Case "Pegawai" mnumb.enabled = False End Select End Function Private Sub CRData_Click() Private Sub Form_Activate() Select Case FrmLoginBaru.UserLevel Case "Administrator": Akses_Administrator Case "Pegawai": Akses_Pegawai Case "Kasir": Akses_Kasir End Select Me.Refresh Private Sub Mnucetakkasir_Click(Index As Integer) If MsgBox("Cetak data Kasir..???", vbyesno, "Laporan data kasir") = vbyes Then FrmMenu.CRData.ReportFileName = "D:\Les_vbQ\Report\DataKasir.rpt" FrmMenu.CRData.WindowState = crptmaximized FrmMenu.CRData.RetrieveDataFiles 'FrmMenu.CRData.SelectionFormula = "{Kasir.Idkasir}='" & Text & Txtid.Text & "'" FrmMenu.CRData.Action = 1 Exit Sub
11 Private Sub mnucetaktransaksi_click(index As Integer) If MsgBox("Cetak Laporan Transaksi..???", vbyesno, "Laporan Transaksi") = vbyes Then FrmMenu.CRData.ReportFileName = "D:\Les_vbQ\Report\Transaksi.rpt" FrmMenu.CRData.WindowState = crptmaximized FrmMenu.CRData.RetrieveDataFiles 'FrmMenu.CRData.SelectionFormula = "{Transaksi.Nomor}='" & Txtnomor.Text & "'" FrmMenu.CRData.Action = 1 Exit Sub Private Sub mnuexit_click() End Private Sub MnuKasir_Click() FrmKAsir.Show vbmodal Private Sub mnuksr_click(index As Integer) FrmKAsir.Show vbmodal Private Sub mnukwitansi_click() If MsgBox("Cetak Kwitansi..???", vbyesno, "Kwitansi Pendaftaran") = vbyes Then FrmMenu.CRData.ReportFileName = "D:\Les_vbQ\Report\Kwitansi.rpt" FrmMenu.CRData.WindowState = crptmaximized FrmMenu.CRData.RetrieveDataFiles 'FrmMenu.CRData.SelectionFormula = "{Mhs.nopendaftaran}='" & Txtnopendaftaran.Text & "'" FrmMenu.CRData.Action = 1 Exit Sub Private Sub mnumb_click() Frm_Mahasiswa.Show vbmodal
12 Private Sub mnumhs_click() If MsgBox("Cetak Formulir..???", vbyesno, "Formulir Mahasiswa Baru") = vbyes Then FrmMenu.CRData.ReportFileName = "D:\Les_vbQ\Report\Mahasiswa.rpt" FrmMenu.CRData.WindowState = crptmaximized FrmMenu.CRData.RetrieveDataFiles 'FrmMenu.CRData.SelectionFormula = "{Mhs.nopendaftaran}='" & Txtnopendaftaran.Text & "'" FrmMenu.CRData.Action = 1 Exit Sub Private Sub mnutransaksi_click() FrmTransaksi.Show vbmodal 2. Form Login Option Explicit Public UserLevel As String Public LoginSucceeded As Boolean Private Sub Cmblevel_GotFocus() SendKeys "{HOME} + {END}" Private Sub Cmdlogin_Click() Dim RecLogin As ADODB.Recordset If Txtusername.Text <> "" Then Set RecLogin = UserBaruCari(Txtusername.Text, Cmblevel.Text, Txtpassword.Text) If (RecLogin.EOF) Or (RecLogin.BOF) Then MsgBox "Ada yang salah..!!periksa username,userlevel atau password..!!" Txtusername.Text = "" Cmblevel.Text = "" Txtpassword.SetFocus Exit Sub UserLevel = Cmblevel.Text 'Load FrmMenu 'FrmMenu.show Me.Hide
13 Private Sub Cmdlogout_Click() End 'Fungsi Activate FrmLogin Private Sub Form_Activate() LoginSucceeded = False Txtusername.Text = "" Cmblevel.Clear Cmblevel.AddItem "Administrator" Cmblevel.AddItem "Kasir" Cmblevel.AddItem "Pegawai" Private Sub Txtpassword_GotFocus() SendKeys "{HOME}+{END}" Private Sub Txtusername_GotFocus() SendKeys "{HOME}+{END}" 3. Form Mahasiswa Private Sub Cmdbaru_Click() Txtnopendaftaran.Text = "" Txtnim.Text = "" Txtnama.Text = "" Txtalamat.Text = "" DTPickertgl.Value = Date Cboagama.Text = "" Cbofakultas.Text = "" Cboprodi.Text = "" Txtasalsmu.Text = "" Cbostatussmu.Text = "" Cbojurusan.Text = "" DTPickerthn.Value = Date Txthoby.Text = "" Optblmkawin.Value = False
14 Optkawin.Value = False Chkbekerja.Value = Unchecked Chkblmbekerja.Value = Unchecked Txtnamaayah.Text = "" Txtnamaibu.Text = "" Txtalamatortu.Text = "" Txtpekerjaan.Text = "" Txtnopendaftaran.SetFocus Private Sub Cmdedit_Click() MsgBox "Klik aja data yang mw diedit" Cmdsimpan.Caption = "UPDATE" Private Sub Cmdexit_Click() Unload Me Private Sub Cmdhapus_Click() Hapus = MsgBox("Yakin data dihapus...????", vbyesno, "ATTENTION") If Hapus = vbyes Then Adodc1.Recordset.Delete Private Sub Cmdsimpan_Click() If Cmdsimpan.Caption = "Simpan" Then With Adodc1.Recordset Adodc1.Recordset.AddNew Adodc1.Recordset!nopendaftaran = Txtnopendaftaran.Text Adodc1.Recordset!Nim = Txtnim.Text Adodc1.Recordset!nama = Txtnama.Text Adodc1.Recordset!alamat = Txtalamat.Text Adodc1.Recordset!tgllahir = DTPickertgl.Value Adodc1.Recordset!agama = Cboagama.Text Adodc1.Recordset!fakultas = Cbofakultas.Text Adodc1.Recordset!prodi = Cboprodi.Text Adodc1.Recordset!asalsmu = Txtasalsmu.Text Adodc1.Recordset!statussmu = Cbostatussmu.Text Adodc1.Recordset!jurusan = Cbojurusan.Text Adodc1.Recordset!thnlulus = DTPickerthn.Value Adodc1.Recordset!hoby = Txthoby.Text If Optblmkawin.Value = True Then
15 Adodc1.Recordset!statuspernikahan = "Belum Kawin" ElseIf Optkawin.Value = True Then Adodc1.Recordset!statuspernikahan = "Kawin" If Chkbekerja.Value = vbchecked Then Adodc1.Recordset!statuspekerjaan = "Bekerja" ElseIf Chkblmbekerja.Value = vbchecked Then Adodc1.Recordset!statuspekerjaan = "Belum Bekerja" Adodc1.Recordset!namaayah = Txtnamaayah.Text Adodc1.Recordset!namaibu = Txtnamaibu.Text Adodc1.Recordset!alamatortu = Txtalamatortu.Text Adodc1.Recordset!pekerjaan = Txtpekerjaan.Text Adodc1.Recordset.Update If MsgBox("Cetak Formulir..???", vbyesno, "Formulir Mahasiswa Baru") = vbyes Then Frm_Mahasiswa.CRData.ReportFileName = "D:\Les_vbQ\Report\Mahasiswa.rpt" Frm_Mahasiswa.CRData.WindowState = crptmaximized Frm_Mahasiswa.CRData.Action = 1 Exit Sub End With Else Adodc1.Recordset!nopendaftaran = Txtnopendaftaran.Text Adodc1.Recordset!Nim = Txtnim.Text Adodc1.Recordset!nama = Txtnama.Text Adodc1.Recordset!alamat = Txtalamat.Text Adodc1.Recordset!tgllahir = DTPickertgl.Value Adodc1.Recordset!agama = Cboagama.Text Adodc1.Recordset!fakultas = Cbofakultas.Text Adodc1.Recordset!prodi = Cboprodi.Text Adodc1.Recordset!asalsmu = Txtasalsmu.Text Adodc1.Recordset!statussmu = Cbostatussmu.Text Adodc1.Recordset!jurusan = Cbojurusan.Text Adodc1.Recordset!thnlulus = DTPickerthn.Value Adodc1.Recordset!hoby = Txthoby.Text If Optblmkawin.Value = True Then Adodc1.Recordset!statuspernikahan = "Belum Kawin" ElseIf Optkawin.Value = True Then Adodc1.Recordset!statuspernikahan = "Kawin"
16 If Chkbekerja.Value = vbchecked Then Adodc1.Recordset!statuspekerjaan = "Bekerja" ElseIf Chkblmbekerja.Value = vbchecked Then Adodc1.Recordset!statuspekerjaan = "Belum Bekerja" Adodc1.Recordset!namaayah = Txtnamaayah.Text Adodc1.Recordset!namaibu = Txtnamaibu.Text Adodc1.Recordset!alamatortu = Txtalamatortu.Text Adodc1.Recordset!pekerjaan = Txtpekerjaan.Text Adodc1.Recordset.Update Private Sub DataGrid1_Click() Txtnopendaftaran.Text = Adodc1.Recordset!nopendaftaran Txtnim.Text = Adodc1.Recordset!Nim Txtnama.Text = Adodc1.Recordset!nama Txtalamat.Text = Adodc1.Recordset!alamat DTPickertgl.Value = Adodc1.Recordset!tgllahir Cboagama.Text = Adodc1.Recordset!agama Cbofakultas.Text = Adodc1.Recordset!fakultas Cboprodi.Text = Adodc1.Recordset!prodi Txtasalsmu.Text = Adodc1.Recordset!asalsmu Cbostatussmu.Text = Adodc1.Recordset!statussmu Cbojurusan.Text = Adodc1.Recordset!jurusan DTPickerthn.Value = Adodc1.Recordset!thnlulus Txthoby.Text = Adodc1.Recordset!hoby If Trim(DataGrid1.Columns(13).Value) = "Belum Kawin" Then Optblmkawin.Value = True ElseIf Trim(DataGrid1.Columns(13).Value) = "Kawin" Then Optkawin.Value = True If Trim(DataGrid1.Columns(14).Value) = "Bekerja" Then Chkbekerja.Value = vbchecked ElseIf Trim(DataGrid1.Columns(14).Value) = "Belum Bekerja" Then Chkblmbekerja.Value = vbchecked Txtnamaayah.Text = Adodc1.Recordset!namaayah Txtnamaibu.Text = Adodc1.Recordset!namaibu Txtalamatortu.Text = Adodc1.Recordset!alamatortu Txtpekerjaan.Text = Adodc1.Recordset!pekerjaan
17 DataGrid1.Refresh Private Sub Form_Load() Txtnim.MaxLength = 8 Txtnopendaftaran.MaxLength = 6 Cboagama.AddItem " Islam " Cboagama.AddItem " Kristen " Cboagama.AddItem " Katolik " Cboagama.AddItem " Hindu " Cbofakultas.AddItem " Keperawatan " Cboprodi.AddItem " Keperawatan " Cbostatussmu.AddItem " Negeri " Cbostatussmu.AddItem " Disamakan " Cbostatussmu.AddItem " Swasta " Cbostatussmu.AddItem " Terakreditasi " Cbojurusan.AddItem " Ilmu Alam " Cbojurusan.AddItem " Ilmu Sosial " Cbojurusan.AddItem " Bahasa " Cboprodi.AddItem " Hukum " Frm_Mahasiswa.Height = 9270 Frm_Mahasiswa.Width = 9390 Frm_Mahasiswa.Top = 1605 Frm_Mahasiswa.Left = 5340 Frm_Mahasiswa.RightToLeft = True Private Sub Txtnama_Change() If Len(Txtnim.Text) <> 8 Then MsgBox "Input NIM 8 Digit" Txtnim.SetFocus Private Sub Txtnim_Change() If Len(Txtnopendaftaran.Text) <> 6 Then MsgBox "Nomor pendaftaran harus 6 digit" Txtnopendaftaran.SetFocus 4. Form Kasir Private Sub Cmdbaru_Click() Txtid.Text = ""
18 Txtnama.Text = "" Txtalamat.Text = "" Optpr.Value = False Optlk.Value = False DTPickertgl.Value = Date Chktetap.Value = Unchecked Chkhonor.Value = Unchecked Txtid.SetFocus Cmdsimpan.Caption = "Simpan" Private Sub Cmdedit_Click() MsgBox "Klik data yang mau diedit" Cmdsimpan.Caption = "UPDATE" Private Sub Cmdexit_Click() Unload Me Private Sub Cmdhapus_Click() Hapus = MsgBox("yakin data mau dihapus???", vbyesno, "ATTENTION") If Hapus = vbyes Then Adodc1.Recordset.Delete Private Sub Cmdsimpan_Click() If Cmdsimpan.Caption = "Simpan" Then With Adodc1.Recordset Adodc1.Recordset.AddNew Adodc1.Recordset!Idkasir = Txtid.Text Adodc1.Recordset!nama = Txtnama.Text Adodc1.Recordset!alamat = Txtalamat.Text If Optpr.Value = True Then Adodc1.Recordset!jekel = "Pr" ElseIf Optlk.Value = True Then Adodc1.Recordset!jekel = "Lk" Adodc1.Recordset!tgllhr = DTPickertgl.Value If Chktetap.Value = vbchecked Then Adodc1.Recordset!Status = "Tetap" ElseIf Chkhonor.Value = vbchecked Then Adodc1.Recordset!Status = "Honor"
19 Adodc1.Recordset.Update End With Else Adodc1.Recordset!Idkasir = Txtid.Text Adodc1.Recordset!nama = Txtnama.Text Adodc1.Recordset!alamat = Txtalamat.Text If Optpr.Value = True Then Adodc1.Recordset!jekel = "Pr" ElseIf Optlk.Value = True Then Adodc1.Recordset!jekel = "Lk" Adodc1.Recordset!tgllhr = DTPickertgl.Value If Chktetap.Value = vbchecked Then Adodc1.Recordset!Status = "Tetap" ElseIf Chkhonor.Value = vbchecked Then Adodc1.Recordset!Status = "Honor" Adodc1.Recordset.Update Private Sub DataGrid1_Click() Txtid.Text = Adodc1.Recordset!Idkasir Txtnama.Text = Adodc1.Recordset!nama Txtalamat.Text = Adodc1.Recordset!alamat If Trim(DataGrid1.Columns(3).Value) = "Pr" Then Optpr.Value = True ElseIf Trim(DataGrid1.Columns(3).Value) = "Lk" Then Optlk.Value = True DTPickertgl.Value = Adodc1.Recordset!tgllhr If Trim(DataGrid1.Columns(5).Value) = "Tetap" Then Chktetap.Value = vbchecked ElseIf Trim(DataGrid1.Columns(5).Value) = "Honor" Then Chkhonor.Value = vbchecked DataGrid1.Refresh Private Sub Form_Load()
20 Txtid.MaxLength = 6 FrmKAsir.Left = 5145 FrmKAsir.RightToLeft = True FrmKAsir.Width = 7620 FrmKAsir.Height = 4725 FrmKAsir.Top = 1395 Private Sub Optlk_Click() Private Sub Txtid_Change() Private Sub Txtnama_Change() If Len(Txtid.Text) <> 6 Then MsgBox "Input ID 6 digit" Txtid.SetFocus 5. Form Transaksi Private Sub Cmbkasir_Click() Call OpenTable("SELECT * FROM [Kasir] WHERE Idkasir='" & Me.Cmbkasir.Text & "'", rsrs) With rsrs If Not.EOF Then Me.Label12.Caption =.Fields(1) End With Private Sub Cmbnim_Change() Txtbiaya.Text = Private Sub Cmbnim_Click() Call OpenTable("SELECT*FROM [Mhs] WHERE Nim='" & Me.Cmbnim.Text & "'", rsrs) With rsrs If Not.EOF Then Me.Txtnama.Text =.Fields(2) Me.Txtalamat.Text =.Fields(3)
21 Me.Txtfakultas.Text =.Fields(7) End With Txtbiaya.Text = Private Sub Cmbnim_KeyPress(KeyAscii As Integer) Call OpenTable("SELECT * FROM [MHS] WHERE Nim='" & Me.Cmbnim.Text & "'", rsrs) With rsrs If Not.EOF Then Me.Txtnama.Text =.Fields(2) Me.Txtalamat.Text =.Fields(3) Me.Txtfakultas.Text =.Fields(7) End With Txtbiaya.Text = Private Sub Cmbnim_LostFocus() Dim reckunci As ADODB.Recordset If Cmbnim.Text <> "" Then Set reckunci = CariNim(Cmbnim.Text) If Not (reckunci.eof) Or Not (reckunci.bof) Then MsgBox "Nim tersebut sudah bayar...!!" Cmbnim.SetFocus SendKeys "{HOME}+{END}" 'Tutup_koneksi Private Sub Cmdbaru_Click() Txtnomor.Text = "" Txtnokwitansi.Text = "" Cmbkasir.Text = "" Label12.Caption = "" Cmbnim.Text = "" Txtbiaya.Text = "" Txttertulis.Text = "" Txtnama.Text = "" Txtalamat.Text = "" Txtfakultas.Text = "" Txtdibayar.Text = "" Txtsisa.Text = ""
22 Chklunas.Value = vbunchecked Chkbelum.Value = vbunchecked Cmdsimpan.Caption = "Simpan" Txtnomor.SetFocus Private Sub Cmdedit_Click() Cmdsimpan.Caption = "UPDATE" MsgBox ("Pilih data yang mau diedit") Private Sub Cmdexit_Click() Unload Me Private Sub Cmdhapus_Click() Hapus = MsgBox("Benar data mau dihapus...?", vbyesno, "ATTENTION") If Hapus = vbyes Then Adodc1.Recordset.Delete Private Sub Cmdrefresh_Click() Adodc1.Refresh DataGrid1.Refresh Private Sub Cmdsimpan_Click() If Cmdsimpan.Caption = "Simpan" Then With Adodc1.Recordset If Trim(Txtnomor.Text) = "" Then MsgBox "Nomor urut tidak boleh kosong..!!", vbinformation, "Attention" Txtnomor.SetFocus ElseIf Trim(Txtnokwitansi.Text) = "" Then MsgBox "Nomor kwitansi tidak boleh kosong...!!", vbinformation, "Attention" Txtnokwitansi.SetFocus ElseIf Trim(Cmbkasir.Text) = "" Then MsgBox "Nama kasir harus sesuai dengan nama orangnya..!!", vbinformation, "Pemberitahuan" Cmbkasir.SetFocus ElseIf Trim(Cmbnim.Text) = "" Then MsgBox "Nim tidak boleh kosong..!", vbinformation, "Attention" Cmbnim.SetFocus ElseIf Trim(Txtbiaya.Text) = "" Then
23 MsgBox "Biaya tidak boleh kosong...!!", vbinformation, "Attention" Txtbiaya.SetFocus ElseIf Trim(Txtdibayar.Text) = "" Then MsgBox "Dibayar tidak boleh kosong..!!", vbinformation, "Attention" Txtdibayar.SetFocus Exit Sub ElseIf MsgBox("Apakah data sudah benar..???", vbyesno + vbquestion, "Konfirmasi") = vbyes Then Adodc1.Recordset.AddNew Adodc1.Recordset!NOMOR = Txtnomor.Text Adodc1.Recordset!Nokwitansi = Txtnokwitansi.Text Adodc1.Recordset!Idkasir = Cmbkasir.Text Adodc1.Recordset!Nim = Cmbnim.Text Adodc1.Recordset!Biaya_daftar = Txtbiaya.Text Adodc1.Recordset!Dibayar = Txtdibayar.Text Adodc1.Recordset!Tertulis = Txttertulis.Text Adodc1.Recordset!Sisa = Txtsisa.Text If Chklunas.Value = vbchecked Then Adodc1.Recordset!Keterangan = "Lunas" ElseIf Chkbelum.Value = vbchecked Then Adodc1.Recordset!Keterangan = "Belum" Adodc1.Recordset.Update 'if msgbox("cetak kwitansi sekarang?",vbyesno,"kwitansi mahasiswa baru"=vbyes then 'FrmTransaksi.CRData.ReportFileName = "d:\les_vbq\report\kwitansi.rpt" 'FrmTransaksi.CRData.WindowState = crptmaximized 'FrmTransaksi.CRData.RetrieveDataFiles 'FrmTransaksi.CRData.SelectionFormula = "{Transaksi.Nokwitansi}='" & Txtnokwitansi.Text & "'" 'FrmTransaksi.CRData.Action = 1 'Exit Sub ' End With Else Adodc1.Recordset!NOMOR = Txtnomor.Text Adodc1.Recordset!Nokwitansi = Txtnokwitansi.Text Adodc1.Recordset!Idkasir = Cmbkasir.Text Adodc1.Recordset!Nim = Cmbnim.Text Adodc1.Recordset!Biaya_daftar = Txtbiaya.Text Adodc1.Recordset!Dibayar = Txtdibayar.Text Adodc1.Recordset!Tertulis = Txttertulis.Text Adodc1.Recordset!Sisa = Txtsisa.Text
24 If Chklunas.Value = vbchecked Then Adodc1.Recordset!Keterangan = "Lunas" ElseIf Chkbelum.Value = vbchecked Then Adodc1.Recordset!Keterangan = "Belum" Adodc1.Recordset.Update 'if msgbox("cetak kwitansi sekarang?",vbyesno,"kwitansi mahasiswa baru"=vbyes then 'FrmTransaksi.CRData.ReportFileName = "d:\les_vbq\report\kwitansi.rpt" 'FrmTransaksi.CRData.WindowState = crptmaximized 'FrmTransaksi.CRData.RetrieveDataFiles 'FrmTransaksi.CRData.SelectionFormula = "{Transaksi.Nokwitansi}='" & Txtnokwitansi.Text & "'" 'FrmTransaksi.CRData.Action = 1 'Exit Sub 'kosong ' Sub kosong() Txtnomor.Text = "" Txtnokwitansi.Text = "" Cmbkasir.Text = "" Label12.Caption = "" Cmbnim.Text = "" Txtbiaya.Text = "" Txttertulis.Text = "" Txtnama.Text = "" Txtalamat.Text = "" Txtfakultas.Text = "" Txtdibayar.Text = "" Txtsisa.Text = "" Chklunas.Value = vbunchecked Chkbelum.Value = vbunchecked Txtnomor.SetFocus Private Sub DataGrid1_Click() Txtnomor.Text = Adodc1.Recordset!NOMOR Txtnokwitansi.Text = Adodc1.Recordset!Nokwitansi 'Cmbkasir.Text = Adodc1.Recordset!Kasir Cmbkasir.Text = Adodc1.Recordset!Idkasir Cmbnim.Text = Adodc1.Recordset!Nim Txtdibayar.Text = Adodc1.Recordset!Dibayar Txttertulis.Text = Adodc1.Recordset!Tertulis
25 If Trim(DataGrid1.Columns(8).Value) = "Lunas" Then Chklunas.Value = vbchecked Chkbelum.Value = vbunchecked DataGrid1.Refresh ElseIf Trim(DataGrid1.Columns(8).Value) = "Belum" Then Chkbelum.Value = vbchecked Chklunas.Value = vbunchecked DataGrid1.Refresh Private Sub Form_Activate() Txtnomor.SetFocus Private Sub Form_Load() Dim reckode As New ADODB.Recordset Dim reckasir As New ADODB.Recordset Set reckode = NimCari("Nim") If (reckode.eof) Or (reckode.bof) Then MsgBox "Nim tersebut belum ada...", vbcritical, "Informasi" Else reckode.movefirst Cmbnim.Clear While Not (reckode.eof) Cmbnim.AddItem reckode("nim") reckode.movenext Wend Set reckasir = CariKasir("Sir") If (reckasir.eof) Or (reckasir.bof) Then MsgBox "Kasir tersebut belum ada...", vbcritical, "Informasi" Else reckasir.movefirst Cmbkasir.Clear While Not (reckasir.eof) Cmbkasir.AddItem reckasir("idkasir") reckasir.movenext Wend Private Sub Txtdibayar_Change() Txtsisa.Text = Val(Txtbiaya.Text) - Val(Txtdibayar.Text) On Error Resume Next Txttertulis.Text = Num2word(Txtdibayar.Text) + "Rupiah"
26 Private Sub Txtdibayar_Click() If Trim(Val(Txtdibayar.Text)) > Then MsgBox "Biaya Pendaftaran hanya Rp " Txtdibayar.SetFocus Private Sub Txtdibayar_KeyPress(KeyAscii As Integer) Dim cdibayar If Val(Txtdibayar.Text) = Then Chklunas.Value = vbchecked Chkbelum.Value = vbunchecked Else Chkbelum.Value = vbchecked Chklunas.Value = vbunchecked If Trim(Val(Txtdibayar.Text)) > Then MsgBox "Biaya Pendaftaran hanya Rp " Txtdibayar.SetFocus Private Sub Txtnokwitansi_LostFocus() Dim reckunci As ADODB.Recordset If Txtnokwitansi.Text <> "" Then Set reckunci = NoKwitansiCari(Txtnokwitansi.Text) If Not (reckunci.eof) Or Not (reckunci.bof) Then MsgBox "Nomor kwitansi tersebut sudah ada...!" Txtnokwitansi.SetFocus SendKeys "{HOME}+{END}" 'Tutup_koneksi Exit Sub 'Tutup_koneksi Private Sub Txtnomor_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Txtnokwitansi.SetFocus If InStr(StrLowerCase, Chr(KeyAscii)) Then KeyAscii = KeyAscii - 32
27 Private Sub Txtnomor_LostFocus() Dim reckunci As ADODB.Recordset If Txtnomor.Text <> "" Then Set reckunci = Nocari(Txtnomor.Text) If Not (reckunci.eof) Or Not (reckunci.bof) Then MsgBox "Nomor urut tersebut sudah ada..!!" Txtnomor.SetFocus SendKeys "{HOME}+{END}" 'Tutup_koneksi Exit Sub 'Tutup_koneksi 6. Modul Hak Akses Public Function Akses_Administrator() FrmMenu.Enabled = True End Function Public Function Akses_Pegawai() FrmMenu.Enabled = False Frm_Mahasiswa.Show vbmodal End Function Public Function Akses_Kasir() FrmMenu.Enabled = False FrmTransaksi.Show vbmodal End Function 7. Modul Koneksi Public cnn As ADODB.Connection Public RsDSS As ADODB.Recordset Public rs As ADODB.Recordset
28 Public rsrs As New ADODB.Recordset Public Rs1 As ADODB.Recordset, Rs2 As ADODB.Recordset Public Rs3 As ADODB.Recordset Public Rs4 As ADODB.Recordset Public AddFlag As Boolean Public kondisi As String, Strhapus As String Public Nm As String, StrKode As String Public Sub Koneksi() Set cnn = New ADODB.Connection cnn.open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Mahasiswa;Data Source=MICROSOF-98A174" cnn.cursorlocation = aduseclient Public Sub OpenTable(StrSql As String, rs As ADODB.Recordset) Set rs = New ADODB.Recordset If rs.state = adstateopen Then Set rs = Nothing rs.open StrSql, cnn, adopendynamic, adlockbatchoptimistic Public Sub LoadPelangganToCombo(StrSql As String, rs As ADODB.Recordset, Combo As ComboBox) Call OpenTable(StrSql, rs) Combo.Clear Do While Not rs.eof Combo.AddItem rs.fields(0) rs.movenext Loop 'Fungsi Cari Nim Public Function CariNim(Optional Nim As String) As ADODB.Recordset Dim SQLSelect As String On Error GoTo SelectError If Buka_Koneksi = True Then 'call Koneksi If Trim(Nim) = "" Then SQLSelect = "SELECT * FROM Transaksi" Else SQLSelect = "SELECT * FROM Transaksi Where Nim = '" & Nim & "'" Set CariNim = cnn.execute(sqlselect) Exit Function SelectError: 'Tutup_Koneksi Set CariNim = Nothing
29 End Function 'Fungsi Nim Cari Public Function NimCari(Source As String) As ADODB.Recordset Dim SQLSelect As String On Error GoTo SelectError Call Koneksi If Trim(Source) = "Nim" Then SQLSelect = "SELECT * FROM Mhs" Set NimCari = cnn.execute(sqlselect) Exit Function SelectError: Set NimCari = Nothing End Function 'Fungsi cari Kasir Public Function CariKasir(Source As String) As ADODB.Recordset Dim SQLSelect As String On Error GoTo SelectError Call Koneksi If Trim(Source) = "Sir" Then SQLSelect = "SELECT * FROM Kasir" Set CariKasir = cnn.execute(sqlselect) Exit Function SelectError: Set CariKasir = Nothing End Function 'Fungsi NoKwitansiCari Public Function NoKwitansiCari(Optional Nokwitansi As String) As ADODB.Recordset Dim SQLSelect As String On Error GoTo SelectError 'Call Koneksi If Buka_Koneksi = True Then If Trim(Nokwitansi) = "" Then SQLSelect = "SELECT * FROM Transaksi" Else SQLSelect = "SELECT * FROM Transaksi WHERE Nokwitansi='" & Nokwitansi & "'" Set NoKwitansiCari = cnn.execute(sqlselect) Exit Function SelectError: Set NoKwitansiCari = Nothing
30 End Function 'Fungsi Nocari Public Function Nocari(Optional NOMOR As String) As ADODB.Recordset Dim SQLSelect As String On Error GoTo SelectError Call Koneksi If Trim(NOMOR) = "" Then SQLSelect = "SELECT * FROM Transaksi" Else SQLSelect = "SELECT * FROM Transaksi Where NOMOR='" & NOMOR & "'" Set Nocari = cnn.execute(sqlselect) Exit Function SelectError: Set Nocari = Nothing End Function Function Num2word(ByVal n As Currency) As String 'max Dim satuan As Variant satuan = Array("", "Satu", "Dua", "Tiga", "Empat", "Lima", "Enam", "Tujuh", "Delapan", "Sembilan", "Sepuluh", "Sebelas") Select Case n 'keadaan Case 0 To 11 Num2word = " " + satuan(fix(n)) Case 12 To 19 Num2word = Num2word(n Mod 10) + " Belas " Case 20 To 99 Num2word = Num2word(Fix(n / 10)) + " Puluh " + Num2word(n Mod 10) Case 100 To 199 Num2word = " Seratus " + Num2word(n - 100) Case 200 To 999 Num2word = Num2word(Fix(n / 100)) + " Ratus " + Num2word(n Mod 100) Case 1000 To 1999 Num2word = " seribu " + Num2word(n ) Case 2000 To Num2word = Num2word(Fix(n / 1000)) + " Ribu " + Num2word(n Mod 1000) Case To Num2word = Num2word(Fix(n / )) + " Juta " + Num2word(n Mod ) Case Else Num2word = Num2word(Fix(n / )) + " Milyar " + Num2word(n Mod ) End Select End Function
31 'Fungsi untuk mencari No Kwitansi Public Function Nokwitansi(Optional Nokwitansi As String) As ADODB.Recordset Dim SQLSelect As String On Error GoTo SelectError If Buka_Koneksi = True Then If Trim(Nokwitansi) = "" Then SQLSelect = "SELECT * FROM Transaksi" Else SQLSelect = "SELECT * FROM Transaksi WHERE Nokwitansi='" & Nokwitansi & "'" Set Nokwitansi = cnn.execute(sqlselect) Exit Function SelectError: 'Tutup_koneksi Set Nokwitansi = Nothing End Function 8. Modul Mulai Public Sub main() Load FrmMenu FrmMenu.Show FrmLoginBaru.Show vbmodal 9. Modul Login Option Explicit Public Function UserBaruCari(UserName, UserLevel, password As String) As ADODB.Recordset Dim SQLSelect As String Buka_Koneksi If Trim(UserName) = "" Then SQLSelect = "Select * from UserBaru" Else SQLSelect = " Select * from UserBaru where " & _
32 "username='" & UserName & "'" & _ "and userlevel='" & UserLevel & "'" & _ "and password='" & password & "'" Debug.Print SQLSelect Set UserBaruCari = ulfi.execute(sqlselect) 'Tutup_Koneksi Exit Function SelectError: Set UserBaruCari = Nothing End Function Public Function CekUser(vUser As tuser) As String Dim SQLSelect As String Dim User As New ADODB.Recordset If Buka_Koneksi = True Then SQLSelect = "SELECT userlevel,password FROM UserBaru WHERE username='" & vuser.username & "'" Set User = ulfi.execute(sqlselect) If (User.EOF) Or (User.BOF) Then CekUser = "ErrName" Else User.MoveFirst If User("userlevel") = vuser.userlevel Then If User("password") = vuser.password Then CekUser = "Success" Else CekUser = "ErrPass" Else CekUser = "ErrLeve" 'Tutup_Klinik Exit Function ErrSelect: 'Tutup_Klinik CekUser = "ErrUser" End Function
33 10. Modul User Option Explicit Public Const KeyUser As String = "user" Type tuser UserName As String UserLevel As String password As String End Type 'Fungsi untuk menambah data user Public Function UserBaru(vUser As tuser) As Boolean Dim SQLInsert As String On Error GoTo ErrorBaru If Buka_Koneksi = True Then SQLInsert = "INSERT INTO msuser(username,userlevel,password)" & _ "VALUES('" & vuser.username & "','" & vuser.userlevel & "','" & vuser.password & "')" Koneksi.Execute SQLInsert UserBaru = True Tutup_Koneksi Exit Function ErrorBaru: Tutup_Koneksi UserBaru = False End Function 'Fungsi untuk meng-update data user Public Function UpdateUser(vUser As tuser) As Boolean Dim SQLUpdate As String On Error GoTo ErrorUpdate If Buka_Koneksi = True Then SQLUpdate = "UPDATE msuser SET" & _ "userlevel='" & vuser.userlevel & "'," & _ "password='" & vuser.password & "'" & _ "WHERE username='" & vuser.username & "'" Koneksi.Execute SQLUpdate
34 UpdateUser = True Tutup_Koneksi Exit Function ErrorUpdate: Tutup_Koneksi UpdateUser = False End Function 'Fungsi untuk mencari data User Public Function UserCari(Optional UserName As String) As ADODB.Recordset Dim SQLSelect As String On Error GoTo SelectError If Buka_Koneksi = True Then If UserName = "" Then SQLSelect = "SELECT * FROM User" Else SQLSelect = "SELECT * FROM User WHERE username='" & UserName & "'" Set UserCari = Koneksi.Execute(SQLSelect) Exit Function SelectError: Tutup_Koneksi Set UserCari = Nothing End Function
35 L A M P I R A N C
36
37
38
39
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 informationLAMPIRAN 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 informationLISTING 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 informationLISTING 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 informationTutorial, 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 informationLAMPIRAN : 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 informationLAMPIRAN. 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 informationLAMPIRAN. 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 informationLISTING 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 informationEnd 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 informationLAMPIRAN 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 informationLAMPIRAN 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 informationLAMPIRAN 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 informationLAMPIRAN 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 informationKARTU 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 informationSURAT 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 informationPlease 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 informationLISTING 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 information1. Menu Utama. Private Sub abt_click() frmabout.show End Sub. Private Sub dafabsenhar_click() frmdafabsensihar.show End Sub
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
More informationNilai 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 informationAn 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 informationRooftop 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 informationLookup 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 informationL 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 informationPrivate 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 informationLAMPIRAN. 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 informationLISTING 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 informationLAMPIRAN 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 informationOn 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 informationVisitor 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 informationDefinition, Investigation and Analysis
Definition, Investigation and Analysis Introduction and Nature of the Problem Introduction Pradhan Store is a wholesale store located in Nakhipot, Lalitpur. It has been providing its service since the
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 informationPROGRAM 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 informationAIM 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 informationLISTING 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 informationUnderstanding 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 informationRevisions: 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 informationVisual 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 informationLISTING 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 informationDATABASE 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 informationDOKUMEN 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 informationVisual 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 informationCOMBINING TABLES. Akademi Audit Negara. CAATs ASAS ACL / 1
COMBINING TABLES CAATs ASAS ACL / 1 OBJEKTIF MODUL Mempelajari kaedah menggabung dan menghubungkan dua atau lebih table bagi mencapai objektif Audit. Mempelajari kaedah menggunakan maklumat yang sedia
More informationProgramming 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 informationRemainder 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 informationPassword 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 informationMSS 318 Discrete Mathematics [Matematik Diskret]
UNIVERSITI SAINS MALAYSIA Second Semester Examination 2009/2010 Academic Session April/May 2010 MSS 318 Discrete Mathematics [Matematik Diskret] Duration : 3 hours [Masa : 3 jam] Please check that this
More informationGenerated by Foxit PDF Creator Foxit Software For evaluation only. ภาคผนวก ก
ภาคผนวก ก โปรแกรม SQL Server โปรแกรม SQL Server เป นโปรแกรมจ ดการฐานข อม ล ท จะการจ ดเก บข อม ลต างๆลงใน ตาราง เพ อช วยในการจ ดเก บข อม ลได ง ายข นและสามารถน าข อม ลข อม ลออกมาได อย างรวดเร ว ข นตอนการต
More informationKartu 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 informationPengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.
Conference Manager Roles Guide - PENGGUNA MANUAL Login. Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.
More informationMicrosoft Access 2010 Level III
Microsoft Access 2010 Level III Handout Objectives I. Creating a Password Table II. Designing a Form III. Entering Codes Overview: With its Microsoft Office Fluent user interface and interactive design
More informationTABLE 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 informationPanduan Menggunakan Autoresponder FreeAutobot.com
Panduan Menggunakan Autoresponder FreeAutobot.com Dengan memperolehi e-book ini, anda mempunyai kebenaran untuk memberi secara percuma kepada pelanggan anda atau tawarkan sebagai bonus kepada pembelian
More informationPANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS)
PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: SUPPLY CHAIN MANAGEMENT (SCM) BAHAGIAN ICT PROCESS
More informationManual Pengguna. PCN Online Service Fulfillment System
System 1 Subjek Muka Surat 1) CARTA ALIR SISTEM 2 2) PERMOHONAN OLEH AGENSI 3 3) PENGESAHAN PERMOHONAN OLEH MAMPU 8 4) LAMPIRAN 13 2 Carta alir sistem 3 PERMOHONAN OLEH AGENSI 4 Membuat permohonan baru
More informationUniversitas Sumatera Utara
Option Explicit DefLng A-Z '--------------------------------------------------------------------------------------------- #Const Test = False '---------------------------------------------------------------------------------------------
More informationUniversitas 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 informationUNIVERSITI SAINS MALAYSIA. CPT111/CPM111 Principles of Programming [Prinsip Pengaturcaraan]
UNIVERSITI SAINS MALAYSIA Second Semester Examination 2014/2015 Academic Session June 2015 CPT111/CPM111 Principles of Programming [Prinsip Pengaturcaraan] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS
More informationPengenalan Sistem Maklumat Dalam Pendidikan
Pengenalan Sistem Maklumat Dalam Pendidikan 1 RELATIONSHIP & QUERY DALAM MICROSOFT ACCESS Kandungan Definisi Relationship (Hubungan) Jenis Relationship Membina Relationship Definisi Query dan Fungsi Query
More informationA Back-End Link Checker for Your Access Database
A Back-End for Your Access Database Published: 30 September 2018 Author: Martin Green Screenshots: Access 2016, Windows 10 For Access Versions: 2007, 2010, 2013, 2016 Working with Split Databases When
More informationAn 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 informationUNIVERSITI SAINS MALAYSIA
UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2004/2005 Oktober 2004 CPT103/CPM211- Struktur Data & Paradigma Pengaturcaraan Masa : 2 jam ARAHAN KEPADA CALON : Sila pastikan bahawa
More informationRegistration of Supplier (ROS) TM Supplier Registration Renewal via SUS Portal (Pembaharuan Pendaftaran Pembekal TM melalui SUS Portal)
TM SUPPLIER REGISTRATION RENEWAL VIA SUPPLIER SELF-SERVICE (SUS) PORTAL USER GUIDE PEMBAHARUAN PENDAFTARAN PEMBEKAL TM MELALUI SUPPLIER SELF-SERVICE (SUS) PORTAL PANDUAN PENGGUNA Getting Started Step by
More information2-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 informationLAMPIRAN 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 informationNATIONAL 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 informationCS130/230 Lecture 12 Advanced Forms and Visual Basic for Applications
CS130/230 Lecture 12 Advanced Forms and Visual Basic for Applications Friday, January 23, 2004 We are going to continue using the vending machine example to illustrate some more of Access properties. Advanced
More informationEEE 348 PENGANTAR REKABENTUK LITAR BERSEPADU
UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2007/2008 Oktober/November 2007 EEE 348 PENGANTAR REKABENTUK LITAR BERSEPADU Masa : 3 Jam Sila pastikan kertas peperiksaan ini mengandungi
More informationOUR company has recognized that forms design is
User Interface Standards for Forms Smart Access 2000 2002 Dennis Schumaker User interface standards are critical for both programmer and end-user productivity. An important part of any application is Application
More informationRegistration of Supplier (ROS) TM Supplier Registration Renewal via SUS Portal (Pembaharuan Pendaftaran Pembekal TM melalui SUS Portal)
TM SUPPLIER REGISTRATION RENEWAL VIA SUPPLIER SELF-SERVICE (SUS) PORTAL USER GUIDE PEMBAHARUAN PENDAFTARAN PEMBEKAL TM MELALUI SUPPLIER SELF-SERVICE (SUS) PORTAL PANDUAN PENGGUNA Getting Started Step by
More informationLISTING 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 informationINSTRUCTION: This section consists of FOUR (4) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan. Jawab SEMUA soalan.
SECTION B: 70 MARKS BAHAGIAN B: 70 MARKAH INSTRUCTION: This section consists of FOUR (4) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan. Jawab SEMUA soalan. QUESTION
More informationREGISTRATION GUIDE MCIS CUSTOMER PORTAL. Page 1
REGISTRATION GUIDE MCIS CUSTOMER PORTAL Page 1 Customer Portal Registration Guide Go to www.mcis.my and click the Customer Portal tab Page 2 Customer Portal Registration Guide 1. The page shown below will
More informationMICROSOFT EXCEL. Membina Hamparan Elektronik Fungsi Hamparan Elektronik
MICROSOFT EXCEL Membina Hamparan Elektronik Fungsi Hamparan Elektronik Microsoft Excel 2010 Kandungan Penggunaan Asas Excel Memformat Sel, Lembaran dan Buku Kerja (Work Book) Penggunaan Asas Excel Fail
More informationLAMPIRAN. 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'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("8b a5-46bb-a6a9-87b4949d1f4c")>
LAMPIRAN A : LISTING PROGRAM Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes.
More informationIFA/QFN VBA Tutorial Notes prepared by Keith Wong
Chapter 2: Basic Visual Basic programming 2-1: What is Visual Basic IFA/QFN VBA Tutorial Notes prepared by Keith Wong BASIC is an acronym for Beginner's All-purpose Symbolic Instruction Code. It is a type
More informationVisual 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 informationHow to modify convert task to use variable value from source file in output file name
Page 1 of 6 How to modify convert task to use variable value from source file in output file name The default SolidWorks convert task add-in does not have support for extracting variable values from the
More informationPrivate 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 informationProgramming 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 informationJABATAN KIMIA Kategori Arahan Kerja
Mukasurat: 1 daripada 10 1. TUJUAN Tujuan prosedur ini ditubuhkan adalah untuk memberikan arahan yang jelas bagi langkah atau tatacara bagaimana menjalankan analisis sampel menggunakan peralatan JEOL NMR
More informationvariables programming statements
1 VB PROGRAMMERS GUIDE LESSON 1 File: VbGuideL1.doc Date Started: May 24, 2002 Last Update: Dec 27, 2002 ISBN: 0-9730824-9-6 Version: 0.0 INTRODUCTION TO VB PROGRAMMING VB stands for Visual Basic. Visual
More informationONLINE 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 informationENGG1811 Computing for Engineers Week 9 Dialogues and Forms Numerical Integration
ENGG1811 Computing for Engineers Week 9 Dialogues and Forms Numerical Integration ENGG1811 UNSW, CRICOS Provider No: 00098G W9 slide 1 References & Info Chapra (Part 2 of ENGG1811 Text) Topic 21 (chapter
More informationPANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS)
PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: SUPPLY CHAIN MANAGEMENT (SCM) BAHAGIAN ICT PROCESS
More information2. (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[Borang Permohonan] Application Form
MANUAL OPERASI SISTEM PERMOHONAN KEMASUKAN EKSEKUTIF DAN PBJJ MANUAL OPERATION EXECUTIVE PROGRAMME ADMISSION APPLICATION SYSTEM (MSKPKP) [Borang Permohonan] Application Form page ISI KANDUNGAN [Contents].0
More informationFIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA
FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA Getting Started Step by Step Guide to Supplier First Time Login and Self Registration Persediaan
More informationUNIVERSITI SAINS MALAYSIA. CST332 Internet Protocols. Architecture & Routing [Protokol, Seni Bina & Penghalaan Internet]
UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CST332 Internet Protocols. Architecture & Routing [Protokol, Seni Bina & Penghalaan Internet]
More information6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples:
VBA program units: Subroutines and Functions Subs: a chunk of VBA code that can be executed by running it from Excel, from the VBE, or by being called by another VBA subprogram can be created with the
More informationNE1R 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 informationLAMPIRAN A PROGRAM FLOWSTONE
LAMPIRAN A PROGRAM FLOWSTONE A-1 Tampilan GUI pada FlowStone A-2 Program Tambahan yang Dibuat Untuk Membaca Frekuensi A-3 Program Tambahan yang Dibuat Untuk Menyimpan Data A-4 LAMPIRAN B PROGRAM VISUAL
More informationIS 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 informationPANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS
Classroom Reservation User Manual (HEA) PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS Table of Contents CLASSROOM RESERVATION MANAGEMENT SYSTEM - APLIKASI... 2 Apa
More informationPROGRAM 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 informationUNIVERSITI SAINS MALAYSIA. CPT103/ CPM211 Struktur Data & Paradigma Pengaturcaraan
UNIVERSITI SAINS MALAYSIA Peperiksaan Kursus Semasa Cuti Panjang Sidang Akademik 2001/2002 April 2002 CPT103/ CPM211 Struktur Data & Paradigma Pengaturcaraan Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan
More informationSend to: MM Irfan Subakti CC to Muhammad Ryanda Nugraha M with the. IF184401_DAA(F)_MID_NRP_Name.
IF184401 Design & Analysis of Algorithms (F) Midterm Exam Starting date: 9 March 2019 Deadline: 16 March 2019, 23:59 WIB. Exam type: Open Send to: MM Irfan Subakti CC to Muhammad Ryanda
More informationFinancial Functions (all with subtypes: Normal, Stairs, Points, Height, Hollow, Colors, Marks, No Border except where indicated):
Financial Charting in TeeChart Pro TeeChart Pro has always been at the cutting edge of Financial Charting and the ActiveX v6 makes this very clear; with three distinct financial series and fourteen dedicated
More information22. 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