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

Size: px
Start display at page:

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

Transcription

1 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, SC_MOVE, MF_BYCOMMAND) strtemp = Me.Caption n = 0 Sub Tengah(x As Form) x.top = (Screen.Height - x.height) \ 2 x.left = (Screen.Width - x.width) \ 2 Private Sub Mnu_ganti_Click() GantiPassword.Show Private Sub Mnu_Lap_Click() Laporan.Show Private Sub mnu_laporan_click() Laporan.Show Private Sub mnu_list_click() List.Show Private Sub mnu_logout_click() End Private Sub Mnu_Obat_Click() Obat.Show Private Sub mnu_pasien_click() Pasien.Show

2 Private Sub mnu_transaksi_click() Transaksi.Show Private Sub Timer1_Timer() strtemp = "Menu Utama" LenTemp = Len(strtemp) Dim Form As String LenTemp = Len(strtemp) n = n + 1 Me.Caption = Left(strtemp, n) + " " If n > LenTemp Then n = 1 2. Form Login Private Sub cmdlogin_click() Tbl.Open "Select * from Admin where " & _ "user='" & txtuser.text & "' AND " & _ "password='" & txtpass.text & "'", DB, 1, 2 MsgBox "Login berhasil..." Menu_Utama.Show Unload Me MsgBox "user dan pass tidak sinkron..." Private Sub Form_Load() 3. Form Pasien Dim kodepasien As Integer Sub LvPasien(Lv As ListView) Lv.View = lvwreport Lv.FullRowSelect = True Lv.HoverSelection = True

3 Lv.GridLines = True Lv.ColumnHeaders.Clear Lv.ColumnHeaders.Add,, "kodepasien", 1500 Lv.ColumnHeaders.Add,, "Nama", 3000 Lv.ColumnHeaders.Add,, "Alamat", 2500 Lv.ColumnHeaders.Add,, "Jenkel", 1000 Lv.ColumnHeaders.Add,, "Tanggal Masuk", 2000 Private Sub cmdbatal_click() txtnama.text = "" txtalamat.text = "" cmbjenkel.text = "" cmdcari.enabled = True Private Sub cmdcari_click() 'karna ada data yang kosong' kodepasien = InputBox("cari berdasarkan kodepasien", "input data...") Tbl.Open " select * from pasien where kodepasien = " & kodepasien, DB, 1, 2 txtnama.text = Tbl.Fields("Nama") txtalamat.text = Tbl.Fields("Alamat") cmbjenkel.text = Tbl.Fields("JenKel") DTgl.Value = Tbl.Fields("TglMasuk") txtnama.enabled = True txtalamat.enabled = True cmdhapus.enabled = True cmdedit.enabled = True cmdcari.enabled = False cmdtambah.enabled = False cmdbatal.enabled = True Private Sub cmdedit_click() Tbl.Open " select * from Pasien where kodepasien = " & kodepasien, DB, 1, 2 Tbl.Fields("Nama") = txtnama.text Tbl.Fields("Alamat") = txtalamat.text Tbl.Update MsgBox "Data sudah disimpan ulang.." Private Sub cmdhapus_click() Tbl.Open " select * from Pasien where kodepasien = " & kodepasien, DB, 1, 2 Tbl.Delete MsgBox "Data sudah dihapus.."

4 Private Sub cmdsimpan_click() If txtnama.text = "" Or txtalamat.text = "" Or cmbjenkel.text = "" Then MsgBox "data tidak boleh kosong" Call ceksimpan Private Sub cmdtambah_click() Call aktif Private Sub Form_Load() Call LvPasien(Lv1) Call cmb1 Call pasif Call Bersih Call Tampil Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu, SC_MOVE, MF_BYCOMMAND) Sub Tampil() Dim Ls As ListItem Tbl.Open "select*from Pasien where " & _ "Nama like '" & txtcari.text & "%' OR " & _ "Alamat like '" & txtcari.text & "%'", DB, 1, 2 Lv1.ListItems.Clear Do While Not Tbl.EOF Set Ls = Lv1.ListItems.Add(,, Tbl.Fields("KodePasien"),, 0) Ls.SubItems(1) = Tbl.Fields("Nama") Ls.SubItems(2) = Tbl.Fields("Alamat") Ls.SubItems(3) = Tbl.Fields("JenKel") Ls.SubItems(4) = Tbl.Fields("TglMasuk") Tbl.MoveNext Loop Private Sub txtcari_change() Call Tampil Sub simpan() Tbl.Open "select * from pasien", DB, 1, 2 Tbl.AddNew Tbl.Fields("Nama") = txtnama.text Tbl.Fields("Alamat") = txtalamat.text Tbl.Fields("JenKel") = cmbjenkel.text Tbl.Update MsgBox "data sudah disimpan"

5 Sub ceksimpan() cek.open "select * from pasien where Nama='" & txtnama.text & "'", DB, 1, 2 If Not cek.eof Then MsgBox "data sudah ada" Call simpan cek.close Sub cmb1() cmbjenkel.additem "Laki-laki" cmbjenkel.additem "Perempuan" Sub pasif() txtnama.enabled = False txtalamat.enabled = False cmdsimpan.enabled = False cmdhapus.enabled = False cmdbatal.enabled = False cmdedit.enabled = False cmdtambah.enabled = True Sub Bersih() txtnama.text = "" txtalamat.text = "" txtcari.text = "" Sub aktif() txtnama.enabled = True txtalamat.enabled = True cmdsimpan.enabled = True cmdbatal.enabled = True cmdcari.enabled = False txtnama.setfocus Private Sub Lv1_DblClick() If Lv1.ListItems.Count <> 0 Then Tbl.Open " select * from Pasien where kodepasien = " & Lv1.SelectedItem.Text, DB, 1, 2 kodepasien = Tbl.Fields("kodepasien") txtnama.text = Tbl.Fields("Nama") txtalamat.text = Tbl.Fields("Alamat") cmbjenkel.text = Tbl.Fields("JenKel") DTgl.Value = Tbl.Fields("TglMasuk") txtnama.enabled = True txtalamat.enabled = True cmdhapus.enabled = True cmdedit.enabled = True cmdcari.enabled = False cmdtambah.enabled = False cmdbatal.enabled = True

6 Sub Tengah(x As Form) x.top = (Screen.Height - x.height) \ 2 x.left = (Screen.Width - x.width) \ 2 4. Form List Dim idlist As Integer Sub LvList(Lv As ListView) Lv.View = lvwreport Lv.FullRowSelect = True Lv.HoverSelection = True Lv.GridLines = True Lv.ColumnHeaders.Clear Lv.ColumnHeaders.Add,, "idlist", 0 Lv.ColumnHeaders.Add,, "No", 500 Lv.ColumnHeaders.Add,, "Jasa", 4000 Lv.ColumnHeaders.Add,, "Harga", 1500 Sub Tampil() Dim Ls As ListItem Dim Nomor As Integer Nomor = 0 Tbl.Open "select*from List where " & _ "Jasa like '" & txtcari.text & "%' OR " & _ "Harga like '" & txtcari.text & "%'", DB, 1, 2 Lv1.ListItems.Clear Do While Not Tbl.EOF Nomor = Nomor + 1 Set Ls = Lv1.ListItems.Add(,, Tbl.Fields("idlist"),, 0) Ls.SubItems(1) = Nomor Ls.SubItems(2) = Tbl.Fields("Jasa") Ls.SubItems(3) = Tbl.Fields("Harga") Loop Tbl.MoveNext Private Sub cmdbatal_click() txtjasa.text = ""

7 txtharga.text = "" Private Sub cmdedit_click() Tbl.Open " select * from list where idlist = " & idlist, DB, 1, 2 Tbl.Fields("Jasa") = txtjasa.text Tbl.Fields("Harga") = txtharga.text Tbl.Update MsgBox "Data sudah disimpan ulang.." Private Sub cmdhapus_click() Tbl.Open " select * from list where idlist = " & idlist, DB, 1, 2 Tbl.Delete MsgBox "Data sudah dihapus.." Private Sub cmdsimpan_click() If txtjasa.text = "" Or txtharga.text = "" Then MsgBox "data tidak boleh kosong" Call ceksimpan Private Sub cmdtambah_click() Call aktif Private Sub Form_Load() Call LvList(Lv1) Call Tampil Call pasif Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu, SC_MOVE, MF_BYCOMMAND) Sub simpan() Tbl.Open "select * from List", DB, 1, 2 Tbl.AddNew Tbl.Fields("Jasa") = txtjasa.text Tbl.Fields("Harga") = txtharga.text Tbl.Update

8 MsgBox "data sudah disimpan" Sub ceksimpan() cek.open "select * from list where Jasa='" & txtjasa.text & "'", DB, 1, 2 If Not cek.eof Then MsgBox "data sudah ada" Call simpan cek.close Private Sub Hapus_Click() Tbl.Open " select * from Hapus where idlist = " & idlist, DB, 1, 2 Tbl.Delete MsgBox "Data sudah dihapus.." Private Sub Lv1_DblClick() If Lv1.ListItems.Count <> 0 Then Tbl.Open " select * from list where idlist = " & Lv1.SelectedItem.Text, DB, 1, 2 idlist = Tbl.Fields("idlist") txtjasa.text = Tbl.Fields("Jasa") txtharga.text = Tbl.Fields("Harga") txtjasa.enabled = True txtharga.enabled = True cmdedit.enabled = True cmdhapus.enabled = True cmdtambah.enabled = False Private Sub txtcari_change() Call Tampil Sub aktif() txtjasa.enabled = True txtharga.enabled = True cmdbatal.enabled = True cmdsimpan.enabled = True

9 txtjasa.setfocus Sub pasif() txtjasa.enabled = False txtharga.enabled = False cmdsimpan.enabled = False cmdhapus.enabled = False cmdedit.enabled = False cmdbatal.enabled = False cmdtambah.enabled = True Sub Tengah(x As Form) x.top = (Screen.Height - x.height) \ 2 x.left = (Screen.Width - x.width) \ 2 5. Form Obat Dim kodeobat As Double Sub LvObat(Lv As ListView) Lv.View = lvwreport Lv.GridLines = True Lv.FullRowSelect = True Lv.HoverSelection = True Lv.ColumnHeaders.Clear Lv.ColumnHeaders.Add,, "KodeObat", 1500 Lv.ColumnHeaders.Add,, "NamaObat", 1500 Lv.ColumnHeaders.Add,, "Harga", 1500 Lv.ColumnHeaders.Add,, "Kategori", 1500 Sub Tampil() Dim Ls As ListItem Tbl.Open "select*from Obat where " & _ "kodeobat like '" & txtcari.text & "%' OR " & _ "Namaobat like '" & txtcari.text & "%'", DB, 1, 2 Lv1.ListItems.Clear Do While Not Tbl.EOF Set Ls = Lv1.ListItems.Add(,, Tbl.Fields("KodeObat"),, 0) Ls.SubItems(1) = Tbl.Fields("Namaobat") Ls.SubItems(2) = Tbl.Fields("Harga") Ls.SubItems(3) = Tbl.Fields("Kategori") Tbl.MoveNext Loop

10 Private Sub cmdexit_click() Call Form_Load Private Sub cmdsimpan_click() If txtkode.text = "" Or txtnama.text = "" Or txtkategori.text = "" Then MsgBox "data tidak boleh kosong" Call ceksimpan Private Sub cmdtambah_click() Call aktif Private Sub Form_Load() Call LvObat(Lv1) Call Tampil Call pasif Call Bersih Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu, SC_MOVE, MF_BYCOMMAND) Sub simpan() Tbl.Open "select * from Obat", DB, 1, 2 Tbl.AddNew Tbl.Fields("KodeObat") = txtkode.text Tbl.Fields("NamaObat") = txtnama.text Tbl.Fields("Harga") = txtharga.text Tbl.Fields("Kategori") = txtkategori.text Tbl.Update MsgBox "data sudah disimpan" Sub ceksimpan() cek.open "select * from Obat where KodeObat='" & txtkode.text & "'", DB, 1, 2 If Not cek.eof Then MsgBox "data sudah ada" Call simpan

11 cek.close Sub pasif() txtkode.enabled = False txtnama.enabled = False txtharga.enabled = False txtkategori.enabled = False cmdsimpan.enabled = False cmdhapus.enabled = False cmdbatal.enabled = False cmdedit.enabled = False cmdtambah.enabled = True Sub Bersih() txtkode.text = "" txtnama.text = "" txtharga.text = "" txtkategori.text = "" txtcari.text = "" Sub aktif() txtkode.enabled = True txtnama.enabled = True txtharga.enabled = True txtkategori.enabled = True cmdsimpan.enabled = True cmdbatal.enabled = True txtkode.setfocus Private Sub cmdcari_click() kodeobat = InputBox("cari berdasarkan kodeobat", "input data...") Tbl.Open " select * from Obat where kodeobat = '" & kodeobat & "'", DB, 1, 2 txtnama.text = Tbl.Fields("NamaObat") txtharga.text = Tbl.Fields("Harga") txtkategori.text = Tbl.Fields("Kategori") cmdedit.enabled = True cmdhapus.enabled = True cmdtambah.enabled = False Call aktif Private Sub cmdbatal_click()

12 txtkode.text = "" txtnama.text = "" txtharga.text = "" txtkategori.text = "" Private Sub cmdedit_click() Tbl.Open " select * from Obat where kodeobat = '" & txtkode.text & "'", DB, 1, 2 Tbl.Fields("NamaObat") = txtnama.text Tbl.Fields("Harga") = txtharga.text Tbl.Fields("Kategori") = txtkategori.text Tbl.Update MsgBox "Data sudah disimpan ulang.." Private Sub cmdhapus_click() Tbl.Open " select * from Obat where kodeobat = '" & txtkode.text & "'", DB, 1, 2 Tbl.Delete MsgBox "Data sudah dihapus.." Private Sub Lv1_DblClick() If Lv1.ListItems.Count <> 0 Then Tbl.Open " select * from Obat where kodeobat = '" & Lv1.SelectedItem.Text & "'", DB, 1, 2 txtkode.text = Tbl.Fields("kodeObat") txtnama.text = Tbl.Fields("NamaObat") txtharga.text = Tbl.Fields("Harga") txtkategori.text = Tbl.Fields("Kategori") txtnama.enabled = True txtharga.enabled = True txtkategori.enabled = True cmdedit.enabled = True cmdhapus.enabled = True cmdbatal.enabled = False cmdtambah.enabled = False

13 Private Sub txtcari_change() Call Tampil Sub Tengah(x As Form) x.top = (Screen.Height - x.height) \ 2 x.left = (Screen.Width - x.width) \ 2 6. Form Transaksi Dim Total As Double Dim idlist As Integer Dim nofaktur As Variant Sub LvTransaksi(Lv As ListView) Lv.View = lvwreport Lv.FullRowSelect = True Lv.HoverSelection = True Lv.HotTracking = True Lv.GridLines = True Lv.ColumnHeaders.Clear Lv.ColumnHeaders.Add,, "kodeobat", 2000 Lv.ColumnHeaders.Add,, "Namaobat", 3000 Lv.ColumnHeaders.Add,, "Harga", 2000 Private Sub cmb1_click() Call caribiaya Call Hitung Private Sub cmdadd_click() Call Tambah Call Hitung Private Sub cmdcetak_click(index As Integer) Call simpan Call Laporan Private Sub cmddel_click() Call hapus Call Hitung Private Sub Form_Load() Call LvTransaksi(Lv1) Call isicombo Call faktur Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu, SC_MOVE, MF_BYCOMMAND)

14 Sub simpan() Dim x As Integer If Lv1.ListItems.Count <> 0 Then For x = 1 To Lv1.ListItems.Count Tbl.Open "select*from Transaksi", DB, 1, 2 Tbl.AddNew Tbl.Fields("tanggal") = DTgl.Value Tbl.Fields("NoFaktur") = TxtFaktur.Text Tbl.Fields("idlist") = idlist Tbl.Fields("kodepasien") = txtkode.text If Lv1.ListItems.Count <> 0 Then Tbl.Fields("kodeobat") = Lv1.ListItems(x).Text Tbl.Fields("kodeObat") = "-" Tbl.Update Next x MsgBox "data sudah disimpan" Sub cariobat() Tbl.Open " select * from obat where kodeobat = '" & txtkodeobat.text & "'", DB, 1, 2 txtnama.text = Tbl.Fields("NamaObat") txtharga.text = Tbl.Fields("Harga") Private Sub txtbayar_change() txtkembali = (Val(txtBayar.Text)) - (Val(txtTotal.Text)) Private Sub txtkode_change() Call carinama Private Sub txtkodeobat_change() Call cariobat Sub isicombo() Tbl.Open " select * from list ", DB, 1, 2 Do While Not Tbl.EOF cmb1.additem Tbl.Fields("Jasa") Tbl.MoveNext Loop

15 Sub caribiaya() Tbl.Open " select * from list where jasa= '" & cmb1.text & "'", DB, 1, 2 txtbiaya.text = Tbl.Fields("Harga") idlist = Tbl.Fields("idlist") Sub Tambah() Dim Lst As ListItem Set Lst = Lv1.ListItems.Add(,, txtkodeobat.text,, 0) Lst.SubItems(1) = txtnama.text Lst.SubItems(2) = txtharga.text Sub carinama() Tbl.Open " select * from Pasien where kodepasien=" & txtkode.text, DB, 1, 2 txtatasnama.text = Tbl.Fields("Nama") Sub Hitung() Dim x As Integer For x = 1 To Lv1.ListItems.Count Total = Total + CCur(Lv1.ListItems(x).SubItems(2)) Next x txttotal.text = CCur(txtBiaya.Text) + Total Sub faktur() Dim no As Integer cek.open "select * from transaksi order by nofaktur desc", DB, 1, 2 no = Val(Right(cek.Fields("Nofaktur"), 4)) If no <> "" Then no = no + 1 no = 1 TxtFaktur.Text = "TR-" & ( no) Sub hapus() Lv1.ListItems.Remove (Lv1.SelectedItem.Index) Private Sub cmdbatal_click() txtkode.text = "" txtnama.text = ""

16 txtharga.text = "" TxtFaktur.Text = "" Sub carifaktur() cek.open "select*from Transaksi order by nofaktur desc", DB, 1, 2 nofaktur = cek.fields("nofaktur") cek.close Sub Laporan() Call carifaktur CR1.ReportFileName = App.Path & "\LapTransaksi.rpt" CR1.SelectionFormula = "{Transaksi.NoFaktur}='" & nofaktur & "'" CR1.RetrieveDataFiles CR1.WindowState = crptmaximized CR1.Action = 1 Sub Tengah(x As Form) x.top = (Screen.Height - x.height) \ 2 x.left = (Screen.Width - x.width) \ 2 7. Form Laporan Dim Total As Double Dim idlist As Integer Dim nofaktur As Variant Sub LvTransaksi(Lv As ListView) Lv.View = lvwreport Lv.FullRowSelect = True Lv.HoverSelection = True Lv.HotTracking = True Lv.GridLines = True Lv.ColumnHeaders.Clear Lv.ColumnHeaders.Add,, "kodeobat", 2000 Lv.ColumnHeaders.Add,, "Namaobat", 3000 Lv.ColumnHeaders.Add,, "Harga", 2000 Private Sub cmb1_click() Call caribiaya Call Hitung Private Sub cmdadd_click() Call Tambah Call Hitung

17 Private Sub cmdcetak_click(index As Integer) Call simpan Call Laporan Private Sub cmddel_click() Call hapus Call Hitung Private Sub Form_Load() Call LvTransaksi(Lv1) Call isicombo Call faktur Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu, SC_MOVE, MF_BYCOMMAND) Sub simpan() Dim x As Integer If Lv1.ListItems.Count <> 0 Then For x = 1 To Lv1.ListItems.Count Tbl.Open "select*from Transaksi", DB, 1, 2 Tbl.AddNew Tbl.Fields("tanggal") = DTgl.Value Tbl.Fields("NoFaktur") = TxtFaktur.Text Tbl.Fields("idlist") = idlist Tbl.Fields("kodepasien") = txtkode.text If Lv1.ListItems.Count <> 0 Then Tbl.Fields("kodeobat") = Lv1.ListItems(x).Text Tbl.Fields("kodeObat") = "-" Tbl.Update Next x MsgBox "data sudah disimpan" Sub cariobat() Tbl.Open " select * from obat where kodeobat = '" & txtkodeobat.text & "'", DB, 1, 2 txtnama.text = Tbl.Fields("NamaObat") txtharga.text = Tbl.Fields("Harga")

18 Private Sub txtbayar_change() txtkembali = (Val(txtBayar.Text)) - (Val(txtTotal.Text)) Private Sub txtkode_change() Call carinama Private Sub txtkodeobat_change() Call cariobat Sub isicombo() Tbl.Open " select * from list ", DB, 1, 2 Do While Not Tbl.EOF cmb1.additem Tbl.Fields("Jasa") Tbl.MoveNext Loop Sub caribiaya() Tbl.Open " select * from list where jasa= '" & cmb1.text & "'", DB, 1, 2 txtbiaya.text = Tbl.Fields("Harga") idlist = Tbl.Fields("idlist") Sub Tambah() Dim Lst As ListItem Set Lst = Lv1.ListItems.Add(,, txtkodeobat.text,, 0) Lst.SubItems(1) = txtnama.text Lst.SubItems(2) = txtharga.text Sub carinama() Tbl.Open " select * from Pasien where kodepasien=" & txtkode.text, DB, 1, 2 txtatasnama.text = Tbl.Fields("Nama")

19 Sub Hitung() Dim x As Integer For x = 1 To Lv1.ListItems.Count Total = Total + CCur(Lv1.ListItems(x).SubItems(2)) Next x txttotal.text = CCur(txtBiaya.Text) + Total Sub faktur() Dim no As Integer cek.open "select * from transaksi order by nofaktur desc", DB, 1, 2 no = Val(Right(cek.Fields("Nofaktur"), 4)) If no <> "" Then no = no + 1 no = 1 TxtFaktur.Text = "TR-" & ( no) Sub hapus() Lv1.ListItems.Remove (Lv1.SelectedItem.Index) Private Sub cmdbatal_click() txtkode.text = "" txtnama.text = "" txtharga.text = "" TxtFaktur.Text = "" Sub carifaktur() cek.open "select*from Transaksi order by nofaktur desc", DB, 1, 2 nofaktur = cek.fields("nofaktur") cek.close Sub Laporan() Call carifaktur CR1.ReportFileName = App.Path & "\LapTransaksi.rpt" CR1.SelectionFormula = "{Transaksi.NoFaktur}='" & nofaktur & "'" CR1.RetrieveDataFiles CR1.WindowState = crptmaximized

20 CR1.Action = 1 Sub Tengah(x As Form) x.top = (Screen.Height - x.height) \ 2 x.left = (Screen.Width - x.width) \ 2 8. Form Ganti Password Sub Bersih() Me.txtUser.Text = "" Me.txtPassword.Text = "" Me.txtPassBru.Text = "" Me.txtPassBru2.Text = "" Private Sub cmdok_click() Pesan = MsgBox("yakin password akan diganti", vbyesno) If Pesan = vbyes Then Dim ganti As String ganti = "update admin set password='" & txtpassbru.text & "' " & _ "where user='" & txtuser.text & "'" DB.Execute ganti MsgBox "password sudah diganti" Unload Me Private Sub cmdbatal_click() Call Form_Load Private Sub Form_Load() Call pasif Call Bersih Private Sub txtpassbru_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtpassbru.text = "" Then MsgBox "password baru harus diisi" txtpassbru.setfocus txtpassbru2.enabled = True txtpassbru2.setfocus

21 Sub pasif() txtuser.enabled = True txtpassword.enabled = False txtpassbru.enabled = False txtpassbru2.enabled = False Private Sub txtpassbru2_keypress(keyascii As Integer) If KeyAscii = 13 Then If txtpassbru2.text <> txtpassbru.text Then MsgBox "password tidak sama" txtpassbru2.setfocus txtpassbru2.text = "" Private Sub txtpassword_keypress(keyascii As Integer) Dim id As Integer If KeyAscii = 13 Then Tbl.Open "select * from Admin where user='" & txtuser.text & "' and password = '" & txtpassword.text & "'", DB, adopendynamic, adlockoptimistic txtpassbru.enabled = True txtpassbru.setfocus id = Tbl.Fields("id") MsgBox "password salah" txtpassword.setfocus txtpassword.text = "" Private Sub txtuser_keypress(keyascii As Integer) If KeyAscii = 13 Then txtpassword.enabled = True txtpassword.setfocus

1. 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 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 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

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

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

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 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 : 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

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

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

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

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

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

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. 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

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

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

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

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

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

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

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

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. 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

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

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

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

UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA

UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA Dosen Pembimbing : Dedi W ST,. MM Nama : Elly Sunandy NIM : 13158279 Pemrograman Terstruktur Membuat program dengan Delphi 7

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

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

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

DAFTAR PUSTAKA. Munawar, Pemodelan Visual dengan UML edl. Graha Ilmu : Jakarta.

DAFTAR PUSTAKA. Munawar, Pemodelan Visual dengan UML edl. Graha Ilmu : Jakarta. DAFTAR PUSTAKA Munawar, 2005. Pemodelan Visual dengan UML edl. Graha Ilmu : Jakarta. Docherty, Mike O. Object Oriented Analysis & Desain Understanding System. 2005 ed. Development With UML 2 0 Ambler,

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

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

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

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

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

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

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

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

[Borang Permohonan] Application Form

[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 information

Panduan Menggunakan Autoresponder FreeAutobot.com

Panduan 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 information

MICROSOFT EXCEL. Membina Hamparan Elektronik Fungsi Hamparan Elektronik

MICROSOFT 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 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

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

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

Send to: MM Irfan Subakti CC to Muhammad Ryanda Nugraha M with the. IF184401_DAA(F)_MID_NRP_Name.

Send 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 information

CHAPTER 5 IMPLEMENTATION AND TESTING

CHAPTER 5 IMPLEMENTATION AND TESTING CHAPTER 5 IMPLEMENTATION AND TESTING 5.1 Implementation This program use hash table data structure that will devide the category of based on jamsostek category. There is 4 category so the index for the

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

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

NOTES: Procedures (module 15)

NOTES: Procedures (module 15) Computer Science 110 NAME: NOTES: Procedures (module 15) Introduction to Procedures When you use a top-down, structured program design, you take a problem, analyze it to determine what the outcome should

More information

[PDF] PHP MYSQL SCHOOL MANAGEMENT SYSTEM

[PDF] PHP MYSQL SCHOOL MANAGEMENT SYSTEM 26 December, 2017 [PDF] PHP MYSQL SCHOOL MANAGEMENT SYSTEM Document Filetype: PDF 168.42 KB 0 [PDF] PHP MYSQL SCHOOL MANAGEMENT SYSTEM A Library Management System with PHP and MySQL ###Purpose of the Project

More information

MANAGE COURSE RESOURCES LABEL TEXT PAGE URL BOOK FILE FOLDER IMS CONTENT PACKAGE

MANAGE COURSE RESOURCES LABEL TEXT PAGE URL BOOK FILE FOLDER IMS CONTENT PACKAGE MANAGE COURSE RESOURCES LABEL TEXT PAGE URL BOOK FILE FOLDER IMS CONTENT PACKAGE Edit summary Edit tajuk Ke kanan Ke atas/bawah NOTA: Klik untuk sembunyikan isi kandungan. Klik untuk padam/menghapus isi

More information

CS130/230 Lecture 12 Advanced Forms and Visual Basic for Applications

CS130/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 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

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

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

FIRST 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 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 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

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

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

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

TEKNOLOGI, GADJET & KEIBUBAPAAN

TEKNOLOGI, GADJET & KEIBUBAPAAN TEKNOLOGI, GADJET & KEIBUBAPAAN Kandungan YouTube Google Chrome Android Device Manager Google Keep Call recorder KeePassDroid K9 protection TeamViewer Zulkifli Alang Mahat A. YouTube 1. Klik apps youtube

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

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

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

'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("8b a5-46bb-a6a9-87b4949d1f4c")>

'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 information

REGISTRATION GUIDE MCIS CUSTOMER PORTAL. Page 1

REGISTRATION 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 information

PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS

PANDUAN 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 information

A-1 LISTING PROGRAM. Halaman Koneksi. Universitas Sumatera Utara

A-1 LISTING PROGRAM. Halaman Koneksi. Universitas Sumatera Utara A-1 LISTING PROGRAM Halaman Koneksi Imports System.Data.OleDb Imports System.Data.OleDb.OleDbCommand Module koneksi Public con As OleDbConnection Public cmd As OleDbCommand Public dtr As OleDbDataReader

More information

Daftar Pustaka.

Daftar Pustaka. Daftar Pustaka Dennis, Alan. (2012). Systems Analysis and Design with UML 2.0. Ian Sommerville. (2011). Waterfall Model. Solichin, A. (2005). Pemrograman Web dengan PHP dan MySQL. Retrieved from http://www.informatika.unsyiah.ac.id/arie/pbw/pemrograman_web_dengan_php_mysq

More information

Definition, Investigation and Analysis

Definition, 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

Propose a mathematical formula to verify the authenticity of any product of the integers using a scale (9) and verified using computer

Propose a mathematical formula to verify the authenticity of any product of the integers using a scale (9) and verified using computer (9) Propose a mathematical formula to verify the authenticity of any product of the integers using a scale (9) and verified using computer. (9). Abstract This research aims to propose a mathematical formula

More information

ENHANCING TIME-STAMPING TECHNIQUE BY IMPLEMENTING MEDIA ACCESS CONTROL ADDRESS PACU PUTRA SUARLI

ENHANCING TIME-STAMPING TECHNIQUE BY IMPLEMENTING MEDIA ACCESS CONTROL ADDRESS PACU PUTRA SUARLI ENHANCING TIME-STAMPING TECHNIQUE BY IMPLEMENTING MEDIA ACCESS CONTROL ADDRESS PACU PUTRA SUARLI A project report submitted in partial fulfillment of the requirements for the award of the degree of Master

More information

NEAR EAST UNIVERSIYT FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEM

NEAR EAST UNIVERSIYT FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEM NEAR EAST UNIVERSIYT FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEM 2004/2005 SPRING TERM CIS 200 (Graduation Project) Pharmacy Inf ormat1on System,, Submitted

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM LAMPIRAN A : LISTING PROGRAM 1. Form Utama (Cover) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text;

More information

TUITION CENTRE MANAGEMENT SYSTEM (TCMS) ZARIFAH BINTI MOHD PAHMI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

TUITION CENTRE MANAGEMENT SYSTEM (TCMS) ZARIFAH BINTI MOHD PAHMI UNIVERSITI TEKNIKAL MALAYSIA MELAKA TUITION CENTRE MANAGEMENT SYSTEM (TCMS) ZARIFAH BINTI MOHD PAHMI UNIVERSITI TEKNIKAL MALAYSIA MELAKA TUITION CENTRE MANAGEMENT SYSTEM (TCMS) ZARIFAH BINTI MOHD PAHMI This report is submitted in partial

More information

JABATAN KIMIA Kategori Arahan Kerja

JABATAN 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 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

Using the OPC Automation Wrapper

Using the OPC Automation Wrapper Page 1 1. Introduction... 3 1.1. Author s Note: The purpose of this document...3 1.2 Who should read this document?...3 1.3 How should this document be used?...3 2. Introduction to the OPC Automation Wrapper...

More information

Universitas Sumatera Utara

Universitas Sumatera Utara Option Explicit DefLng A-Z '--------------------------------------------------------------------------------------------- #Const Test = False '---------------------------------------------------------------------------------------------

More information

PANDUAN 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) 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 information

Form Properties Window

Form Properties Window C# Tutorial Create a Save The Eggs Item Drop Game in Visual Studio Start Visual Studio, Start a new project. Under the C# language, choose Windows Form Application. Name the project savetheeggs and click

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

PANDUAN 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) 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 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

LAMPIRAN A: LIST PROGRAM

LAMPIRAN A: LIST PROGRAM LAMPIRAN A: LIST PROGRAM Form Login unit ULogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, IBQuery, IBDatabase, IBCustomDataSet, IBTable,

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

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

CLOUD COMPUTING ADOPTION IN BANKING SYSTEM (UTM) IN TERMS OF CUSTOMERS PERSPECTIVES SHAHLA ASADI

CLOUD COMPUTING ADOPTION IN BANKING SYSTEM (UTM) IN TERMS OF CUSTOMERS PERSPECTIVES SHAHLA ASADI CLOUD COMPUTING ADOPTION IN BANKING SYSTEM (UTM) IN TERMS OF CUSTOMERS PERSPECTIVES SHAHLA ASADI A dissertation submitted in partial fulfillment of the requirements for the award of the degree of Master

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

COMBINING TABLES. Akademi Audit Negara. CAATs ASAS ACL / 1

COMBINING 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 information

R.O.S Annual Return Submission New Procedure

R.O.S Annual Return Submission New Procedure R.O.S Annual Return Submission New Procedure (As updated on August 2016) Under the Societies Act 1966, Section 14, each company is required to submit an Annual Return to the Registry of Society in Malaysia

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

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA Langkah-langkah penggunaan Software Algoritma Genetika Job Shop : 1. Buka program Algoritma Genetika Job Shop 2. Masukkan data-data yang dibutuhkan

More information

ISU DAN CABARAN PELAKSANAAN SISTEM PENGURUSAN KESELAMATAN MAKLUMAT (ISMS) 15 Jun 2016 Dewan Taklimat Serdang

ISU DAN CABARAN PELAKSANAAN SISTEM PENGURUSAN KESELAMATAN MAKLUMAT (ISMS) 15 Jun 2016 Dewan Taklimat Serdang ISU DAN CABARAN PELAKSANAAN SISTEM PENGURUSAN KESELAMATAN MAKLUMAT (ISMS) 15 Jun 2016 Dewan Taklimat Serdang 1 TARIKH AUDIT Audit Dalaman Sistem Pengurusan Keselamatan Maklumat (ISMS) Universiti Putra

More information

Modul Latihan: Pembangunan Applikasi Pangkalan Data dan JSP Bahagian 1

Modul Latihan: Pembangunan Applikasi Pangkalan Data dan JSP Bahagian 1 Modul Latihan: Pembangunan Applikasi Pangkalan Data dan JSP Bahagian 1 Kursus ini dikendalikan oleh: Dr Fatimah Sidi Jabatan Sains Komputer Fakulti Sains Komputer dan Teknologi Maklumat Kandungan Modul

More information

UNIVERSITI SAINS MALAYSIA. CST332 Internet Protocols. Architecture & Routing [Protokol, Seni Bina & Penghalaan Internet]

UNIVERSITI 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 information