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

Size: px
Start display at page:

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

Transcription

1 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 = ProgressBar1.Maximum Then Timer1.Stop() Me.Hide() Login_User.Show() Private Sub Awal_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Start() End Class 2. Menu Login Imports System.Data.OleDb Public Class Login_User Dim koneksi As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Koperasi.mdb" Dim connect As OleDbConnection Dim dr As OleDbDataAdapter Dim dt As New DataTable Dim DrN As OleDbDataReader Dim command As OleDbCommand Dim nim As Integer Sub kon() connect = New OleDbConnection(koneksi) Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click command = New OleDbCommand("SELECT * From TableUser WHERE Nama='" & CBUserName.Text & "' and Password='" & txtpassword.text & "'", connect) DrN = command.executereader() If DrN.HasRows Then Menu_Utama.Show() Me.Hide()

2 MsgBox("Berhasil") Private Sub Login_User_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Call isiuser() Sub isiuser() Try command = New OleDbCommand("select Nama from TableUser", connect) DrN = command.executereader While DrN.Read CBUserName.Items.Add(DrN(0)) End While Catch ex As Exception End Try Private Sub txtpassword_textchanged(byval sender As txtpassword.textchanged txtpassword.passwordchar = "*" Private Sub CBUserName_SelectedIndexChanged(ByVal sender As CBUserName.SelectedIndexChanged dr = New OleDbDataAdapter("SELECT * FROM TableUser ", connect) dt.clear() dr.fill(dt) Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Hide() Awal.Show() End Class 3. Menu Utama Imports System.Data.OleDb Public Class Menu_Utama Dim koneksi As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Koperasi.mdb"

3 Dim connect As OleDbConnection Dim dr As OleDbDataAdapter Dim dt As New DataTable Dim DrN As OleDbDataReader Dim command As OleDbCommand Dim nim As Integer Sub AwalPembayaran() txtnabyr.text = "" txtnamabyr.text = "" txtalamatbyr.text = "" txttlbyr.text = "" txttanggallbyr.text = "" txtjkbyr.text = "" txtagamabyr.text = "" txtpekerjaanbyr.text = "" txthpbyr.text = "" 'txtnpinjamanbyr.text = "" CBAngsuranKeByr.Text = "" txtkecamatanbyr.text = "" txtkelurahanbyr.text = "" txtkabupatenbyr.text = "" txttjtbyr.text = "" txttpbyr.text = "" txtiuranbyr.text = "" txtdendabyr.text = "" txttbbyr.text = "" Sub AktifBayar(ByVal x As Boolean) txtnabyr.enabled = x txtnamabyr.enabled = x txtalamatbyr.enabled = x txttlbyr.enabled = x txttanggallbyr.enabled = x txtjkbyr.enabled = x txtagamabyr.enabled = x txtpekerjaanbyr.enabled = x txthpbyr.enabled = x txtkelurahanbyr.enabled = x txtnpinjamanbyr.enabled = x CBAngsuranKeByr.Enabled = x txtkecamatanbyr.enabled = x Sub kon() connect = New OleDbConnection(koneksi) Sub awalanggotabaru() txtnabaru.text = kodeutama("nomoranggota", "TableDaftarAnggota") txtnamabaru.text = "" txtalmtbaru.text = "" txttlbaru.text = "" DTPTlBaru.Value = Now CBJKBaru.Text = "" CBAgamaBaru.Text = "" cbpekerjaanbaru.text = ""

4 txthpbaru.text = "" CBKelurahanBaru.Text = "" CBKecamatanBaru.Text = "" CBKabupatenBaru.Text = "" txtsabaru.text = "" Function kodeutama(byval x As String, ByVal y As String) As String command = New OleDbCommand command.connection = connect command.commandtext = "SELECT max(" & x & ") as Kode From " & y DrN = command.executereader DrN.Read() If DrN.HasRows Then Return Microsoft.VisualBasic.Right("0000" & Val(DrN(0).ToString) + 1, 5) Return "00001" End Function Sub tampilsimpanan() dr = New OleDbDataAdapter("SELECT * FROM TableSimpanan where NomorAnggota='" & txtnasmp.text & "'", connect) dt.rows.clear() dt.columns.clear() dt.clear() dr.fill(dt) DGVSimpanan.DataSource = dt Sub tampildatasimpanannonsaham() dr = New OleDbDataAdapter("SELECT * FROM TableNonSaham ", connect) dt.clear() dt.columns.clear() dr.fill(dt) dgvdatasimpannonsaham.datasource = dt With cbhitunganbunga.items.clear().add("hari").add("bulan").add("tahun") End With Sub tampilpinjaman()

5 dr = New OleDbDataAdapter("SELECT * FROM TablePinjaman", connect) dt.clear() dt.columns.clear() dr.fill(dt) DGVPinjaman.DataSource = dt Sub tampildaftaranggota() dr = New OleDbDataAdapter("SELECT * FROM TableDaftarAnggota", connect) dt.clear() dt.columns.clear() dr.fill(dt) DgvAnggota.DataSource = dt Sub aktifpinjaman(byval x As Boolean) txtnoanggotapjm.enabled = x txtpersenbunga.enabled = x txtpppjm.enabled = x txtjwpjm.enabled = x txtbungapjm.enabled = x txtadminpjm.enabled = x DTPMulaiPjm.Enabled = x DTPSelesaiPjm.Enabled = x txttppjm.enabled = x txtcicilanpjm.enabled = x Sub aktifpinjam1(byval x As Boolean) txtnppjm.enabled = x txtnamapjm.enabled = x TxtAlmPjm.Enabled = x TxtTLPjm.Enabled = x txttanggallpjm.enabled = x txtjkpjm.enabled = x txtagamapjm.enabled = x txtpekerjaanpjm.enabled = x txthppjm.enabled = x txtkelurahanpjm.enabled = x txtkecamatanpjm.enabled = x txtkabupatenpjm.enabled = x Sub awal() txtnppjm.text = "" txtnoanggotapjm.text = "" txtnamapjm.text = "" TxtAlmPjm.Text = "" TxtTLPjm.Text = "" txttanggallpjm.text = "" txtjkpjm.text = "" txtagamapjm.text = "" txtpekerjaanpjm.text = "" txthppjm.text = "" txtkelurahanpjm.text = ""

6 txtkecamatanpjm.text = "" txtkabupatenpjm.text = "" txtpppjm.text = "" txtjwpjm.text = "" txtbungapjm.text = "" txtadminpjm.text = "" DTPMulaiPjm.Value = Now DTPSelesaiPjm.Value = Now txttppjm.text = "" txtcicilanpjm.text = "" txtpersenbunga.text = "" Private Sub DaftarToolStripMenuItem_Click(ByVal sender As DaftarToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = True GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = False GroupBoxTransaksiBungaNonSaham.Visible = False Call tampildaftaranggota() txtnabaru.text = kodeutama("nomoranggota", "TableDaftarAnggota") With cbpekerjaanbaru.items.add("wiraswasta") End With With CBAgamaBaru.Items.Add("Islam") End With With CBJKBaru.Items.Add("Laki-Laki") End With With CBKecamatanBaru.Items.Add("Kecamatan Medan Amplas") End With With CBKelurahanBaru.Items.Add("Kelurahan/Desa Harjosari I") End With With CBKabupatenBaru.Items.Add("Kabupaten Asahan") End With Private Sub Menu_Utama_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load GroupBoxDaftarAnggotaBaru.Location = New Point(12, 49) GroupBoxDaftarAnggotaBaru.Width = Me.Width GroupBoxDaftarAnggotaBaru.Height = Me.Height GroupBoxCariAnggota.Location = New Point(12, 42) GroupBoxCariAnggota.Width = 450 GroupBoxCariAnggota.Height = 200 GroupBoxTransaksiSimpananAnggota.Location = New Point(12,44)

7 GroupBoxTransaksiSimpananAnggota.Width = Me.Width - 20 GroupBoxTransaksiSimpananAnggota.Height = Me.Height GroupBoxTransaksiPinjamanAnggota.Location = New Point(12,42) GroupBoxTransaksiPinjamanAnggota.Width = Me.Width GroupBoxTransaksiPinjamanAnggota.Height = Me.Height ) GroupBoxTransaksiPembayaranAnggota.Location = New Point(12, GroupBoxTransaksiPembayaranAnggota.Width = Me.Width GroupBoxTransaksiPembayaranAnggota.Height = Me.Height GroupBoxTransaksiSimpananNonSaham.Location = New Point(12,36) GroupBoxTransaksiSimpananNonSaham.Width = Me.Width GroupBoxTransaksiSimpananNonSaham.Height = Me.Height GroupBoxNonSaham.Location = New Point(12, 36) GroupBoxNonSaham.Width = Me.Width GroupBoxNonSaham.Height = Me.Height GroupBoxTransaksiBungaNonSaham.Location = New Point(12, 36) GroupBoxTransaksiBungaNonSaham.Width = Me.Width GroupBoxTransaksiBungaNonSaham.Height = Me.Height Private Sub Label17_Click(ByVal sender As System.Object, ByVal eas System.EventArgs) Handles Label17.Click Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSaveBaru.Click command = New OleDbCommand("INSERT INTO TableDaftarAnggota VALUES('" & txtnabaru.text & "', '" & txtnamabaru.text & "', '" & txtalmtbaru.text & "','" & txttlbaru.text & "','" & Format(DTPTlBaru.Value, "MM/dd/yyyy") & "','" & CBJKBaru.Text & "','" & CBAgamaBaru.Text & "','" & cbpekerjaanbaru.text & "', '" & txthpbaru.text & "','" & CBKelurahanBaru.Text & "','" & CBKecamatanBaru.Text & "','" & CBKabupatenBaru.Text & "','" & txtsabaru.text & "','" & Format(Now, "MM/dd/yyyy") & "')", connect) command.executenonquery() ' 'command = New OleDbCommand("INSERT INTO TableSimpanan VALUES('" & Format(Now, "ddmmyyyyhhmmss") & "','" & txtnabaru.text & "','Pokok','" & txtsabaru.text & "')", connect) 'command.executenonquery() ' MsgBox("Berhasil di Simpan") tampildaftaranggota() awalanggotabaru() Sub AktifSimpan(ByVal x As Boolean) txtnasmp.enabled = x txtswsmp.enabled = x txtssrsmp.enabled = x Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSaveSmp.Click

8 If BtnSaveSmp.Text = "New" Then BtnSaveSmp.Text = "Save" AktifSimpan(True) BtnSaveSmp.Image = Image.FromFile(Application.StartupPath & "\icon\save.ico") Else command = New OleDbCommand("INSERT INTO TableSimpanan VALUES('" & Format(Now, "ddmmyyyyhhmmss") & "','" & txtnasmp.text & "','" & txtswsmp.text & "','" & txtssrsmp.text & "')", connect) command.executenonquery() BtnSaveSmp.Text = "New" MsgBox("Berhasil di Simpan") tampilsimpanan() awal() AktifSimpan(False) Call awalsimpanan() BtnSaveSmp.Image = Image.FromFile(Application.StartupPath & "\icon\new.ico") Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSavePjm.Click If BtnSavePjm.Text = "New" Then txtnppjm.text = kodeutama("nomorpinjaman", "TablePinjaman") BtnSavePjm.Text = "Save" aktifpinjaman(true) BtnSavePjm.Image = Image.FromFile(Application.StartupPath & "\icon\save.ico") Else command = New OleDbCommand("INSERT INTO TablePinjaman VALUES('" & txtnppjm.text & "','" & txtnoanggotapjm.text & "','" & txtpppjm.text & "','" & txtjwpjm.text & "','" & txtbungapjm.text & "','" & txtadminpjm.text & "','" & Format(DTPMulaiPjm.Value, "MM/dd/yyyy") & "','" & Format(DTPSelesaiPjm.Value, "MM/dd/yyyy") & "','" & txttppjm.text & "','" & txtcicilanpjm.text & "')", connect) command.executenonquery() MsgBox("Berhasil di Simpan") Call tampilpinjaman() aktifpinjaman(false) aktifpinjam1(false) BtnSavePjm.Text = "New" awal() BtnSavePjm.Image = Image.FromFile(Application.StartupPath & "\icon\new.ico") Sub aktiftekspembayaran(byval x As Boolean) txtnpinjamanbyr.enabled = x txtpersendendabyr.enabled = x Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSaveByr.Click If BtnSaveByr.Text = "New" Then

9 BtnSaveByr.Text = "Save" aktiftekspembayaran(true) txtnpinjamanbyr.focus() BtnSaveByr.Image = Image.FromFile(Application.StartupPath & "\icon\save.ico") Else command = New OleDbCommand("INSERT INTO TablePembayaran VALUES('" & Format(Now, "ddmmyyyyhhmmss") & "','" & txtnabyr.text & "','" & txtnpinjamanbyr.text & "','" & CBAngsuranKeByr.Text & "','" & txtiuranbyr.text & "', '" & txtdendabyr.text & "','" & txttpbyr.text & "')", connect) command.executenonquery() MsgBox("Berhasil di Simpan") txtnabyr.text = "" BtnSaveByr.Text = "New" aktiftekspembayaran(false) AwalPembayaran() txtnpinjamanbyr.text = "" BtnSaveByr.Image = Image.FromFile(Application.StartupPath & "\icon\new.ico") Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonEditCariAnggota.Click command = New OleDbCommand("UPDATE TableDaftarAnggota SET Nomor Anggota = '" & txtnabaru.text & "',Nama = '" & txtnamabaru.text & "',Alamat = '" & txtalmtbaru.text & "',Tempat Lahir = '" & Format(DTPTlBaru.Value, "MM/dd/yyyy") & "',Jenis Kelamin = '" & CBJKBaru.Text & "',Agama = '" & CBAgamaBaru.Text & "',Pekerjaan = '" & cbpekerjaanbaru.text & "', Hp = '" & txthpbaru.text & "' WHERE nim = '" & nim & "')", connect) command.executenonquery() Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) command = New OleDbCommand("DELETE FROM TableSimpanan WHERE NomorAnggota='" + txtnasmp.text + "'", connect) command.executenonquery() MsgBox("Berhasil di Hapus") tampilsimpanan() awal() Private Sub PinjamanAnggotaToolStripMenuItem_Click(ByVal sender As PinjamanAnggotaToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = True

10 GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = False GroupBoxTransaksiBungaNonSaham.Visible = False Call tampilpinjaman() aktifpinjaman(false) aktifpinjam1(false) BtnSavePjm.Text = "New" BtnSavePjm.Image = Image.FromFile(Application.StartupPath & "\icon\new.ico") Private Sub PembayaranAnggotaToolStripMenuItem_Click(ByVal sender As PembayaranAnggotaToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = True GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = False GroupBoxTransaksiBungaNonSaham.Visible = False BtnSaveByr.Text = "New" aktiftekspembayaran(false) BtnSaveByr.Image = Image.FromFile(Application.StartupPath & "\icon\new.ico") Private Sub CariToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) GroupBoxCariAnggota.Visible = True GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False command = New OleDbCommand("DELETE FROM TablePembayaran WHERE NomorAnggota ='" + txtnabyr.text + "'", connect) command.executenonquery() MsgBox("Berhasil di Hapus") Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnExitByr.Click GroupBoxTransaksiPembayaranAnggota.Visible = False Private Sub txtnoanggotapjm_keydown(byval sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtnoanggotapjm.keydown If e.keycode = 13 Then

11 command = New OleDbCommand("select * from TableDaftarAnggota Where NomorAnggota='" & txtnoanggotapjm.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnamapjm.text = DrN.Item(1).ToString TxtAlmPjm.Text = DrN.Item(2).ToString TxtTLPjm.Text = DrN.Item(3).ToString txttanggallpjm.text = DrN.Item(4).ToString txtjkpjm.text = DrN.Item(5).ToString txtagamapjm.text = DrN.Item(6).ToString txtpekerjaanpjm.text = DrN.Item(7).ToString txthppjm.text = DrN.Item(8).ToString txtkelurahanpjm.text = DrN.Item(9).ToString txtkecamatanpjm.text = DrN.Item(1).ToString txtkabupatenpjm.text = DrN.Item(11).ToString txtpppjm.focus() Else MsgBox("Data Belum ada") txtnoanggotapjm.focus() Private Sub DGVPinjaman_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DGVPinjaman.CellClick Dim i As Integer = DGVPinjaman.CurrentRow.Index txtnppjm.text = DGVPinjaman.Item(0, i).value txtnoanggotapjm.text = DGVPinjaman.Item(1, i).value txtpppjm.text = DGVPinjaman.Item(2, i).value txtjwpjm.text = DGVPinjaman.Item(3, i).value txtbungapjm.text = DGVPinjaman.Item(4, i).value txtadminpjm.text = DGVPinjaman.Item(5, i).value DTPMulaiPjm.Value = Format(DGVPinjaman.Item(6, i).value, "MM/dd/yyyy") DTPSelesaiPjm.Value = Format(DGVPinjaman.Item(7, i).value, "MM/dd/yyyy") txttppjm.text = DGVPinjaman.Item(8, i).value txtcicilanpjm.text = DGVPinjaman.Item(9, i).value Private Sub Button15_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCancelPjm.Click Call tampilpinjaman() aktifpinjaman(false) aktifpinjam1(false) BtnSavePjm.Text = "New" awal() Private Sub txtnasmp_keydown(byval sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtnasmp.keydown If e.keycode = 13 Then command = New OleDbCommand("select * from TableDaftarAnggota Where NomorAnggota='" & txtnasmp.text & "'", connect)

12 DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnamasmp.text = DrN.Item(1).ToString txtalamatsmp.text = DrN.Item(2).ToString txttlsmp.text = DrN.Item(3).ToString txttanggallsmp.text = DrN.Item(4).ToString txtjksmp.text = DrN.Item(5).ToString txtagamasmp.text = DrN.Item(6).ToString txtpekerjaansmp.text = DrN.Item(7).ToString txthpsmp.text = DrN.Item(8).ToString txtkelurahansmp.text = DrN.Item(9).ToString txtkecamatansmp.text = DrN.Item(10).ToString txtkabupatensmp.text = DrN.Item(11).ToString txtswsmp.focus() Else MsgBox("Data Belum ada") txtnasmp.focus() Private Sub txtnasmp_textchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles txtnasmp.textchanged command = New OleDbCommand("select * from TableDaftarAnggota,TableSimpanan Where TableDaftarAnggota.NomorAnggota=TableSimpanan.NomorAnggota and TableDaftarAnggota.NomorAnggota='" & txtnasmp.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnamasmp.text = DrN.Item(1).ToString txtalamatsmp.text = DrN.Item(2).ToString txttlsmp.text = DrN.Item(3).ToString txttanggallsmp.text = DrN.Item(4).ToString txtjksmp.text = DrN.Item(5).ToString txtagamasmp.text = DrN.Item(6).ToString txtpekerjaansmp.text = DrN.Item(7).ToString txthpsmp.text = DrN.Item(8).ToString txtkelurahansmp.text = DrN.Item(9).ToString txtkecamatansmp.text = DrN.Item(10).ToString txtkabupatensmp.text = DrN.Item(11).ToString txtswsmp.text = DrN.Item(16).ToString txtssrsmp.text = DrN.Item(17).ToString txtswsmp.focus() Else 'MsgBox("Data Belum ada") txtnasmp.focus() tampilsimpanan() Private Sub ButtonCancelSimpanan_Click(ByVal sender As BtnCancelSmp.Click

13 Call awalsimpanan() Sub awalsimpanan() txtnasmp.text = "" txtnamasmp.text = "" txtalamatsmp.text = "" txttlsmp.text = "" txttanggallsmp.text = "" txtjksmp.text = "" txtagamasmp.text = "" txtpekerjaansmp.text = "" txthpsmp.text = "" txtkelurahansmp.text = "" txtkecamatansmp.text = "" txtkabupatensmp.text = "" txtswsmp.text = "" txtssrsmp.text = "" Private Sub MenuStrip1_ItemClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles MenuStrip1.ItemClicked Private Sub NonSahamToolStripMenuItem_Click(ByVal sender As NonSahamToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = True GroupBoxTransaksiBungaNonSaham.Visible = False tampilkantransaksisimpanannonsaham() comboboxkode() Private Sub Label92_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label92.Click Private Sub dgvdatasimpannonsaham_cellclick(byval sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgvdatasimpannonsaham.cellclick Try txtkode.text = dgvdatasimpannonsaham.item(0, dgvdatasimpannonsaham.currentrow.index).value txtnama.text = dgvdatasimpannonsaham.item(1, dgvdatasimpannonsaham.currentrow.index).value txtbunga.text = dgvdatasimpannonsaham.item(2, dgvdatasimpannonsaham.currentrow.index).value cbhitunganbunga.text = dgvdatasimpannonsaham.item(3, dgvdatasimpannonsaham.currentrow.index).value Catch ex As Exception End Try Private Sub GroupBoxTransaksiPinjamanAnggota_Enter(ByVal

14 sender As GroupBoxTransaksiPinjamanAnggota.Enter Private Sub btnsave_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnsave.click command = New OleDbCommand("INSERT INTO TableNonSaham VALUES('" & txtkode.text & "', '" & txtnama.text & "', '" & txtbunga.text & "', '" & cbhitunganbunga.text & "')", connect) command.executenonquery() MsgBox("Berhasil di Simpan") tampildatasimpanannonsaham() awalsimpanannonsaham() Sub awalsimpanannonsaham() txtkode.text = "" txtnama.text = "" txtbunga.text = "'" cbhitunganbunga.text = "" Private Sub GroupBoxNonSaham_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GroupBoxNonSaham.Enter Private Sub SimpananNonSahamToolStripMenuItem_Click(ByVal sender As SimpananNonSahamToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = True GroupBoxTransaksiSimpananNonSaham.Visible = False GroupBoxTransaksiBungaNonSaham.Visible = False tampildatasimpanannonsaham() Private Sub Menu_Utama_MenuStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.MenuStart Private Sub btndelete_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btndelete.click command = New OleDbCommand("DELETE FROM TableNonSaham WHERE Kode='" + txtkode.text + "'", connect) command.executenonquery() MsgBox("Berhasil di Hapus") tampildatasimpanannonsaham() awalsimpanannonsaham()

15 Private Sub dgvdatasimpannonsaham_cellcontentclick(byval sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgvdatasimpannonsaham.cellcontentclick Private Sub btncancel_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btncancel.click awalsimpanannonsaham() Private Sub btnexit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnexit.click Me.Visible = False Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsavesmpns.click Try command = New OleDbCommand("INSERT INTO TableTransaksiSimpananNonSaham VALUES('" & Format(Now, "ddmmyyyyhhmmss") & "', '" & txtnasmpns.text & "', '" & cbkodesmpns.text & "', '" & Format(Now, "MM/dd/yyyy") & "', '" & txtjssmpns.text & "')", connect) command.executenonquery() MsgBox("Berhasil di Simpan") AwalTransaksiSimpananNonSaham() Catch ex As Exception MsgBox(ex.ToString) End Try Sub tampilkantransaksisimpanannonsaham() dr = New OleDbDataAdapter dt.clear() dt.columns.clear() dr.fill(dt) DGVTransaksiSNS.DataSource = dt Sub comboboxkode() command = New OleDbCommand command.commandtext = "select * from TableNonSaham" command.connection = connect DrN = command.executereader cbkodesmpns.items.clear() While DrN.Read() cbkodesmpns.items.add(drn.item(0).tostring) End While Sub AwalTransaksiSimpananNonSaham() txtnasmpns.text = ""

16 txtnamasmpns.text = "" txtalamatsmpns.text = "" txttlsmpns.text = "" txttanggallahirsmpns.text = "" txtjksmpns.text = "" txtagamasmpns.text = "" txtpekerjaansmpns.text = "" txthpsmpns.text = "" cbkodesmpns.text = "" txtnamasimpananns.text = "" txtbungasmpns.text = "" txthitunaganbungasmpns.text = "" txtjssmpns.text = "" txtdibayarsmpns.text = "" txtkembaliansmpns.text = "" Private Sub GroupBoxTransaksiSimpananNonSaham_Enter(ByVal sender As GroupBoxTransaksiSimpananNonSaham.Enter GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = True Private Sub txtnasmpns_textchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles txtnasmpns.textchanged command = New OleDbCommand command.commandtext = "select * from TableDaftarAnggota WHERE NomorAnggota='" & txtnasmpns.text & "'" command.connection = connect DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnamasmpns.text = DrN.Item(1).ToString txtalamatsmpns.text = DrN.Item(2).ToString txttlsmpns.text = DrN.Item(3).ToString txttanggallahirsmpns.text = Format(DrN.Item(4).ToString, "MM/dd/yyyy") txtjksmpns.text = DrN.Item(5).ToString txtagamasmpns.text = DrN.Item(6).ToString txtpekerjaansmpns.text = DrN.Item(7).ToString txthpsmpns.text = DrN.Item(8).ToString Private Sub cbkodesmpns_keydown(byval sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles cbkodesmpns.keydown cbkodesmpns.text = ""

17 Private Sub cbkodesmpns_selectedindexchanged(byval sender As cbkodesmpns.selectedindexchanged tampilkantransaksisimpanannonsaham() Private Sub cbkodesmpns_textchanged(byval sender As Object, ByVal e As System.EventArgs) Handles cbkodesmpns.textchanged If connect.state = ConnectionState.Open Then Else command = New OleDbCommand command.commandtext = "select * from TableNonSaham WHERE Kode='" & cbkodesmpns.text & "'" command.connection = connect DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnamasimpananns.text = DrN.Item(1).ToString txtbungasmpns.text = DrN.Item(2).ToString txthitunaganbungasmpns.text = DrN.Item(3).ToString Private Sub Button3_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnDeleteSmpNS.Click command = New OleDbCommand("DELETE FROM TableTransaksiSimpananNonSaham WHERE KodeTransaksi='" + lblkodetransaksi.text + "'", connect) command.executenonquery() MsgBox("Berhasil di Hapus") tampilkantransaksisimpanannonsaham() awal() Private Sub btncancelsmpns_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btncancelsmpns.click Call AwalTransaksiSimpananNonSaham() txtnpinjamanbyr.text = "" Private Sub ButtonCancelPembayaran_Click(ByVal sender As BtnCancelByr.Click AwalPembayaran() txtnpinjamanbyr.text = ""

18 Private Sub btnexitsmpns_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnexitsmpns.click GroupBoxTransaksiSimpananNonSaham.Visible = False Private Sub SahamToolStripMenuItem_Click(ByVal sender As SahamToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = True GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = False GroupBoxTransaksiBungaNonSaham.Visible = False comboboxkode() tampilsimpanan() BtnSaveSmp.Text = "New" AktifSimpan(False) BtnSaveSmp.Image = Image.FromFile(Application.StartupPath & "\icon\new.ico") Private Sub txtdibayarsmpns_mouseleave(byval sender As Object, ByVal e As System.EventArgs) Handles txtdibayarsmpns.mouseleave Private Sub txtdibayarsmpns_textchanged(byval sender As txtdibayarsmpns.textchanged Dim X As Long X = Val(txtDibayarSmpNS.Text) - Val(txtJSSmpNS.Text) If X < 0 Then LblPesan.ForeColor = Color.Red LblPesan.Text = "Uang Belum Cukup" txtkembaliansmpns.text = "" Else txtkembaliansmpns.text = X LblPesan.Text = "" Private Sub DGVTransaksiSNS_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DGVTransaksiSNS.CellClick Dim i As Integer = DGVTransaksiSNS.CurrentRow.Index lblkodetransaksi.text = DGVTransaksiSNS.Item(0, i).value txtnasmpns.text = DGVTransaksiSNS.Item(1, i).value cbkodesmpns.text = DGVTransaksiSNS.Item(2, i).value txtjssmpns.text = DGVTransaksiSNS.Item(4, i).value Private Sub BtnEditBaru_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnEditBaru.Click

19 command = New OleDbCommand("UPDATE TableDaftarAnggota set SAwal='" & txtsabaru.text & "',Nama='" & txtnamabaru.text & "',Alamat='" & txtalmtbaru.text & "',TempatLahir='" & txttlbaru.text & "',TanggalLahir='" & Format(DTPTlBaru.Value, "MM/dd/yyyy") & "',JenisKelamin='" & CBJKBaru.Text & "',Agama='" & CBAgamaBaru.Text & "',Pekerjaan='" & cbpekerjaanbaru.text & "',Hp='" & txthpbaru.text & "',Kelurahan='" & CBKelurahanBaru.Text & "',Kecamatan='" & CBKecamatanBaru.Text & "',Kabupaten='" & CBKabupatenBaru.Text & "' Where NomorAnggota='" & txtnabaru.text & "'", connect) command.executenonquery() MsgBox(" Data Berhasil di Edit") Call awalanggotabaru() tampildaftaranggota() Private Sub DgvAnggota_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DgvAnggota.CellClick Try txtnabaru.text = DgvAnggota.Item(0, DgvAnggota.CurrentRow.Index).Value txtnamabaru.text = DgvAnggota.Item(1, DgvAnggota.CurrentRow.Index).Value txtalmtbaru.text = DgvAnggota.Item(2, DgvAnggota.CurrentRow.Index).Value txttlbaru.text = DgvAnggota.Item(3, DgvAnggota.CurrentRow.Index).Value DTPTlBaru.Value = DgvAnggota.Item(4, DgvAnggota.CurrentRow.Index).Value CBJKBaru.Text = DgvAnggota.Item(5, DgvAnggota.CurrentRow.Index).Value CBAgamaBaru.Text = DgvAnggota.Item(6, DgvAnggota.CurrentRow.Index).Value cbpekerjaanbaru.text = DgvAnggota.Item(7, DgvAnggota.CurrentRow.Index).Value txthpbaru.text = DgvAnggota.Item(8, DgvAnggota.CurrentRow.Index).Value CBKelurahanBaru.Text = DgvAnggota.Item(9, DgvAnggota.CurrentRow.Index).Value CBKecamatanBaru.Text = DgvAnggota.Item(10, DgvAnggota.CurrentRow.Index).Value CBKabupatenBaru.Text = DgvAnggota.Item(11, DgvAnggota.CurrentRow.Index).Value txtsabaru.text = DgvAnggota.Item(12, DgvAnggota.CurrentRow.Index).Value Catch ex As Exception End Try Private Sub BtnDeleteBaru_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnDeleteBaru.Click 4. command = New OleDbCommand("DELETE From TableDaftarAnggota Where NomorAnggota='" & txtnabaru.text & "'", connect) command.executenonquery() MsgBox(" Data Berhasil di Hapus")

20 Call awalanggotabaru() tampildaftaranggota() Private Sub DgvAnggota_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DgvAnggota.CellContentClick Private Sub CBJKBaru_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles CBJKBaru.KeyDown Private Sub CBJKBaru_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles CBJKBaru.KeyUp CBJKBaru.Text = "" Private Sub CBAgamaBaru_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles CBAgamaBaru.KeyUp CBAgamaBaru.Text = "" Private Sub txtpekerjaanbaru_keyup(byval sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles cbpekerjaanbaru.keyup cbpekerjaanbaru.text = "" Private Sub txtnabyr_textchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles txtnabyr.textchanged command = New OleDbCommand("select * from TableDaftarAnggota Where NomorAnggota='" & txtnabyr.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnamabyr.text = DrN.Item(1).ToString txtalamatbyr.text = DrN.Item(2).ToString txttlbyr.text = DrN.Item(3).ToString txttanggallbyr.text = DrN.Item(4).ToString txtjkbyr.text = DrN.Item(5).ToString txtagamabyr.text = DrN.Item(6).ToString txtpekerjaanbyr.text = DrN.Item(7).ToString txthpbyr.text = DrN.Item(8).ToString txtkelurahanbyr.text = DrN.Item(9).ToString txtkecamatanbyr.text = DrN.Item(10).ToString txtkabupatenbyr.text = DrN.Item(11).ToString

21 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCari.Click command = New OleDbCommand("select * from TableDaftarAnggota Where NomorAnggota='" & txtcarianggota.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnabaru.text = DrN(0) txtnamabaru.text = DrN(1) txtalmtbaru.text = DrN(2) txttlbaru.text = DrN(3) DTPTlBaru.Value = DrN(4) CBJKBaru.Text = DrN(5) CBAgamaBaru.Text = DrN(6) cbpekerjaanbaru.text = DrN(7) txthpbaru.text = DrN(8) CBKelurahanBaru.Text = DrN(9) CBKecamatanBaru.Text = DrN(10) CBKabupatenBaru.Text = DrN(11) txtsabaru.text = DrN(12) GroupBoxDaftarAnggotaBaru.Visible = True GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False Call tampildaftaranggota() With cbpekerjaanbaru.items.add("wiraswasta") End With With CBAgamaBaru.Items.Add("Islam") End With With CBJKBaru.Items.Add("Laki-Laki") End With With CBKecamatanBaru.Items.Add("Kecamatan Medan Amplas") With CBKabupatenBaru.Items.Add("Kabupaten Asahan") End With With CBKelurahanBaru.Items.Add("Kelurahan/Desa Harjosari I") End With GroupBoxCariAnggota.Visible = False Else LblCarii.Text = "Data Tidak di Temukan"

22 Private Sub CariToolStripMenuItem_Click_1(ByVal sender As CariToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = True GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = False GroupBoxTransaksiBungaNonSaham.Visible = False Private Sub txtpersenbunga_textchanged(byval sender As txtpersenbunga.textchanged If Val(txtPersenBunga.Text) > 100 Or Val(txtPersenBunga.Text) < 0 Then MsgBox("Bunga Salah") Else txtbungapjm.text = Val(txtPPPjm.Text) * Val(txtPersenBunga.Text) / 100 txttppjm.text = Val(txtPPPjm.Text) + Val(txtBungaPjm.Text) txtcicilanpjm.text = Val(txtTPPjm.Text) / Val(txtJWPjm.Text) Private Sub Button1_Click_2(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCancelBaru.Click txtnabaru.text = kodeutama("nomoranggota", "TableDaftarAnggota") ' awalanggotabaru() Sub awalanggota() txtnabaru.text = "" txtnamabaru.text = "" txtalmtbaru.text = "" txttlbaru.text = "" DTPTlBaru.Value = "" CBJKBaru.Text = "" CBAgamaBaru.Text = "" cbpekerjaanbaru.text = "" txthpbaru.text = "" CBKelurahanBaru.Text = "" CBKecamatanBaru.Text = "" CBKabupatenBaru.Text = "" txtsabaru.text = "" Private Sub txtnppjm_textchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles txtnppjm.textchanged

23 Private Sub txtnpinjamanbyr_keydown(byval sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtnpinjamanbyr.keydown If e.keycode = 13 Then Try command = New OleDbCommand("select NomorAnggota,TanggalMulai,Cicilan from TablePinjaman Where NomorPinjaman='" & txtnpinjamanbyr.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then txtiuranbyr.text = DrN(2) txttjtbyr.text() = Format(DrN(1), "dd/mm/yyyy") txttpbyr.text() = Format(Now, "dd/mm/yyyy") txtnabyr.text = DrN(0) Catch ex As Exception MsgBox(ex.Message) End Try Private Sub txtnpinjamanbyr_textchanged(byval sender As txtnpinjamanbyr.textchanged Try command = New OleDbCommand("select NomorAnggota,TanggalMulai,Cicilan from TablePinjaman Where NomorPinjaman='" & txtnpinjamanbyr.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then txtiuranbyr.text = DrN(2) txttjtbyr.text() = Format(DrN(1), "dd/mm/yyyy") txttpbyr.text() = Format(Now, "dd/mm/yyyy") txtnabyr.text = DrN(0) Else AwalPembayaran() TampilkanPembayaran() If txtnpinjamanbyr.text <> "" Then dt.clear() dt.columns.clear() command = New OleDbCommand("select count(nomorpinjaman) as jlh from TablePembayaran Where NomorPinjaman='" & txtnpinjamanbyr.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then

24 CBAngsuranKeByr.Text = Val(DrN(0).ToString) + 1 Else CBAngsuranKeByr.Text = "" Catch ex As Exception MsgBox(ex.Message) End Try Sub TampilkanPembayaran() command = New OleDbCommand("select * From TablePembayaran Where NomorPinjaman='" & txtnpinjamanbyr.text & "'", connect) DrN = command.executereader DGVPembayaran.Rows.Clear() If DrN.HasRows Then While DrN.Read DGVPembayaran.Rows.Add(New String() {DrN(0), DrN(1), DrN(2), DrN(3), DrN(4), (Val(DrN(3)) + Val(DrN(4))), DrN(5)}) 'DGVPembayaran.Rows.Add(New String() {"ddd", "ddd", "fffff", "dfdfd", "ddgdfgfd"}) End While Else DGVPembayaran.Rows.Clear() 'dr = New OleDbDataAdapter("select * From QueryPembayaran Where NomorPinjaman='" & txtnpinjamanbyr.text & "'", connect) 'dt.clear() 'dr.fill(dt) 'DGVPembayaran.DataSource = dt Private Sub GroupBoxTransaksiPembayaranAnggota_Enter(ByVal sender As GroupBoxTransaksiPembayaranAnggota.Enter Private Sub txtpersendendabyr_textchanged(byval sender As txtpersendendabyr.textchanged txtdendabyr.text = CInt(Int(Val(txtPersenDendaByr.Text) / 100 * Val(txtIuranByr.Text))) Private Sub txtdendabyr_textchanged(byval sender As txtdendabyr.textchanged txttbbyr.text = Val(txtDendaByr.Text) + Val(txtIuranByr.Text) Private Sub Label71_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label71.Click

25 Private Sub ProfilCUCintaKasihToolStripMenuItem_Click(ByVal sender As ProfilCUCintaKasihToolStripMenuItem.Click FormAbout.Show() Private Sub QuitToolStripMenuItem_Click(ByVal sender As QuitToolStripMenuItem.Click End Private Sub SimpananAnggotaToolStripMenuItem1_Click(ByVal sender As SimpananAnggotaToolStripMenuItem1.Click frminputbox.text = "Simpanan Anggota" frminputbox.show() Private Sub PembayaranAnggToolStripMenuItem_Click(ByVal sender As PembayaranAnggToolStripMenuItem.Click frminputbox.text = "Pembayaran Anggota" frminputbox.show() Private Sub BiodataAnggotaToolStripMenuItem_Click(ByVal sender As BiodataAnggotaToolStripMenuItem.Click frmcetaklaporan.enabled = True frmcetaklaporan.visible = False frmcetaklaporan.show() frmcetaklaporan.daftaranggota() frmcetaklaporan.visible = True Private Sub PinjamanAnggotaToolStripMenuItem1_Click(ByVal sender As PinjamanAnggotaToolStripMenuItem1.Click frmcetaklaporan.enabled = True frmcetaklaporan.visible = False frmcetaklaporan.show() frmcetaklaporan.pinjamanumum() frmcetaklaporan.visible = True Private Sub PembayaranAnggotaToolStripMenuItem1_Click(ByVal sender As PembayaranAnggotaToolStripMenuItem1.Click frmcetaklaporan.enabled = True frmcetaklaporan.visible = False frmcetaklaporan.show() frmcetaklaporan.pembayaranumum() frmcetaklaporan.visible = True Private Sub SimpananAnggotaToolStripMenuItem2_Click(ByVal sender As SimpananAnggotaToolStripMenuItem2.Click frmcetaklaporan.enabled = True

26 frmcetaklaporan.visible = False frmcetaklaporan.show() frmcetaklaporan.simpananumumsaham() frmcetaklaporan.visible = True Private Sub SimpananAnggotaNonSahamToolStripMenuItem_Click(ByVal sender As SimpananAnggotaNonSahamToolStripMenuItem.Click frmcetaklaporan.enabled = True frmcetaklaporan.visible = False frmcetaklaporan.show() frmcetaklaporan.simpananumumnonsaham() frmcetaklaporan.visible = True Private Sub Label86_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Private Sub GBBungaNonSaham_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GroupBoxTransaksiBungaNonSaham.Enter Private Sub BungaNonSahamToolStripMenuItem_Click(ByVal sender As BungaNonSahamToolStripMenuItem.Click GroupBoxDaftarAnggotaBaru.Visible = False GroupBoxCariAnggota.Visible = False GroupBoxTransaksiSimpananAnggota.Visible = False GroupBoxTransaksiPinjamanAnggota.Visible = False GroupBoxTransaksiPembayaranAnggota.Visible = False GroupBoxNonSaham.Visible = False GroupBoxTransaksiSimpananNonSaham.Visible = False FormBunga.Visible = True FormBunga.Focus() Private Sub btncetakbunga_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btncetakbunga.click Private Sub txtnoanggotapjm_textchanged(byval sender As txtnoanggotapjm.textchanged command = New OleDbCommand("select * from TableDaftarAnggota Where NomorAnggota='" & txtnoanggotapjm.text & "'", connect) DrN = command.executereader DrN.Read() If DrN.HasRows Then txtnamapjm.text = DrN.Item(1).ToString TxtAlmPjm.Text = DrN.Item(2).ToString TxtTLPjm.Text = DrN.Item(3).ToString

27 txttanggallpjm.text = DrN.Item(4).ToString txtjkpjm.text = DrN.Item(5).ToString txtagamapjm.text = DrN.Item(6).ToString txtpekerjaanpjm.text = DrN.Item(7).ToString txthppjm.text = DrN.Item(8).ToString txtkelurahanpjm.text = DrN.Item(9).ToString txtkecamatanpjm.text = DrN.Item(10).ToString txtkabupatenpjm.text = DrN.Item(11).ToString txtpppjm.focus() Else 'MsgBox("Data Belum ada") txtnoanggotapjm.focus() Private Sub DGVPinjaman_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DGVPinjaman.CellContentClick Private Sub GroupBoxDaftarAnggotaBaru_Enter(ByVal sender As GroupBoxDaftarAnggotaBaru.Enter Private Sub AToolStripMenuItem_Click(ByVal sender As AToolStripMenuItem.Click Private Sub DGVSimpanan_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DGVSimpanan.CellClick Private Sub DGVSimpanan_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DGVSimpanan.CellContentClick Private Sub DTPMulaiPjm_ValueChanged(ByVal sender As DTPMulaiPjm.ValueChanged DTPSelesaiPjm.Value = DateAdd("m", Val(txtJWPjm.Text), DTPMulaiPjm.Value) End Class

28 KARTU BIMBINGAN TUGAS AKHIR MAHASISWA Nama Mahasiswa : KLARA SRIKANDI GINTING Nomor Stambuk : Judul Tugas Akhir : SISTEM INFORMASI MANAJEMEN KOPERASI SIMPAN PINJAM PADA CU CINTA KASIH P. BRAYAN MEDAN BERBASIS VISUAL BASIC 2010 Dosen Pembimbing : Drs. Rosman Siregar M,Si. Tanggal Mulai Bimbingan : Tanggal Selesai Bimbingan : No. Tanggal Asisten Bimbingan Pembahasan pada Asistensi Mengenai, pada Bab : Paraf Dosen Pembimbing Keterangan Kartu ini harap dikembalikan ke Departemen Matematika bila bimbingan telah selesai. Diketahui, Ketua Program Studi D3 Teknik Informatika, Disetujui, Pembimbing, Dr, Elly Rosmaini, M.Si. Drs. Rosman Siregar M.Si. NIP NIP

29 SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan dibawah ini, menerangkan bahwa Tugas Akhir Mahasiswa Program Diploma 3 Teknik Informatika : Nama : KLARA SRIKANDI GINTING NIM : Program Studi : TEKNIK INFORMATIKA Judul TA : SISTEM INFORMASI MANAJEMEN KOPERASI SIMPAN PINJAM PADA CU CINTA KASIH P. BRAYAN MEDAN BERBASIS VISUAL BASIC 2010 Telah melaksanakan test program Tugas Akhir Mahasiswa tersebut diatas tanggal...juni 2016 Dengan Hasil : Sukses / Gagal Demikian diterangkan untuk digunakan melengkapi syarat pendaftaran Ujian Meja Hijau Tugas Akhir Mahasiswa bersangkutan di Departemen Matematika FMIPA USU Medan. Medan, Juni 2016 Program Studi D3 Teknik Informatika Ketua, Dr. Elly Rosmaini, M.Si. NIP

30 SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan di bawah ini, menerangkan bahwa Mahasiswa Tugas Akhir Program D3 Teknik Informatika : Nama : KLARA SRIKANDI GINTING NIM : Program Studi : D3 Teknik Informatika Judul Tugas Akhir : SISTEM INFORMASI MANAJEMEN KOPERASI SIMPAN PINJAM PADA CU CINTA KASIH P. BRAYAN MEDAN BERBASIS VISUAL BASIC 2010 telah melakukan test program Tugas Akhir Mahasiswa tersebut di atas pada tanggal.../06/2016. Dengan hasil : SUKSES / GAGAL Demikian diterangkan untuk digunakan melengkapi Syarat Pendaftaran Meja Hijau Tugas Akhir Mahasiswa bersangkutan di Departemen Matematika FMIPA USU Medan. Medan, Juni 2016 Dosen Pembimbing Program D3 Teknik Informatika Drs. Rosman Siregar M.Si. NIP

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

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

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

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

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

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

Else. End If End Sub End Class. PDF created with pdffactory trial version

Else. End If End Sub End Class. PDF created with pdffactory trial version Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal

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

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

/******************** Tunable parameters: ********************/

/******************** Tunable parameters: ********************/ 1. Smartass2.c / drivers/cpufreq/cpufreq_smartass2.c Copyright (C) 2010 Google, Inc. This software is licensed under the terms of the GNU General Public License version 2, as published by the Free Software

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

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Form Connection Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Public Class connection '------------------------------------------------ Dim myport As Array

More information

WEEK 1. Event: Tick: Occurs when the specified timer interval has elapsed and the timer is enabled.

WEEK 1. Event: Tick: Occurs when the specified timer interval has elapsed and the timer is enabled. WEEK 1 Timer: A Timer is used to raise an event at user-defined intervals. It is optimized for use in Windows Forms applications. Timer is used to control and manage events that are time related. For example:

More information

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM My first game Saturday, November 23, 2013 5:06 AM Public Class Form1 Dim moveright As Boolean = False Dim moveup As Boolean = False Dim moveleft As Boolean = False Dim movedown As Boolean = False Dim score

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

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

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

Lampiran 1 Kode Program

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

More information

Tutorial, Source code, Request Program Visual Basic

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

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara 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 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

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

DO NOT COPY AMIT PHOTOSTUDIO

DO NOT COPY AMIT PHOTOSTUDIO AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights

More information

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

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

More information

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date :

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : Form Adapter Example DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 Form_Adapter.doc DRAFT page 1 Table of Contents Creating Form_Adapter.vb... 2 Adding the

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

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

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

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

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

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

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

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

A-1 LISTING PROGRAM. 1. Module1

A-1 LISTING PROGRAM. 1. Module1 A-1 LISTING PROGRAM 1. Module1 Imports System.Data.Odbc Imports System.Data Imports System.Data.SqlClient Imports MySql.Data.MySqlClient Module Module1 Public userid As String Public level As String Public

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

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

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic

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

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

LAMPIRAN : LISTING PROGRAM 1 LAMPIRAN : LISTING PROGRAM 1. Modules a. Modul Vocab Modul ini mefinisikan persyaratan dan pesan dari beberapa data sebagai konstan Variabel. Shop Screen ShopBuy ShopSell ShopCancel Possession = "Beli"

More information

DRAWING AND MOVING IMAGES

DRAWING AND MOVING IMAGES DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,

More information

1 string start = DateTime.Now.ToShortDateString(); 2 string end = DateTime.Now.AddDays(5).ToShortDateString(); 3 OleDbConnection conn2 =

1 string start = DateTime.Now.ToShortDateString(); 2 string end = DateTime.Now.AddDays(5).ToShortDateString(); 3 OleDbConnection conn2 = public partial class borrow : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) 1 string start = DateTime.Now.ToShortDateString(); 2 string end = DateTime.Now.AddDays(5).ToShortDateString();

More information

LAMPIRAN A: Listing Program

LAMPIRAN A: Listing Program 67 1. Form Menu Utama LAMPIRAN A: Listing Program Public Class MScreen Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form1.Show()

More information

LISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); }

LISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); } 59 LISTING PROGRAM Form Utama : using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation;

More information

Learning VB.Net. Tutorial 10 Collections

Learning VB.Net. Tutorial 10 Collections Learning VB.Net Tutorial 10 Collections Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.

More information

Connection Example. Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date :

Connection Example. Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date : Connection Example Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 page 1 Table of Contents Connection Example... 2 Adding the Code... 2 Quick Watch myconnection...

More information

LAMPIRAN. 1. Kode Program

LAMPIRAN. 1. Kode Program 1. Kode Program LAMPIRAN Kode Program 1. Kode program untuk Form Data Imports BusinessLib Public Class formdata #Region " Member " Dim _siswa As Siswa Dim _guru As Guru Dim _mapel As MataPelajaran Dim

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

Revision for Final Examination (Second Semester) Grade 9

Revision for Final Examination (Second Semester) Grade 9 Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual

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

"!#... )*! "!# )+, -./ 01 $

!#... )*! !# )+, -./ 01 $ Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?

More information

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants These notes are available on the IMS1906 Web site http://www.sims.monash.edu.au Tutorial Sheet 4/Week 5 Please

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

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

Serial-out Color Sensor. Overview. Features

Serial-out Color Sensor. Overview. Features Visit us @ www.thearyatechnologies.com Email: aryaprotech@gmail.com / info@thearyatechnologies.com Contact us@ 0253-2512131 Serial-out Color Sensor Overview Color sensor identifies primary colors (Red,

More information

AN IMPROVED PACKET FORWARDING APPROACH FOR SOURCE LOCATION PRIVACY IN WIRELESS SENSORS NETWORK MOHAMMAD ALI NASSIRI ABRISHAMCHI

AN IMPROVED PACKET FORWARDING APPROACH FOR SOURCE LOCATION PRIVACY IN WIRELESS SENSORS NETWORK MOHAMMAD ALI NASSIRI ABRISHAMCHI AN IMPROVED PACKET FORWARDING APPROACH FOR SOURCE LOCATION PRIVACY IN WIRELESS SENSORS NETWORK MOHAMMAD ALI NASSIRI ABRISHAMCHI A thesis submitted in partial fulfillment of the requirements for the award

More information

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11 ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11 PENILAIAN & KULIAH Kuliah Tugasan Ujian Teori Ujian Amali Isi kandungan 4.8 Menunjukkan asas pengiraan o Subnet Mask o

More information

B,8 PERKHIDMATAN KREDIT DAN PERBANKAN. Pemindahan Data PROSEDUR UNIT KOMPUTER. BPKP/KlOK-117 Bilangan Semakan : 0 Tarikh : PERUBAHAN.

B,8 PERKHIDMATAN KREDIT DAN PERBANKAN. Pemindahan Data PROSEDUR UNIT KOMPUTER. BPKP/KlOK-117 Bilangan Semakan : 0 Tarikh : PERUBAHAN. PROSEDUR UNIT KOMPUTER Pemindahan Data BPKP/KlOK-117 Bilangan Semakan : 0 Tarikh : 30.09.13 Disediakan oleh :- Disahkan oleh :- Ketua Unit PERUBAHAN Ubahan Muka surat Tarikh Keterangan Diluluskan B,8 8

More information

C16 Visual Basic Net Programming

C16 Visual Basic Net Programming C16 Visual Basic Net Programming Student ID Student Name Date - Module Tutor - 1 P a g e Report Contents Introduction... 2 Software Development Process... 3 Self Reflection... 6 References... 6 Appendices...

More information

Manual Pengguna. PCN Online Service Fulfillment System

Manual Pengguna. PCN Online Service Fulfillment System System 1 Subjek Muka Surat 1) CARTA ALIR SISTEM 2 2) PERMOHONAN OLEH AGENSI 3 3) PENGESAHAN PERMOHONAN OLEH MAMPU 8 4) LAMPIRAN 13 2 Carta alir sistem 3 PERMOHONAN OLEH AGENSI 4 Membuat permohonan baru

More information

LAMPIRAN A LISTING PROGRAM

LAMPIRAN A LISTING PROGRAM A-1 LAMPIRAN A LISTING PROGRAM FUNGSI public void StopWatchStart() stopwatch.reset(); stopwatch.start(); Cursor.Current = Cursors.WaitCursor; txtlog.text = ""; public void StopWatchStop(string Title) stopwatch.stop();

More information

Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.

Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan. Conference Manager Roles Guide - PENGGUNA MANUAL Login. Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.

More 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

1. Create your First VB.Net Program Hello World

1. Create your First VB.Net Program Hello World 1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright

More information

LAMPIRAN LISTING PROGRAM

LAMPIRAN LISTING PROGRAM LAMPIRAN LISTING PROGRAM Imports System Imports System.IO Imports System.Math Public Class frmutama Dim dicari As DirectoryInfo Dim flpath As String, srcpath As String Dim asnode As Double, dsnode As Double,

More information

Pengenalan Sistem Maklumat Dalam Pendidikan

Pengenalan Sistem Maklumat Dalam Pendidikan Pengenalan Sistem Maklumat Dalam Pendidikan 1 RELATIONSHIP & QUERY DALAM MICROSOFT ACCESS Kandungan Definisi Relationship (Hubungan) Jenis Relationship Membina Relationship Definisi Query dan Fungsi Query

More information

超音波モータ制御プログラムの作成 (v1.2.1)

超音波モータ制御プログラムの作成 (v1.2.1) 超音波モータ制御プログラムの作成 (v1.2.1) 2008 年 11 月 28 日 Masaaki MATSUO 構成機器 モータ本体 : フコク ロータリーエンコーダー内蔵型超音波モータ USB-60E モータ制御部 : フコク 位置決制御ドライバ DCONT-3-60 (SD13) コントローラ : Interface 2 軸絶縁パルスモーションコントローラ ( 直線補間エンコーダ入力 5V)

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

More information

Déclaration du module

Déclaration du module Déclaration du module Imports System.IO Module ModuleStagiaires Public Structure Stagiaire Private m_code As Long Private m_nom As String Private m_prenom As String Public Property code() As Long Get Return

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM 46 LAMPIRAN A : LISTING PROGRAM 1. Mainform /* * Created by SharpDevelop. * User: User7 * Date: 28/09/2015 * Time: 9:38 * * To change this template use Tools Options Coding Edit Standard Headers. */ using

More information

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,

More information

ก Microsoft Visual Studio 2008

ก Microsoft Visual Studio 2008 ก 58 ก ก ก ก ก 58 59 ก Microsoft Visual Studio 2008 1. DVD ก MSVS2008 ก MSVS2008 ก ก MSVS2008 ก ก 180 DVD DVD ก MSVS2008 ก ก Install Visual Studio 2008 2. ก ก ก ก ก Next 3. ก ก Options Page ก Custom ก

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

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

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

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

Microsoft TS: Microsoft.NET Framework 3.5, Windows Forms Application Development Microsoft

Microsoft TS: Microsoft.NET Framework 3.5, Windows Forms Application Development Microsoft Microsoft TS: Microsoft.NET Framework 3.5, Windows Forms Application Development https://ensure2pass.com/-exam.html Microsoft Section 1: Sec One (1 to 10) Details: Microsoft (VB) QUESTION: 1 You are creating

More information

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions Between the comments included with the code and the code itself, you shouldn t have any problems understanding what

More information

S.2 Computer Literacy Question-Answer Book

S.2 Computer Literacy Question-Answer Book S.2 C.L. Half-yearly Examination (2012-13) 1 12-13 S.2 C.L. Question- Answer Book Hong Kong Taoist Association Tang Hin Memorial Secondary School 2012-2013 Half-yearly Examination S.2 Computer Literacy

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

Learning VB.Net. Tutorial 19 Classes and Inheritance

Learning VB.Net. Tutorial 19 Classes and Inheritance Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you

More information

LAMPIRAN A PROGRAM FLOWSTONE

LAMPIRAN A PROGRAM FLOWSTONE LAMPIRAN A PROGRAM FLOWSTONE A-1 Tampilan GUI pada FlowStone A-2 Program Tambahan yang Dibuat Untuk Membaca Frekuensi A-3 Program Tambahan yang Dibuat Untuk Menyimpan Data A-4 LAMPIRAN B PROGRAM VISUAL

More 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

belajar html5 158E7F2D743EA866244C3EE391F064DC Belajar Html5 1 / 6

belajar html5 158E7F2D743EA866244C3EE391F064DC Belajar Html5 1 / 6 Belajar Html5 1 / 6 2 / 6 3 / 6 Belajar Html5 HTML specifications HTML5.2 https://www.w3.org/tr/html52/ HTML5.1 2nd Edition https://www.w3.org/tr/html51/ HTML AAM https://www.w3.org/tr/html-aam-1.0/ W3C

More information

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1. 練習問題 1-1 Label1 Label1.Text = Label1.Text + 2 練習問題 1-2 Button2 Label1 Label1.Text = Label1.Text+ 2 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

More information

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3)

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Student: Candidate Number: Assessor: Len Shand Herefordshire College of Technology Centre 24150 Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Course: Unit: Title:

More information

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment.

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment. IT3101 -Rapid Application Development Second Year- First Semester Practical 01 Visual Basic.NET Environment. Main Area Menu bar Tool bar Run button Solution Explorer Toolbox Properties Window Q1) Creating

More information

This PDF was generated in real-time using DynamicPDF; Generator for.net.

This PDF was generated in real-time using DynamicPDF; Generator for.net. TableReport.aspx 1 1 Imports System 2 Imports System.Data 3 Imports System.Data.SqlClient 4 5 Imports cete.dynamicpdf 6

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

Section 7 The BASIC Language II

Section 7 The BASIC Language II Dates Section 7 The BASIC Language II The Date class holds a date (between January 1 st, 0001 and December 31 st, 9999) combined with a time (between 0:00:00 and 23:59:59) Constructors of the Date class

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

OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class

OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class Create a Ball Demo program that uses a Ball class. Use the following UML diagram to create the Ball class: Ball - ballcolor: Color - ballwidth, ballheight:

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

Year 12 : Visual Basic Tutorial.

Year 12 : Visual Basic Tutorial. Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows

More information

LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS. No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi

LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS. No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi Konferensi Nasional Pengembangan Siswa Sesuai Standar Teknologi Informasi Kompetensi

More information

Semasa buku ini ditulis XAMPP mengandungi empat versi:

Semasa buku ini ditulis XAMPP mengandungi empat versi: Lab 1 PEMASANGAN PELAYAN WEB XAMPP 1.0 Pengenalan Di dalam topik ini kita akan menggunakan pelayan web yang berasaskan sumber terbuka XAMPP Windows 1.8.0. Kenapa Pelayan Web Xampp digunakan kerana bukannya

More information

M2U MANUAL PENGGUNA USER MANUAL M2UNHJ. 0 P a g e BAHAGIAN SIMPANAN DAN PENGELUARAN JABATAN KHIDMAT PENDEPOSIT DAN OPERASI LEMBAGA TABUNG HAJI

M2U MANUAL PENGGUNA USER MANUAL M2UNHJ. 0 P a g e BAHAGIAN SIMPANAN DAN PENGELUARAN JABATAN KHIDMAT PENDEPOSIT DAN OPERASI LEMBAGA TABUNG HAJI M2U MANUAL PENGGUNA USER MANUAL M2UNHJ 0 P a g e BAHAGIAN SIMPANAN DAN PENGELUARAN JABATAN KHIDMAT PENDEPOSIT DAN OPERASI LEMBAGA TABUNG HAJI KANDUNGAN (TABLE OF CONTENTS) BIL PERKARA HALAMAN 1 TERMA DAN

More information

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time.

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time. A1 LISTING PROGRAM 1. Module SkripsiUmri.py import sys, operator, codecs, time class Timer(object): def init (self): self.t1= time.time() def getelapsedltime(self): # gets total elapsed from class initialsation

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