LAMPIRAN A LISTING PROGRAM. Universitas Sumatera Utara

Size: px
Start display at page:

Download "LAMPIRAN A LISTING PROGRAM. Universitas Sumatera Utara"

Transcription

1 LAMPIRAN A LISTING PROGRAM

2 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 Dawai_Click() Form3.Show Private Sub Exit_Click() End Private Sub Form_Load() T = Space(500) + " SISTEM INFORMASI MANAJEMEN PEMBAYARAN IURAN KOMITE SEKOLAH MAN 2 MODEL MEDAN " Private Sub iuran_click() Form5.Show Private Sub Kelas_Click() Form5.Show Private Sub Kowai_Click() Form5.Show Private Sub Pembayaran_Click() Form4.Show

3 Private Sub Timer1_Timer() i = i + 1 If i = Len(T) + 1 Then i = 1 Me.Caption = Right(T, i) FORM MENU SISWA Private Sub CmdClose_Click() Unload Me Private Sub Cmdtambah_Click() Frame1.Enabled = True CmdHapus.Enabled = False CmdPerbaiki.Enabled = False Me.CmdTambah.Enabled = False Me.CmdSimpan.Enabled = True Me.CmdBatal.Enabled = True Frame2.Enabled = False DataGrid.Enabled = False Call CleanControl Me.NIS.SetFocus AddFlag = True Private Sub CmdBatal_Click() Me.NIS.Enabled = True Me.CmdTambah.Enabled = True Me.CmdBatal.Enabled = False Me.CmdSimpan.Enabled = False Me.CmdPerbaiki.Enabled = False Me.CmdSimpan.Enabled = False Me.CmdHapus.Enabled = False lv1.enabled = True Call CleanControl Frame1.Enabled = False Frame2.Enabled = True Me.CmdTambah.SetFocus Private Sub CmdHapus_Click() Call OpenTable("SELECT * FROM [Siswa] WHERE NIS='" & Me.NIS.Text & "'", rssiswa) With rssiswa reply = MsgBox("Data Akan Dihapus?", vbquestion + vbyesno, "Konfirmasi")

4 & "'" If reply = vbyes Then SQLHapus = "DELETE FROM Siswa WHERE NIS='" & Me.NIS.Text Conn.Execute SQLHapus Call LoadDataToListView("SELECT * FROM [Siswa]", wlnsiswa, lv1, 7) CmdBatal_Click MsgBox "Data Dihapus!", vbinformation, "Hapus Data" Private Sub cmdrefresh_click() Call LoadDataToListView("SELECT * FROM [Siswa]", rssiswa, lv1, 7) Me.txtSearch.Text = "" Private Sub CmdSimpan_Click() If AddFlag Then If Me.NIS.Text <> "" And _ Me.Nm_Siswa.Text <> "" And _ Me.Telp.Text <> "" And _ Me.ThnAjrn1.ListIndex <> -1 And _ Me.Tpt_Lhr.Text <> "" Then cnis = Len(Me.NIS.Text) If cnis <> 6 Then MsgBox "NIS Harus 6 Karakter!", vbexclamation, "Peringatan" Me.NIS.SetFocus Call OpenTable("SELECT * FROM [Siswa] WHERE NIS='" & Me.NIS.Text & "'", rssiswa) With rssiswa PesanSudahAda frmsiswa Me.NIS.SetFocus SendKeys "{home}+{end}" Call Simpan Frame3.Visible = True Timer1.Enabled = True CmdBatal_Click

5 Call LoadDataToListView("SELECT * FROM [Siswa]", wlnsiswa, DataGrid1, 7) PesanKosong frmsiswa Me.NIS.SetFocus If EditFlag Then If Me.Nm_Siswa.Text <> "" And _ Me.Telp.Text <> "" And _ Me.ThnAjrn1.ListIndex <> -1 And _ Me.Tpt_Lhr.Text <> "" Then Call UpdateData cthnajarn = Me.ThnAjrn1.Text & "/" & Me.ThnAjrn2.Text Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'", rsrs) With rsrs If.EOF Then cket = "Belum Lunas" SQlSimpan = "INSERT INTO TabelBntu VALUES('" & Me.NIS.Text & "'," & _ "'" & cthnajarn & "' );" Conn.Execute (SQlSimpan) 7) CmdBatal_Click Call LoadDataToListView("SELECT * FROM [Siswa]", rssiswa, DataGrid1, Frame3.Visible = True

6 Timer1.Enabled = True PesanKosong frmsiswa Sub UpdateData() cthnajarn = Me.ThnAjrn1.Text & "/" & Me.ThnAjrn2.Text SQLPerbaiki = "UPDATE Siswa SET Nm_Siswa ='" & Me.Nm_Siswa.Text & "'," & _ "Alamt='" & Me.Alamt.Text & "'," & _ "Telp='" & Me.Telp.Text & "'," & _ "Tpt_Lhr='" & Me.Tpt_Lhr.Text & "'," & _ "Tgl_Lhr='" & Me.Tgl_Lhr.Value & "'," & _ "Kelas='" & Me.Kelas.Text & "'," & _ "ThnAjrn='" & cthnajarn & "'" & _ "WHERE NIS='" & Me.NIS.Text & "'" Conn.Execute SQLPerbaiki Private Sub CmdPerbaiki_Click() Me.NIS.Enabled = False Me.CmdPerbaiki.Enabled = False Me.CmdSimpan.Enabled = True Me.CmdBatal.Enabled = True Me.CmdHapus.Enabled = False CmdTambah.Enabled = False CmdTambah.Enabled = False Frame1.Enabled = True Frame2.Enabled = False DataGrid1.Enabled = False Me.Nm_Siswa.SetFocus SendKeys "{Home}+{End}" EditFlag = True Private Sub Form_Activate() CmdTambah.SetFocus Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 27 Then

7 Unload Me If KeyAscii = 13 Then SendKeys "{Tab}" Private Sub Form_Load() Call LoadDataToListView("SELECT * FROM [Siswa]", rssiswa, lv1, 7) With Me.Kelas.AddItem "X".AddItem "IX".AddItem "XII" For I = 1990 To 2010 Me.ThnAjrn1.AddItem I Next I EditFlag = False AddFlag = False Private Sub CleanControl() For Each txt In Me.Controls If TypeOf txt Is TextBox Then txt.text = "" If TypeOf txt Is ComboBox Then txt.listindex = -1 Next Private Sub Tampilkan() ' On Error Resume Next With rssiswa Me.NIS.Text =.Fields(0) Me.Nm_Siswa.Text =.Fields(1) Me.Alamt.Text =.Fields(2) Me.Telp.Text =.Fields(3) Me.Tpt_Lhr.Text =.Fields(4) Me.Tgl_Lhr.Value =.Fields(5) Me.Kelas.Text =.Fields(6) Me.ThnAjrn1.Text = Left(.Fields(7), 4)

8 Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As Single) Private Sub NIS_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then cnis = Len(Me.NIS.Text) If cnis <> 6 Then MsgBox "NIS Harus 6 Karakter!", vbexclamation, "Peringatan" Me.NIS.SetFocus SendKeys "{Home}+{End}" Call OpenTable("SELECT * FROM [Siswa] WHERE NIS='" & Me.NIS.Text & "'", rssiswa) With rssiswa PesanSudahAda frmsiswa Me.NIS.SetFocus SendKeys "{home}+{end}" Private Sub lv1_click() If lv1.listitems.count <> 0 Then Call OpenTable("SELECT * FROM [Siswa] WHERE NIS='" & lv1.listitems.item(datagrid1.selecteditem.index).text & "'", rssiswa) With rssiswa Call Tampilkan Me.CmdHapus.Enabled = True Me.CmdPerbaiki.Enabled = True Me.txtSearch.Text = "" Private Sub Telp_KeyPress(KeyAscii As Integer) IsiDataText3 If InStr(Isitext, Chr(KeyAscii)) = 0 And KeyAscii <> vbkeyback And KeyAscii <> vbkeydelete And KeyAscii <> vbkeyspace Then KeyAscii = 0

9 Private Sub ThnAjrn1_Click() Me.ThnAjrn2.Text = Val(Me.ThnAjrn1.Text) + 1 Frame3.Visible = False Bar1.Value = 0 PesanSimpan frmsiswa Private Sub Nm_Siswa_KeyPress(KeyAscii As Integer) IsiDataText1 If InStr(Isitext, Chr(KeyAscii)) = 0 And KeyAscii <> vbkeyback And KeyAscii <> vbkeydelete And KeyAscii <> vbkeyspace Then KeyAscii = 0 Private Sub txtsearch_change() If Me.lv1.ListItems.Count <> 0 Then Call LoadDataToListView("SELECT * FROM [Siswa] WHERE [NIS] LIKE'" & Me.txtSearch.Text & "%'", rssiswa, lv1, 3) Me.txtSearch.Text = "" Msg = MsgBox("Data Kosong!", vbinformation, "Cari data") Call LoadDataToListView("SELECT * FROM [Siswa] WHERE [NIS] LIKE'" & Me.txtSearch.Text & "%'", rssiswa, lv1, 3) Me.CmdTambah.SetFocus Private Sub Simpan() cket = "Belum Lunas" cthnajarn = Me.ThnAjrn1.Text & "/" & Me.ThnAjrn2.Text SQlSimpan = "INSERT INTO Siswa VALUES('" & Me.NIS.Text & "'," & _ "'" & Me.Nm_Siswa.Text & "'," & _ "'" & Me.Alamt.Text & "'," & _ "'" & Me.Telp.Text & "'," & _ "'" & Me.Tpt_Lhr.Text & "'," & _ "'" & Me.Tgl_Lhr.Value & "'," & _ "'" & Me.Kelas.Text & "'," & _ "'" & cthnajarn & "' );"

10 Conn.Execute (SQlSimpan) SQlSimpan = "INSERT INTO TabelBntu VALUES('" & Me.NIS.Text & "'," & _ "'" & cthnajarn & "' );" Conn.Execute (SQlSimpan) Form Menu Pegawai Private Sub CmdKeluar_Click() Unload Me Private Sub Cmdtambah_Click() Frame1.Enabled = True CmdHapus.Enabled = False CmdPerbaiki.Enabled = False Me.CmdTambah.Enabled = False Me.CmdSimpan.Enabled = True Me.CmdBatal.Enabled = True Frame2.Enabled = False lv1.enabled = False Call CleanControl Me.NIP.SetFocus Private Sub CmdBatal_Click() Me.NIP.Enabled = True Me.CmdTambah.Enabled = True Me.CmdBatal.Enabled = False Me.CmdSimpan.Enabled = False Me.CmdPerbaiki.Enabled = False Me.CmdSimpan.Enabled = False

11 Me.CmdHapus.Enabled = False lv1.enabled = True Call CleanControl Frame1.Enabled = False Frame2.Enabled = True Me.CmdTambah.SetFocus AddFlag = False EditFlag = False Private Sub CmdHapus_Click() Call OpenTable("SELECT * FROM Pegawai WHERE NIP='" & Me.NIP.Text & "'", wlnpegawai) With rspegawai reply = MsgBox("Data Akan Dihapus?", vbquestion + vbyesno, "Konfirmasi") If reply = vbyes Then SQLHapus = "DELETE FROM Pegawai WHERE NIP='" & Me.NIP.Text & "'" Conn.Execute SQLHapus Call LoadDataToListView("SELECT * FROM Pegawai", wlnpegawai, lv1, 3) CmdBatal_Click MsgBox "Data Dihapus!", vbinformation, "Hapus Data" Private Sub cmdrefresh_click() Call LoadDataToListView("SELECT * FROM Pegawai", wlnpegawai, lv1, 1) Me.txtSearch.Text = "" Private Sub CmdSimpan_Click() If AddFlag Then If Me.NIP.Text <> "" And _ Me.Nm_Peg.Text <> "" And _ Me.Almt.Text <> "" Then cnip = Len(Me.NIP.Text) If cnip <> 9 Then MsgBox "NIP Harus 9 Karakter!", vbexclamation, "Peringatan" Me.NIP.SetFocus

12 Call OpenTable("SELECT * FROM Pegawai WHERE NIP='" & Me.NIP.Text & "'", rspegawai) With rspegawai PesanSudahAda frmpegawai Me.NIP.SetFocus SendKeys "{home}+{end}" Call Simpan Frame3.Visible = True Timer1.Enabled = True CmdBatal_Click Call LoadDataToListView("SELECT * FROM Pegawai", rspegawai, lv1, 3) PesanKosong frmpegawai Me.NIP.SetFocus If EditFlag Then If Me.Nm_Peg.Text <> "" And _ Me.Almt.Text <> "" Then Call UpdateData CmdBatal_Click Call LoadDataToListView("SELECT * FROM Pegawai", rspegawai, lv1, 3) Frame3.Visible = True Timer1.Enabled = True PesanKosong frmpegawai Sub UpdateData() SQLPerbaiki = "UPDATE Pegawai SET Nm_Peg ='" & Me.Nm_Peg.Text & "'," & _ "Almt ='" & Me.Almt.Text & "'," & _ "Telp ='" & Me.Telp.Text & "'" & _ "WHERE NIP='" & Me.NIP.Text & "'" Conn.Execute SQLPerbaiki

13 Private Sub CmdPerbaiki_Click() Me.NIP.Enabled = False Me.CmdPerbaiki.Enabled = False Me.CmdSimpan.Enabled = True Me.CmdBatal.Enabled = True Me.CmdHapus.Enabled = False CmdTambah.Enabled = False CmdTambah.Enabled = False Frame1.Enabled = True Frame2.Enabled = False lv1.enabled = False Me.Nm_Peg.SetFocus SendKeys "{Home}+{End}" EditFlag = True Private Sub Form_Activate() CmdTambah.SetFocus Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 27 Then Unload Me If KeyAscii = 13 Then SendKeys "{Tab}" Private Sub Form_Load() Call LoadDataToListView("SELECT * FROM Pegawai", rspegawai, lv1, 3) EditFlag = False AddFlag = False Me.Top = 200 Me.Left = 3300 Private Sub CleanControl() For Each txt In Me.Controls If TypeOf txt Is TextBox Then txt.text = "" If TypeOf txt Is ComboBox Then txt.listindex = -1 Next

14 Private Sub Tampilkan() ' On Error Resume Next With rspegawai Me.NIP.Text =.Fields(0) Me.Nm_Peg.Text =.Fields(1) Me.Almt.Text =.Fields(2) Me.Telp.Text =.Fields(3) Private Sub NIP_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then cnip = Len(Me.NIP.Text) If cnip <> 7 Then MsgBox "NIP Harus 7 Karakter!", vbexclamation, "Peringatan" Me.NIP.SetFocus SendKeys "{Home}+{End}" Call OpenTable("SELECT * FROM Pegawai WHERE NIP='" & Me.NIP.Text & "'", rspegawai) With rspegawai PesanSudahAda frmpegawai Me.NIP.SetFocus SendKeys "{home}+{end}" Private Sub DataGrid1_Click() If lv1.listitems.count <> 0 Then Call OpenTable("SELECT * FROM Pegawai WHERE NIP='" & lv1.listitems.item(lv1.selecteditem.index).text & "'", rspegawai) With rspegawai Call Tampilkan Me.CmdHapus.Enabled = True Me.CmdPerbaiki.Enabled = True

15 Me.txtSearch.Text = "" Private Sub Nm_Peg_KeyPress(KeyAscii As Integer) IsiDataText1 If InStr(Isitext, Chr(KeyAscii)) = 0 And KeyAscii <> vbkeyback And KeyAscii <> vbkeydelete And KeyAscii <> vbkeyspace Then KeyAscii = 0 Private Sub Telp_KeyPress(KeyAscii As Integer) IsiDataText3 If InStr(Isitext, Chr(KeyAscii)) = 0 And KeyAscii <> vbkeyback And KeyAscii <> vbkeydelete And KeyAscii <> vbkeyspace Then KeyAscii = 0 Frame3.Visible = False Bar1.Value = 0 PesanSimpan frmpegawai Private Sub txtsearch_change() If Me.lv1.ListItems.Count <> 0 Then Call LoadDataToListView("SELECT * FROM Pegawai WHERE NIP LIKE'" & Me.txtSearch.Text & "%'", rspegawai, lv1, 3) Me.txtSearch.Text = "" Msg = MsgBox("Data Kosong!", vbinformation, "Cari data") Call LoadDataToListView("SELECT * FROM Pegawai WHERE NIP LIKE'" & Me.txtSearch.Text & "%'", rspegawai, lv1, 3) Me.CmdTambah.SetFocus Private Sub Simpan() SQlSimpan = "INSERT INTO Pegawai VALUES('" & Me.NIP.Text & "'," & _ "'" & Me.Nm_Peg.Text & "'," & _ "'" & Me.Almt.Text & "'," & _ "'" & Me.Telp.Text & "');"

16 Conn.Execute (SQlSimpan) Form Menu Pembayaran IK Private Sub Cmdtambah_Click() Frame1.Enabled = True 'CmdHapus.Enabled = False 'CmdPerbaiki.Enabled = False Me.CmdTambah.Enabled = False Me.CmdSimpan.Enabled = True Me.CmdBatal.Enabled = True Frame2.Enabled = False DataGrid1.Enabled = False Call CleanControls Me.NIS.SetFocus Private Sub CmdBatal_Click() 'Me.Kd_Pkt.Enabled = True Me.CmdTambah.Enabled = True Me.CmdBatal.Enabled = False Me.CmdSimpan.Enabled = False 'Me.CmdPerbaiki.Enabled = False 'Me.CmdHapus.Enabled = False lv1.enabled = True Call CleanControls Frame1.Enabled = False Frame2.Enabled = True Me.CmdTambah.SetFocus Private Sub CmdKeluar_Click() Unload Me Private Sub cmdrefresh_click() Call LoadDataToListView("SELECT * FROM [QueryBayar]", rsquerybayar, lv1, 15) Me.txtSearch.Text = "" Private Sub CmdSimpan_Click() If AddFlag Then

17 If Me.NIS.Text <> "" And _ Me.Spp.Text <> "0" Then cthnajarn = Me.ThnAjrn2.Text Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'", rsrs) With rsrs Select Case Me.Bulan Case Is = "Januari" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Januari='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Januari ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "Februari" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Februari='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Februari ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki

18 Case Is = "Maret" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Maret='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Maret ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "April" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND April='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET April ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "Mei" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas"

19 Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Mei='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Mei ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "Juni" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Juni='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Juni ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "Juli" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Juli='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & ""

20 Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Juli ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "Agustus" cthnajarn = Me.ThnAjrn2.Text clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Agustus='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Agustus ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "September" clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND September='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET September ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki

21 Case Is = "Oktober" clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Oktober='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Oktober ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "November" clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND November='" & clunas & "'", rsrs) With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET November ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki Case Is = "Desember" clunas = "Lunas" Call OpenTable("SELECT * FROM [TabelBntu] WHERE NIS='" & Me.NIS.Text & "' AND ThnAjarn='" & cthnajarn & "'AND Desember='" & clunas & "'", rsrs)

22 With rsrs MsgBox "Sudah Lunas untuk bulan" & " " & Me.Bulan.Text & "" Me.Bulan.SetFocus SQLPerbaiki = "UPDATE [TabelBntu] SET Desember ='" & clunas & "' WHERE NIS='" & Me.NIS.Text & "'AND ThnAjarn='" & cthnajarn & "'" Conn.Execute SQLPerbaiki End Select Call Simpan Frame3.Visible = True Timer1.Enabled = True CmdBatal_Click Call LoadDataToListView("SELECT * FROM [QueryBayar]", rsquerybayar, lv1, 15) Call SimpanTblBantu CmdSimpan_Click Frame3.Visible = True Timer1.Enabled = True CmdBatal_Click Call LoadDataToListView("SELECT * FROM [QueryBayar]", rsquerybayar, lv1, 15) PesanKosong frmbayariks Me.NIS.SetFocus Private Sub Form_Activate() CmdTambah.SetFocus

23 Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 27 Then Unload Me If KeyAscii = 13 Then SendKeys "{Tab}" Private Sub Form_Load() Call LoadNISToCombo("SELECT*FROM [Siswa]", rssiswa, Me.NIS) Call LoadNipToCombo("SELECT*FROM [Pegawai]", rspegawai, Me.NIP) Call LoadDataToListView("SELECT * FROM [QueryBayar]", rsquerybayar, lv1, 15) Tgl_Byr.Value = Date With Me.Bulan.AddItem "Januari".AddItem "Februari".AddItem "Maret".AddItem "April".AddItem "Mei".AddItem "Juni".AddItem "Juli".AddItem "Agustus".AddItem "September".AddItem "Oktober".AddItem "November".AddItem "Desember" AddFlag = False Private Sub CleanControls() For Each txt In Me.Controls If TypeOf txt Is TextBox Then txt.text = "" If TypeOf txt Is ComboBox Then txt.listindex = -1 Next Private Sub lv1_beforelabeledit(cancel As Integer) Private Sub NIP_Click() Call OpenTable("SELECT * FROM Pegawai WHERE NIP='" & Me.NIP.Text & "'", rspegawai)

24 With rspegawai Me.Nm_Peg.Text =.Fields(1) Private Sub Kelas_Change() Select Case Me.Kelas.Text Case Is = "I" Me.Spp.Text = Case Is = "II" Me.Spp.Text = Case Is = "III" Me.Spp.Text = End Select Private Sub NIS_Click() Call OpenTable("SELECT * FROM [Siswa] WHERE Nis='" & Me.NIS.Text & "'", rssiswa) With rssiswa Me.Nama_Siswa.Text =.Fields(1) Me.Kelas.Text =.Fields(6) Me.ThnAjrn2.Text =.Fields(7) Private Sub Spp_KeyPress(KeyAscii As Integer) IsiDataText2 If InStr(Isitext, Chr(KeyAscii)) = 0 And KeyAscii <> vbkeyback And KeyAscii <> vbkeydelete And KeyAscii <> vbkeyspace Then KeyAscii = 0 Private Sub txtsearch_change() If Me.lv1.ListItems.Count <> 0 Then Call LoadDataToListView("SELECT * FROM [QueryBayar] WHERE [NIS] LIKE'" & Me.txtSearch.Text & "%'", rsquerybayar, lv1, 6) Me.txtSearch.Text = "" Msg = MsgBox("Data Kosong!", vbinformation, "Cari data")

25 Call LoadDataToListView("SELECT * FROM [QueryBayar]", rsquerybayar, lv1, 15) Me.CmdTambah.SetFocus Private Sub Simpan() cthnajarn = Me.ThnAjrn2.Text SQlSimpan = "INSERT INTO [Pembayaran] VALUES('" & Me.NIS.Text & "'," & _ "'" & Me.Tgl_Byr.Value & "'," & _ "'" & Me.Bulan.Text & "'," & _ "'" & Me.NIP.Text & "'," & _ "'" & Me.Spp.Text & "');" Conn.Execute SQlSimpan Private Sub SimpanTblBantu() SQlSimpan = "INSERT INTO [TabelBntu] VALUES('" & Me.NIS.Text & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & "-" & "'," & _ "'" & ThnAjrn2 & "');" Conn.Execute SQlSimpan Private Sub Tampilkan() On Error Resume Next With rsquerybayar Me.No_Kwi.Text =.Fields(0) Me.Tgl_Byr.Value =.Fields(1) Me.NIS.Text =.Fields(2) Me.Kd_Pkt.Text =.Fields(4)

26 Me.Jlh_Byr.Text =.Fields(8) Me.Ket.Text =.Fields(9) Form Menu Cetak Laporan Private Sub cbokriterialap_click() Select Case Me.cboKriteriaLap.ListIndex Case Is = 0 ' Me.Ket.ListIndex = -1 Me.ThnAjrn1.Enabled = True Me.ThnAjrn1.ListIndex = -1 Me.NIP.Enabled = False Me.ThnAjrn2.Text = "" Me.Kelas.Text = "" Me.Cetak.SetFocus Case Is = 1 ' Me.Ket.ListIndex = -1 Me.NIP.Enabled = False Me.ThnAjrn1.Enabled = False Me.ThnAjrn1.ListIndex = -1 Me.ThnAjrn2.Text = "" Me.Kelas.Enabled = False ' Me.Kelas.Text = -1 Me.Cetak.SetFocus Case Is = 2 Me.ThnAjrn1.Enabled = True Me.Kelas.Enabled = False Me.NIP.Enabled = False 'Me.ThnAjrn1.ListIndex = -1 'Me.ThnAjrn2.Text = "" ' Me.Kelas.Text = "" Me.Cetak.SetFocus Case Is = 3 Me.ThnAjrn1.Enabled = True Me.Kelas.Enabled = False Me.NIP.Enabled = True 'Me.Ket.ListIndex = -1 'Me.ThnAjrn1.ListIndex = -1 'Me.ThnAjrn2.Text = "" ' Me.Kelas.Text = -1 Me.Cetak.SetFocus

27 Case Is = 4 'Me.Ket.ListIndex = -1 Me.Kelas.Enabled = True Me.ThnAjrn1.Enabled = True Me.ThnAjrn1.ListIndex = -1 Me.ThnAjrn2.Text = "" Me.NIP.Enabled = False 'Me.Kelas.Text = -1 Me.Cetak.SetFocus End Select Private Sub Cetak_Click() cthnajarn = Me.ThnAjrn1.Text & "/" & Me.ThnAjrn2.Text Dim CketL, CketB CkeB = "Belum Lunas" CketL = "Lunas" If Me.cboKriteriaLap.ListIndex = -1 Then MsgBox "Pilih kriteria cetak laporan!", vbcritical, "Pilih Kriteria Laporan" Me.cboKriteriaLap.SetFocus Select Case Me.cboKriteriaLap.ListIndex Case Is = 0 With CrystalReport1.DataFiles(0) = App.Path & "\Database\KOMITE.Mdb".ReportFileName = "D:\Wulan\Laporan\siswa.rpt".SelectionFormula = "{Siswa.ThnAjrn}= '" & cthnajarn & "'".WindowParentHandle = frmutama.hwnd.retrievedatafiles.windowstate = crptmaximized.action = 2 Case Is = 1 With CrystalReport1.DataFiles(0) = App.Path & "\Database\KOMITE.Mdb".ReportFileName = "D:\Wulan\Laporan\peg.rpt".WindowParentHandle = frmutama.hwnd.retrievedatafiles.windowstate = crptmaximized.action = 2

28 Case Is = 2 With CrystalReport1.DataFiles(0) = App.Path & "\Database\KOMITE.Mdb".ReportFileName = "D:\Wulan\Laporan\byrsppthnajr.rpt".SelectionFormula = "{TabelBntu.ThnAjarn}= '" & cthnajarn & "'".WindowParentHandle = frmutama.hwnd.retrievedatafiles.windowstate = crptmaximized.action = 2 Case Is = 3 With CrystalReport1.DataFiles(0) = App.Path & "\Database\KOMITE.Mdb".ReportFileName = "D:\Wulan\Laporan\sppkdpeg.rpt".SelectionFormula = "{Pembayaran.nip}= '" & NIP.Text & "'and{siswa.thnajrn}= '" & cthnajarn & "'".WindowParentHandle = frmutama.hwnd.retrievedatafiles.windowstate = crptmaximized.action = 2 Case Is = 4 With CrystalReport1.DataFiles(0) = App.Path & "\Database\KOMITE.Mdb".ReportFileName = "D:\Wulan\Laporan\byrspptkls.rpt".SelectionFormula = "{Siswa.Kelas}= '" & Me.Kelas.Text & "'AND{Siswa.ThnAjrn}= '" & cthnajarn & "'".WindowParentHandle = frmutama.hwnd.retrievedatafiles.windowstate = crptmaximized.action = 2 End Select

29 Private Sub cmdclose_click() Unload Me Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 27 Then Unload Me Private Sub Form_Load() Call SetFormCenter(Me) With Me.cboKriteriaLap.AddItem "Laporan Data Siswa/i ".AddItem "Laporan Data Pegawai".AddItem "Laporan Data Pembayaran Iuran Komite [Per Thn.Ajaran]".AddItem "Laporan Data Pembayaran Iuran Komite [Per Thn.Ajaran & Per Pegawai]".AddItem "Laporan Data Pembayaran Iuran Komite [Per Thn.Ajaran & Per Kelas]" Call LoadNipToCombo("SELECT*FROM [Pegawai]", rspegawai, Me.NIP) For I = 1999 To 2010 Me.ThnAjrn1.AddItem I Next I With Me.Kelas.AddItem "I".AddItem "II".AddItem "III" Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = vbrightbutton Then PopupMenu mnuexit Private Sub clrtxt() For Each txt In Me.Controls If TypeOf txt Is TextBox Then

30 txt.text = "" If TypeOf txt Is ComboBox Then txt.listindex = -1 Next Private Sub NIP_Click() Call OpenTable("SELECT * FROM Pegawai WHERE nip='" & Me.NIP.Text & "'", rspegawai) With rspegawai Me.Nm_Peg.Text =.Fields(1) Private Sub ThnAjrn1_Click() Me.ThnAjrn2.Text = Val(Me.ThnAjrn1.Text) + 1

LAMPIRAN LIST PROGRAM

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

More information

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

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

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

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

More information

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

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

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

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

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

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

More information

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

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

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

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

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

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

ต วอย างการสร างฟอร ม เมน การใช งาน ต วอย างการสร างฟอร ม เมน การใช งาน 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

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

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

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

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

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

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

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

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

Excel & Visual Basic for Applications (VBA)

Excel & Visual Basic for Applications (VBA) Class meeting #18 Monday, Oct. 26 th GEEN 1300 Introduction to Engineering Computing Excel & Visual Basic for Applications (VBA) user interfaces o on-sheet buttons o InputBox and MsgBox functions o userforms

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

Visual Basic 6 Lecture 7. The List Box:

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

More information

Programming Concepts and Skills. Arrays continued and Functions

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

More information

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

ADVANCED ALGORITHMS TABLE OF CONTENTS

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

More information

HELP - VB TIPS. ANIMATE AN IMAGE BOX Insert a module. In this module, create a global variable: Global x

HELP - VB TIPS. ANIMATE AN IMAGE BOX Insert a module. In this module, create a global variable: Global x HELP - VB TIPS Load an image to an image box from a certain folder If you use this method, won t work on N:\ To load an image to a image control Image1.Picture = LoadPicture("H:\MyVBfolder\stop.gif") Load

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

TABLE OF CONTENTS ADVANCED VISUAL BASIC

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

More information

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

6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples:

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

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

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

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

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

Programming with visual Basic:

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

More information

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

MgtOp 470 Business Modeling with Spreadsheets Sample Midterm Exam. 1. Spreadsheets are known as the of business analysis.

MgtOp 470 Business Modeling with Spreadsheets Sample Midterm Exam. 1. Spreadsheets are known as the of business analysis. Section 1 Multiple Choice MgtOp 470 Business Modeling with Spreadsheets Sample Midterm Exam 1. Spreadsheets are known as the of business analysis. A. German motor car B. Mexican jumping bean C. Swiss army

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

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

EMPLOYEE PAYROLL SYSTEM

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

More information

PROGRAMMING TECHNIQUES

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

More information

Universitas Sumatera Utara

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

More information

Respond to Data Entry Events

Respond to Data Entry Events Respond to Data Entry Events Callahan Chapter 4 Understanding Form and Control Events Developer s Goal make data entry easy, fast, complete, accurate Many form- and control-level events occur as user works

More information

Visual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB

Visual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB Visual Programming 1. What is Visual Basic? Visual Basic is a powerful application development toolkit developed by John Kemeny and Thomas Kurtz. It is a Microsoft Windows Programming language. Visual

More information

variables programming statements

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

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

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

More information

Chapter 1. Block Diagram. Text .. 1

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

More information

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

NEAR EAST UNIVERSITY FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCE DEPARTMENT OF COMPUTER INFORMATION SYSTEMS

NEAR EAST UNIVERSITY FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCE DEPARTMENT OF COMPUTER INFORMATION SYSTEMS EAR EAST UVERSTY FACULTY OF ECOOMCS AD ADMSTRATVE SCECE DEPARTMET OF COMPUTER FORMATO SYSTEMS 2002/2003 SUMMER TERM CS 400 (Graduation Project) CE,MET CO. PROCESS SYSTEM Submitted To Dr, Yalcm Akcah Miss,adire

More information

Mr.Khaled Anwar ( )

Mr.Khaled Anwar ( ) The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program

More information

ONLINE RAILWAY RESERVATION SYSTEM

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

More information

A Back-End Link Checker for Your Access Database

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

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

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

More information

17. Introduction to Visual Basic Programming

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

More information

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

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

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

More information

PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM

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

More information

Imports System.Data.SqlClient. Public Class Phonebook

Imports System.Data.SqlClient. Public Class Phonebook Imports System.Data.SqlClient Public Class Phonebook Dim vbdatabasedataset As New vbdatabasedataset() Dim PhonebookTableAdapter As New vbdatabasedatasettableadapters.phonebooktableadapter() Dim selection

More information

Creating Macros David Giusto, Technical Services Specialist, Synergy Resources

Creating Macros David Giusto, Technical Services Specialist, Synergy Resources Creating Macros David Giusto, Technical Services Specialist, Synergy Resources Session Background Ever want to automate a repetitive function or have the system perform calculations that you may be doing

More information

'... '... '... Developer: William H. White (consultant) '... With: TEKsystems Inc. '... For: AIG. Financial Information Systems

'... '... '... Developer: William H. White (consultant) '... With: TEKsystems Inc.   '... For: AIG. Financial Information Systems ThisWorkbook - 1 Developer: William H. White (consultant) With: TEKsystems Inc. www.teksystems.com For: AIG Financial Information Systems 1 NY Plaza, 15th floor Current contact: william.white@aig.com (212)

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

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

Journal of Physics: Conference Series PAPER OPEN ACCESS. To cite this article: B E Zaiwani et al 2018 J. Phys.: Conf. Ser.

Journal of Physics: Conference Series PAPER OPEN ACCESS. To cite this article: B E Zaiwani et al 2018 J. Phys.: Conf. Ser. Journal of Physics: Conference Series PAPER OPEN ACCESS Improved hybridization of Fuzzy Analytic Hierarchy Process (FAHP) algorithm with Fuzzy Multiple Attribute Decision Making - Simple Additive Weighting

More information

Lab 4 - Input\Output in VB Using A Data File

Lab 4 - Input\Output in VB Using A Data File Lab 4 - Input\Output in VB Using A Data File Introduction You may want to read some data from an input file and write results into another output file. In these cases, it is useful to use a plain text

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

Marketing Opportunities

Marketing Opportunities Email Marketing Opportunities Write the important dates and special events for your organization in the spaces below. You can use these entries to plan out your email marketing for the year. January February

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

Example. Section: PS 709 Examples of Calculations of Reduced Hours of Work Last Revised: February 2017 Last Reviewed: February 2017 Next Review:

Example. Section: PS 709 Examples of Calculations of Reduced Hours of Work Last Revised: February 2017 Last Reviewed: February 2017 Next Review: Following are three examples of calculations for MCP employees (undefined hours of work) and three examples for MCP office employees. Examples use the data from the table below. For your calculations use

More information

Microfocus VBA Add-On for Rumba+ Desktop. Quick Start Guide

Microfocus VBA Add-On for Rumba+ Desktop. Quick Start Guide Microfocus VBA Add-On for Rumba+ Desktop Quick Start Guide Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 1984-2018. All rights

More information

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

More information

How-To Guide. SigIDp (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved.

How-To Guide. SigIDp (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved. How-To Guide SigIDp (With Microsoft Access) Demo Copyright Topaz Systems Inc. All rights reserved. For Topaz Systems, Inc. trademarks and patents, visit www.topazsystems.com/legal. Table of Contents Overview...

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

IFA/QFN VBA Tutorial Notes prepared by Keith Wong

IFA/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 information

DOWNLOAD OR READ : WINDOWS 8 1 FOR DUMMIES PORTABLE EDITION PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : WINDOWS 8 1 FOR DUMMIES PORTABLE EDITION PDF EBOOK EPUB MOBI DOWNLOAD OR READ : WINDOWS 8 1 FOR DUMMIES PORTABLE EDITION PDF EBOOK EPUB MOBI Page 1 Page 2 windows 8 1 for dummies portable edition windows 8 1 for pdf windows 8 1 for dummies portable edition The new

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

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

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

More information

Control Properties. Example: Program to change background color

Control Properties. Example: Program to change background color Control Properties Before writing an event procedure for the control to response to an event, you have to set certain properties for the control to determine its appearance and how will it work with the

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

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

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

More information

Programming Logic and Design Sixth Edition

Programming Logic and Design Sixth Edition Objectives Programming Logic and Design Sixth Edition Chapter 6 Arrays In this chapter, you will learn about: Arrays and how they occupy computer memory Manipulating an array to replace nested decisions

More information

The Control Properties

The Control Properties The Control Properties Figure Before writing an event procedure for the control to response to a user's input, you have to set certain properties for the control to determine its appearance and how it

More information

Fundamentals of Computer Science Laboratory 2 Sequential programs

Fundamentals of Computer Science Laboratory 2 Sequential programs Fundamentals of Computer Science 2010-2011 Laboratory 2 Sequential programs Objetivos: VB Controls: command button (cmd), form (frm, label (lbl), text box (txt) and picture box (pct) VB controls properties:

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

19. VB Project and Menu Design

19. VB Project and Menu Design 19. VB Project and Menu Design 19.1 Working with Projects As you develop an application, you work with a project to manage all the different files that make up the application. A VB project consists of:

More information

Registration of Supplier (ROS) TM Supplier Registration Renewal via SUS Portal (Pembaharuan Pendaftaran Pembekal TM melalui SUS Portal)

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

Lab Manual Visual Basic 6.0

Lab Manual Visual Basic 6.0 Lab Manual Visual Basic 6.0 What is Visual Basic? VISUAL BASIC is a high level programming language evolved from the earlier DOS version called BASIC. BASIC means Beginners' All-purpose Symbolic Instruction

More information

C:\MasterPageWeb\HAPR\docu\HAPR_VB6_version15sept06.rtf 19/10/08. HARP_VB projet en VB6

C:\MasterPageWeb\HAPR\docu\HAPR_VB6_version15sept06.rtf 19/10/08. HARP_VB projet en VB6 HARP_VB projet en VB6 Option Explicit Dim Value As Integer Dim i As Integer Dim il As Long Dim LL, L1S, L250µS, L500µS, L1mS, L2mS, L5mS, L10mS As Single Dim offsetdepart As Long Dim police(256, 8) As

More information

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

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

More information

LAMPIRAN 1 PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN

LAMPIRAN 1 PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN LAMPIRAN 1 ANGKET PENELITIAN PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN Saya mengharapkan kesediaan Saudara untuk mengisi angket dalam rangka penelitian tetang

More information