LISTING PROGRAM. 1. Menu Utama
|
|
- Lorin Anthony
- 6 years ago
- Views:
Transcription
1 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 String Dim BanYak As Integer Sub Segar() rscari.open "Select * from tsms where status='*' order by _ IdSMS asc", CN, 1, 3 Private Sub cmdabout_click() Timer1.Enabled = False frmabout.show Private Sub cmdbayar_click() Timer1.Enabled = False Timer2.Enabled = False frmbayar.show Private Sub cmdhelp_click() Timer1.Enabled = False frmhelp.show Private Sub cmdlaporan_click() frmcetaklap.show Private Sub cmdlogin_click() If bollogon = True Then Me.cmdBayar.Enabled = False Me.cmdPemesanan.Enabled = False Me.cmdUtil.Enabled = False cmdlogin.caption = "Login" bollogon = False cmdlogin.caption = "Logout" Me.cmdBayar.Enabled = True Me.cmdPemesanan.Enabled = True Me.cmdUtil.Enabled = True frmlogon.show Private Sub cmdpemesanan_click() Timer1.Enabled = False Timer2.Enabled = False frmpesanan.show
2 Private Sub cmdquit_click() Timer1.Enabled = False Timer2.Enabled = False End Private Sub cmdutil_click() Timer1.Enabled = False Timer2.Enabled = False frmmenuutil.show Private Sub Form_Activate() cmdlogin.caption = "Login" Timer1.Enabled = False If bollogon = False Then Me.cmdBayar.Enabled = False Me.cmdPemesanan.Enabled = False Me.cmdUtil.Enabled = False cmdlogin.caption = "Logout" Timer1.Enabled = True Me.cmdBayar.Enabled = True Me.cmdPemesanan.Enabled = True Me.cmdUtil.Enabled = True Private Sub Form_Load() Koneksi If bollogon = False Then Me.cmdBayar.Enabled = False Me.cmdPemesanan.Enabled = False Me.cmdUtil.Enabled = False cmdlogin.caption = "Logout" Me.cmdBayar.Enabled = True Me.cmdPemesanan.Enabled = True Me.cmdUtil.Enabled = True Private Sub Timer1_Timer() List1.Clear Segar Me.Caption = "Reading database..." Set rssms = New ADODB.Recordset rssms.open "Select * from tsms where status='*' order by IdSMS _ asc", CN, 1, 2 If Not rssms.eof = True Then Do While Not rssms.eof IDSms = rssms!idsms Set rspesan = New ADODB.Recordset rspesan.open "Select * from tbilling where _ IDSms=" & IDSms & " and StLunas='B'", CN, 1, 2 If Not rspesan.eof Then Kode = rspesan!kode BanYak = rspesan!banyak Set rspaket = New ADODB.Recordset rspaket.open "Select * from tpaket where Kode='"_
3 & Kode & "'", CN, 1, 2 If Not rspaket.eof Then NmPaket = rspaket!nmpaket List1.AddItem "Tanggal :" & rssms!tgl & "_ NoHp : " & rssms!nohp & " Pesanan Paket :"_ &_NmPaket & " sebanyak :" & BanYak & " paket" NmPaket = "" Kode = "" rssms.movenext If rssms.eof = True Then Exit Do Loop Timer2.Enabled = True Private Sub Timer2_Timer() Me.Caption = "Reading modem..." Call Main 2. Login Option Explicit Dim rsuser As Recordset Private Sub cbouser_click() txtpass.locked = False txtpass.setfocus Private Sub cmdcancel_click() End Private Sub cmdok_click() On Error Resume Next rscari.open "Select * from tuser where UserId='" & cbouser.text & "' and Passwd='" & txtpass.text & "'", CN, adopendynamic, adlockoptimistic If rscari.eof = True Then MsgBox "Password salah" txtpass = "" cbouser = "" bollogon = False cbouser.setfocus Me.Hide bollogon = True frmmenuutama.show
4 Private Sub Form_Activate() txtpass = "" cbouser = "" cbouser.setfocus Private Sub Form_Load() Koneksi Set rsuser = New ADODB.Recordset rsuser.open "Select * from tuser order by UserId asc", CN, adopendynamic, adlockoptimistic Do Until rsuser.eof = True cbouser.additem rsuser.fields("userid") rsuser.movenext Loop Private Sub txtpass_keypress(keyascii As Integer) If KeyAscii = 13 Then cmdok.enabled = True cmdok.setfocus Private Sub cbouser_keypress(keyascii As Integer) If KeyAscii = 13 Then txtpass.locked = False txtpass.setfocus 3. Menu Utility Private Sub cmddtkom_click() frmpaket.show Private Sub cmddtpin_click() frmuser.show Private Sub Command1_Click() Unload Me Private Sub Form_Unload(Cancel As Integer) Me.Hide Unload Me 4. Pesanan Option Explicit Dim Report As New crbilling Dim rssms As Recordset Dim rsno As Recordset Dim IDPesan, IDSms, IdBilling As Integer Dim Kode As String * 1 Dim BanYak As Integer Dim JumLah As Single Dim strisi As String
5 Dim HarGa As Single Dim Bilangan, Alamat As String Dim nobalas As String Dim bolsalah As Boolean, bolhp As Boolean Dim NoHp As String * 15 Sub CariNo() Set rsno = New ADODB.Recordset rsno.open "Select * from tpesan order by IDPesan desc", CN, 1, 2 If Not rsno.eof = True Then IDPesan = rsno!idpesan + 1 IDPesan = 1 Set rsno = Nothing Sub CariNoBil() Set rsno = New ADODB.Recordset rsno.open "Select * from tbilling order by IDBilling desc", _ CN, 1, 2 If Not rsno.eof = True Then IdBilling = rsno!idbilling + 1 IdBilling = 1 Set rsno = Nothing Sub Segar() lvbilling.listitems.clear Set rssegar = New ADODB.Recordset rssegar.open "Select * from tbilling order by IDBilling desc", CN, adopendynamic, adlockoptimistic If Not rssegar.eof Then Do While Not rssegar.eof Set j = lvbilling.listitems.add(,, rssegar!idbilling) j.subitems(1) = rssegar.fields("idsms") j.subitems(2) = rssegar.fields("kode") j.subitems(3) = rssegar.fields("banyak") rssegar.movenext If rssegar.eof Then Exit Do Loop Set rssegar = Nothing Sub SegarSMS() LvSms.ListItems.Clear Set rssegar = New ADODB.Recordset rssegar.open "Select * from tsms where status='1' order by IdSMS asc", CN, adopendynamic, adlockoptimistic If Not rssegar.eof Then Do While Not rssegar.eof Set j = LvSms.ListItems.Add(,, rssegar!idsms) j.subitems(1) = rssegar.fields("tgl") j.subitems(2) = rssegar.fields("nohp") j.subitems(3) = rssegar.fields("isi")
6 rssegar.movenext If rssegar.eof Then Exit Do Loop Set rssegar = Nothing Private Sub cboidsms_click() On Error Resume Next Set rssms = New ADODB.Recordset rssms.open "Select * from tsms Where IDSms=" & cboidsms.text & "", CN, adopendynamic, adlockoptimistic If Not rssms.eof = True Then lblnohp.caption = rssms!nohp nobalas = rssms!nohp lbltgl.caption = rssms!tgl Kode = Left(rsSMS!isi, 1) lblalamat = Alamat lblkode = Kode strisi = rssms!isi Alamat = Mid(strIsi, 5, 100) BanYak = Mid(strIsi, 3, 2) lblbanyak = BanYak JumLah = HarGa * BanYak lbljumlah.caption = Format(JumLah, "###,###") cmdhapus.enabled = True cmdproses.enabled = True cmdproses.enabled = False Set rssms = Nothing Private Sub cmdbatal_click() Me.WindowState = 0 Cari = False cmdproses.enabled = False cmdcari.enabled = True cmdbatal.enabled = True cmdcari.setfocus Private Sub cmd_click() cmd.visible = False CRViewer1.Visible = False Me.WindowState = 0 Cari = False cmdproses.enabled = False cmdcari.enabled = True cmdbatal.enabled = True
7 cmdcari.setfocus Private Sub cmdcari_click() cmdcari.enabled = False Cari = True Call CariNo cboidsms.locked = False cboidsms.setfocus Private Sub cmdhapus_click() Cari = False rssms.delete Set rssms = Nothing Call Call Call SegarSMS cmdproses.enabled = False cmdcari.enabled = True cmdcari.setfocus Private Sub cmdkeluar_click() Unload Me Private Sub cmdproses_click() cmdproses.enabled = False Set rssimpan = New ADODB.Recordset rssimpan.open "tpesan", CN, 1, 2 rssimpan.addnew rssimpan!idpesan = IDPesan rssimpan!idsms = cboidsms.text rssimpan!jumlah = JumLah rssimpan!stlunas = "B" rssimpan!userid = "rain" rssimpan.update Set rssimpan = Nothing Call Segar Set rsupdate = New ADODB.Recordset rsupdate.open "Update tsms set Status='*' where IDSms=" & cboidsms.text & "", CN, adopendynamic, adlockoptimistic Set rsupdate = Nothing Call SegarSMS CariNoBil Set rssimpan = New ADODB.Recordset rssimpan.open "tbilling", CN, 1, 2 rssimpan.addnew rssimpan!idbilling = IdBilling rssimpan!idsms = IDSms rssimpan!kode = Kode rssimpan!banyak = BanYak rssimpan!userid = "rain" rssimpan!stlunas = "B" rssimpan.update Set rssimpan = Nothing Set rssms = New ADODB.Recordset
8 rssms.open "Select * from tpelanggan Where nohp='" & NoHp & "'", CN, adopendynamic, adlockoptimistic If rssms.eof = True Then bolhp = True bolhp = False Set rssms = Nothing If bolhp = True Then Set rssimpan = New ADODB.Recordset rssimpan.open "tpelanggan", CN, 1, 2 rssimpan.addnew rssimpan!nohp = NoHp rssimpan!idbilling = IdBilling rssimpan!nmpelanggan = "xxxxxxxxxxxxxxx" rssimpan!alamat = Alamat rssimpan.update Set rssimpan = Nothing Me.Caption = "Save No Hp : " & NoHp Me.Caption = "Sudah ada No Hp: " & NoHp cmd.visible = True frmpesanan.windowstate = 1 Call CetakBiL Call Kirimin(noBalas, "Tagihan anda sebesar: " & JumLah) cmdcari.enabled = True cmdcari.setfocus Sub CetakBiL() Me.WindowState = 2 'Me.StartUpPosition = 0 CRViewer1.Visible = True Screen.MousePointer = vbhourglass CRViewer1.ReportSource = Report Bilangan = UCase(F_RPH(Trim(Str(JumLah)) & "0,0")) Report.txtNoPonsel.SetText lblnohp.caption Report.txtAlamat.SetText Alamat Report.txtBanyak.SetText lblbanyak.caption Report.txtHarga.SetText lblharga.caption Report.txtNmPaket.SetText lblnmpaket.caption Report.txtJumlah.SetText lbljumlah.caption Report.txtBilang.SetText Bilangan CRViewer1.ViewReport CRViewer1.Zoom 100 Screen.MousePointer = vbdefault Private Sub Form_Resize() CRViewer1.Top = 3500 CRViewer1.Left = 0 CRViewer1.Height = ScaleHeight CRViewer1.Width = ScaleWidth Private Sub Form_Activate()
9 CRViewer1.Visible = False Call Segar Call SegarSMS cmd.visible = False cmdproses.enabled = False cmdcari.enabled = True cmdbatal.enabled = True cmdcari.setfocus Private Sub Form_Load() Koneksi rscari.open "Select * from tsms where status='1' order by IDSms asc", CN, adopendynamic, adlockoptimistic Do Until rscari.eof = True cboidsms.additem rscari.fields("idsms") rscari.movenext Loop Set rscari = Nothing Sub () cboidsms.locked = True Sub () Me.Caption = "Data Pesanan Paket Makanan" nobalas = "" IdBilling = 0 cboidsms = "" lblid = "" lbltgl = "" lblnohp = "" lblkode = "" lblnmpaket = "" lblharga = "" lblbanyak = "" lbljumlah = "" Kode = "" BanYak = 0 JumLah = 0 strisi = "" HarGa = 0 Bilangan = "" bolsalah = False cboidsms = "" lblkode = "" Private Sub grid_click() If Cari = True Then Dim i As Integer i = grid.row IDPesan = grid.textmatrix(i, 1) cboidsms.text = IDPesan cmdhapus.enabled = True
10 Private Sub LvSms_Click() On Error Resume Next If Timer1.Enabled = True Then Timer1.Enabled = False Timer1.Enabled = True IDSms = LvSms.ListItems.Item(LvSms.SelectedItem.Index).Text cboidsms = IDSms Cari = True Set rssms = New ADODB.Recordset rssms.open "Select * from tsms Where IDSms=" & IDSms & "", CN, 1, 2 If Not rssms.eof = True Then Kode = Left(rsSMS!isi, 2) nobalas = rssms!nohp NoHp = rssms!nohp lblnohp.caption = rssms!nohp nobalas = rssms!nohp lbltgl.caption = rssms!tgl Kode = Left(rsSMS!isi, 1) lblalamat = Alamat lblkode = Kode strisi = rssms!isi Alamat = Mid(strIsi, 5, 100) BanYak = Mid(strIsi, 3, 2) lblbanyak = BanYak JumLah = HarGa * BanYak lbljumlah.caption = Format(JumLah, "###.###") Call CariData cmdhapus.enabled = True cmdproses.enabled = True Kode = "" lblkode = Kode Set rssms = Nothing Sub CariData() If Cari = True Then rscari.open "Select * from tpaket where kode='" & Kode & "'", CN, 1, 3 If Not rscari.eof Then lblnmpaket = rscari!nmpaket HarGa = rscari!harga lblharga = HarGa bolsalah = False bolsalah = True lblnmpaket = "" lblharga = "" Set rscari = Nothing If bolsalah = False Then Call CariNo
11 Set rssms = New ADODB.Recordset rssms.open "Select * from tsms Where IDSms=" & _ IDSms & "", CN, 1, 2 If Not rssms.eof = True Then lblnohp.caption = rssms!nohp nobalas = rssms!nohp lbltgl.caption = rssms!tgl Kode = Left(rsSMS!isi, 1) strisi = rssms!isi Alamat = Mid(strIsi, 5, 100) lblalamat = Alamat BanYak = Mid(strIsi, 3, 2) lblbanyak = BanYak JumLah = HarGa * BanYak lbljumlah.caption = Format(JumLah, "###,###") cmdhapus.enabled = True cmdproses.enabled = True cmdproses.enabled = False Set rssms = Nothing MsgBox "Format SMS salah " Call Kirimin(noBalas, "Format SMS anda salah.. Format_ SMS _Info <Spasi>#, Format SMS Pemesanan: KodePaket_ <spasi>banyak<spasi>alamatpemesan<spasi>#") Call cmdproses.enabled = False Private Sub Timer1_Timer() Call SegarSMS Segar 5. Bayar 'Option Explicit Dim Report As New crbuktibayar Dim rsbayar As Recordset Dim rsbilling As Recordset Dim rssms As Recordset Dim IDSms, IdBilling As Integer Dim Kode As String * 1 Dim BanYak As Integer Dim JumLah As Single Dim strisi As String Dim HarGa As Single Dim Bilangan, Alamat, NmPaket As String Sub SimPan() Set rsubah = New ADODB.Recordset rsubah.open "Update tbilling set StLunas='L' where IdBilling=" & IdBilling & "", CN, adopendynamic, adlockoptimistic Set rsubah = Nothing Call Segar
12 X = MsgBox("Mau Cetak Bukti?", vbyesno) Me.WindowState = 2 If X = vbyes Then CRViewer1.Visible = True Screen.MousePointer = vbhourglass Bilangan = UCase(F_RPH(Trim(Str(JumLah)) & "0,0")) CRViewer1.ReportSource = Report Report.txtNoBilling.SetText IdBilling Report.txtBilang.SetText Bilangan Report.txtJumlah.SetText JumLah Report.txtNmPaket.SetText lblnmpaket.caption CRViewer1.ViewReport CRViewer1.Zoom 100 Screen.MousePointer = vbdefault cmdtambah.enabled = False Sub Segar() LvBayar.ListItems.Clear Set rssegar = New ADODB.Recordset rssegar.open "Select * from tbilling where STLunas='B' order by IdBilling asc", CN, adopendynamic, adlockoptimistic If Not rssegar.eof Then Do While Not rssegar.eof Kode = rssegar!kode BanYak = rssegar!banyak rscari.open "Select * from tpaket where kode='" & Kode & _ "'", CN, 1, 3 If Not rscari.eof Then NmPaket = rscari!nmpaket HarGa = rscari!harga JumLah = BanYak * HarGa NmPaket = "" Set rscari = Nothing Set j = LvBayar.ListItems.Add(,, rssegar!idbilling) j.subitems(1) = NmPaket j.subitems(2) = BanYak j.subitems(3) = HarGa j.subitems(4) = JumLah rssegar.movenext If rssegar.eof Then Exit Do Loop Set rssegar = Nothing Private Sub cmdbatal_click() cmdtambah.enabled = True Cari = False tambah = False
13 CRViewer1.Visible = False cmdtambah.enabled = False Private Sub cmd_click() cmd.visible = False CRViewer1.Visible = False Me.WindowState = 0 Cari = False Call Segar cmdbatal.enabled = True cmdtambah.enabled = False Private Sub cmdhapus_click() Set rsupdate = New ADODB.Recordset rsupdate.open "Update tbilling SET StLunas ='B' where IdBilling=" & IdBilling & "", CN, adopendynamic, adlockoptimistic Set rsupdate = Nothing Segar MsgBox "Data sudah dihapus" cmdtambah.enabled = False Private Sub cmdkeluar_click() Unload Me Private Sub cmdtambah_click() tambah = True Cari = False cmdtambah.enabled = False cmd.visible = True Call SimPan Sub () IdBilling = 0 lblalamat = "" lblid = "" lbltgl = "" lblnohp = "" lblkode = "" lblnmpaket = "" lblharga = "" lblbanyak = "" lbljumlah = "" Kode = "" BanYak = 0 JumLah = 0 strisi = "" HarGa = 0 Bilangan = ""
14 Private Sub Form_Activate() Segar cmdtambah.enabled = False Private Sub Form_Load() Koneksi CRViewer1.Visible = False Private Sub Form_Resize() CRViewer1.Top = 4000 CRViewer1.Left = 0 CRViewer1.Height = ScaleHeight CRViewer1.Width = ScaleWidth Private Sub LvBayar_Click() lbltgl.caption = Format(Now, "dd-mm-yyyy") IdBilling = LvBayar.ListItems.Item(LvBayar.SelectedItem.Index).Text lblid = IdBilling rscari.open "Select * from tbilling where IDBilling=" _ & IdBilling & "", CN, 1, 2 If Not rscari.eof Then Kode = rscari!kode IDSms = rscari!idsms rscari.open "Select * from tpaket where kode='" _ & Kode & "'", CN, 1, 3 If Not rscari.eof Then lblnmpaket = rscari!nmpaket HarGa = rscari!harga lblharga = Format(HarGa, "###,###") lblnmpaket = "" lblharga = "" Set rssms = New ADODB.Recordset rssms.open "Select * from tsms Where IDSms=" & _ IDSms & "", CN, adopendynamic, adlockoptimistic If Not rssms.eof = True Then lblnohp.caption = rssms!nohp strisi = rssms!isi Alamat = Mid(strIsi, 5, 100) lblalamat = Alamat BanYak = Mid(strIsi, 3, 2) lblbanyak = BanYak JumLah = HarGa * BanYak lbljumlah.caption = Format(JumLah, "###,###") cmdhapus.enabled = True Set rssms = Nothing cmdtambah.enabled = True MsgBox "Data tidak ada..."
15 Set rscari = Nothing 6. Laporan Option Explicit Dim Report As New crlapjual Private Sub CeTak() Screen.MousePointer = vbhourglass CRViewer1.ReportSource = Report 'Report.RecordSelectionFormula = "{tangsuran.tglangsur}>=date(" & Format(CDate(txtTgl1.Text), "yyyy,mm,dd") & ") and {tangsuran.tglangsur}<=date(" & Format(CDate(txtTgl2.Text), "yyyy,mm,dd") & ")" Report.RecordSelectionFormula = "{tsms.tgl}=date(" & Format(CDate(txtTgl.Text), "yyyy,mm,dd") & ")" Report.txtTgl.SetText Format(txtTgl.Text, "dd-mm-yyyy") CRViewer1.ViewReport CRViewer1.Zoom 100 Screen.MousePointer = vbdefault Private Sub cmdcetak_click() Call CeTak Private Sub cmdkeluar_click() Unload Me Private Sub Form_Activate() txttgl.enabled = True txttgl.text = Format(Now, "dd-mm-yyyy") cmdcetak.enabled = False txttgl.setfocus Private Sub Form_Load() Koneksi Private Sub Form_Resize() CRViewer1.Top = 1500 CRViewer1.Left = 500 CRViewer1.Height = ScaleHeight CRViewer1.Width = ScaleWidth Sub Cari() rscari.open "select * from tsms where Tgl >=#" & Format(txtTgl.Text, "dd-mm-yyyy") & "# and Tgl <=#" & Format(txtTgl.Text, "dd-mm-yyyy") & "#", CN, adopendynamic, adlockoptimistic 'rscari.open "select * from tsms where Tgl >=#" & txttgl.text & "# and Tgl <=#" & txttgl.text & "#", CN, adopendynamic, adlockoptimistic If Not rscari.eof = True Then cmdcetak.enabled = True cmdcetak.setfocus
16 MsgBox "Data tidak ada" txttgl.setfocus Private Sub txttgl_keypress(keyascii As Integer) If KeyAscii = 13 Then txttgl.text = Format(txtTgl, "dd-mm-yyyy") Call CeTak 7. User Option Explicit Dim rspasswd As Recordset Private Sub cmdbatal_click() txtuserid.text = "" txtpasswd.text = "" tambah = False Cari = False cmdrubah.enabled = False cmdcari.enabled = True cmdtambah.enabled = True cmdtambah.setfocus Private Sub cmdcari_click() Cari = True cmdtambah.enabled = False cmdcari.enabled = False txtuserid.locked = False txtuserid.setfocus Private Sub cmdhapus_click() Set rshapus = New ADODB.Recordset rshapus.open "Delete tuser where UserID='" & txtuserid.text & "' and Passwd='" & txtpasswd.text & "'", CN, adopendynamic, adlockoptimistic txtuserid.text = "" txtpasswd.text = "" MsgBox "User sudah di hapus..." cmdrubah.enabled = False cmdcari.enabled = True cmdtambah.enabled = True cmdtambah.setfocus Private Sub cmdkeluar_click() Unload Me
17 Private Sub cmdrubah_click() ubah = True cmdrubah.enabled = False txtpasswd.locked = False txtpasswd.setfocus Private Sub cmdtambah_click() tambah = True cmdtambah.enabled = False cmdcari.enabled = False txtuserid.locked = False txtuserid.setfocus Private Sub Form_Activate() txtuserid.locked = True txtpasswd.text = "" txtuserid.text = "" tambah = False Cari = False cmdrubah.enabled = False cmdcari.enabled = True cmdtambah.enabled = True cmdtambah.setfocus Sub () txtuserid.locked = True txtpasswd.locked = True cmdrubah.enabled = False Sub () txtuserid.text = "" txtpasswd.text = "" Private Sub Form_Load() Koneksi Private Sub txtpasswd_keypress(keyascii As Integer) If KeyAscii = 13 Then Set rspasswd = New ADODB.Recordset rspasswd.open "Select * from tuser where UserID='" & txtuserid.text & "' and Passwd='" & txtpasswd.text & "'", CN, adopendynamic, adlockoptimistic If tambah = True Then If rspasswd.eof = True Then Set rssimpan = New ADODB.Recordset rssimpan.open "select * from tuser", CN, adopendynamic, adlockoptimistic rssimpan.addnew rssimpan.fields("userid") = txtuserid.text rssimpan.fields("passwd") = txtpasswd.text rssimpan.update txtuserid.text = ""
18 txtpasswd.text = "" MsgBox "Data sudah tersimpan" tambah = False cmdtambah.enabled = True cmdcari.enabled = True cmdtambah.setfocus MsgBox "User sudah ada..." txtpasswd.text = "" txtuserid.text = "" txtuserid.setfocus If ubah = True Then Set rsubah = New ADODB.Recordset rsubah.open "Update tuser Set Passwd ='"_ & txtpasswd.text & "' where UserID ='" & _ txtuserid.text & "'", CN, adopendynamic, adlockoptimistic txtuserid.text = "" txtpasswd.text = "" MsgBox "Data sudah Ubah" cmdtambah.enabled = True cmdcari.enabled = True cmdtambah.setfocus Private Sub txtuserid_keypress(keyascii As Integer) If KeyAscii = 13 Then If tambah = True Then rscari.open "Select * from tuser where _ UserID='" & txtuserid.text & "'", CN, _ adopendynamic, adlockoptimistic If rscari.eof = True Then txtpasswd.locked = False txtpasswd.setfocus MsgBox "User sudah ada..." txtuserid.text = "" txtpasswd.text = "" txtuserid.setfocus If Cari = True Then rscari.open "Select * from tuser where _ UserID='" & txtuserid.text & "'", CN, _ adopendynamic, adlockoptimistic If rscari.eof = True Then MsgBox "User belum ada..." txtuserid.text = "" txtuserid.setfocus
19 txtpasswd.text = rscari.fields("passwd") cmdrubah.enabled = True cmdhapus.enabled = True cmdrubah.setfocus 8.Paket Option Explicit Dim rskode As Recordset Dim Kode As String * 1 Sub Segar() LvPaket.ListItems.Clear Set rssegar = New ADODB.Recordset rssegar.open "Select * from tpaket order by Kode asc", CN, adopendynamic, adlockoptimistic If Not rssegar.eof Then Do While Not rssegar.eof Set j = LvPaket.ListItems.Add(,, rssegar!kode) j.subitems(1) = rssegar.fields("nmpaket") j.subitems(2) = rssegar.fields("harga") j.subitems(3) = rssegar.fields("keterangan") rssegar.movenext If rssegar.eof Then Exit Do Loop Set rssegar = Nothing Private Sub cmdbatal_click() tambah = False Cari = False cmdtambah.enabled = True cmdcari.enabled = True cmdrubah.visible = True cmdrubah.enabled = False cmdupdate.visible = False cmdbatal.enabled = True cmdtambah.setfocus Private Sub cmdcari_click() Cari = True tambah = False cmdtambah.enabled = False cmdcari.enabled = False txtkode.locked = False LvPaket.Enabled = True txtkode.setfocus
20 Private Sub cmdhapus_click() On Error GoTo salah Set rshapus = New ADODB.Recordset rshapus.open "Delete from tpaket where Kode='" & _ txtkode.text & "'", CN, adopendynamic, adlockoptimistic MsgBox "Data sudah dihapus" Segar cmdrubah.enabled = False cmdtambah.enabled = True cmdcari.enabled = True cmdtambah.setfocus salah: If Err.Number <> 0 Then MsgBox "Gagal dihapus..." Exit Sub Private Sub cmdkeluar_click() Unload Me Private Sub cmdrubah_click() ubah = True Cari = False tambah = False cmdrubah.visible = False cmdupdate.visible = True txtnama.locked = False txtnama.setfocus Private Sub cmdsimpan_click() X = MsgBox("Mau disimpan?", vbyesno) If X = vbyes Then SimPan Segar tambah = False MsgBox "Data sudah di Simpan" cmdtambah.visible = True cmdsimpan.visible = False cmdcari.enabled = True cmdrubah.enabled = False cmdtambah.enabled = True cmdtambah.setfocus tambah = False cmdtambah.visible = True cmdsimpan.visible = False cmdcari.enabled = True cmdrubah.enabled = False cmdtambah.setfocus
21 Private Sub cmdtambah_click() tambah = True Cari = False cmdtambah.enabled = False cmdcari.enabled = False txtkode.locked = False txtkode.setfocus Private Sub cmdupdate_click() Set rsubah = New ADODB.Recordset rsubah.open "Update tpaket set NmPaket='" & txtnama.text & "', Harga=" & txtharga.text & ", Keterangan='" & txtket.text & "' where Kode='" & txtkode.text & "'", CN, adopendynamic, adlockoptimistic Segar cmdupdate.visible = False cmdrubah.visible = True cmdrubah.enabled = False cmdcari.enabled = True cmdtambah.enabled = True cmdtambah.setfocus Sub SimPan() Set rssimpan = New ADODB.Recordset rssimpan.open "tpaket", CN, adopendynamic, adlockoptimistic rssimpan.addnew rssimpan!kode = txtkode.text rssimpan!nmpaket = txtnama.text rssimpan!harga = txtharga.text rssimpan!keterangan = txtket.text rssimpan.update Private Sub Form_Activate() Segar LvPaket.Enabled = False cmdsimpan.visible = False cmdrubah.visible = True cmdrubah.enabled = False cmdupdate.visible = False cmdtambah.enabled = True cmdcari.enabled = True cmdtambah.setfocus Private Sub Form_Load() Koneksi Sub () txtkode.locked = True txtnama.locked = True txtharga.locked = True txtket.locked = True
22 Sub () txtkode = "" txtnama = "" txtharga = "" txtket = "" Private Sub LvPaket_Click() If Cari = True Then Kode = LvPaket.ListItems.Item(LvPaket.SelectedItem.Index).Text rscari.open "Select * from tpaket where Kode='" & Kode & "'", CN, 1, 2 If Not rscari.eof Then txtkode = Kode txtnama.text = rscari!nmpaket txtharga.text = rscari!harga txtket.text = rscari!keterangan cmdrubah.enabled = True cmdhapus.enabled = True MsgBox "Data tidak ada..." Set rscari = Nothing Private Sub txtharga_keypress(keyascii As Integer) If KeyAscii = 13 Then txtket.locked = False txtket.setfocus Private Sub txtket_keypress(keyascii As Integer) If KeyAscii = 13 Then If tambah = True Then cmdsimpan.visible = True cmdtambah.visible = False cmdsimpan.setfocus Private Sub txtkode_change() If Len(txtKode.Text) < 1 Then Exit Sub If txtkode.text <> "" Then rscari.open "Select * from tpaket where Kode='" & txtkode.text & "'", CN, 1, 3 If tambah = True Then If rscari.eof = True Then txtnama.locked = False txtnama.setfocus
23 MsgBox "Kode sudah ada" txtkode = "" txtkode.setfocus If Cari = True Then If Not rscari.eof = True Then txtnama = rscari!nmpaket txtharga.text = rscari!harga txtket.text = rscari!keterangan cmdrubah.enabled = True cmdhapus.enabled = True cmdrubah.setfocus MsgBox "Kode tidak ada" txtkode = "" txtkode.setfocus Private Sub txtkode_keypress(keyascii As Integer) If KeyAscii = 13 Then If Cari = True Then rscari.open "Select * from tpaket where Kode='" & txtkode.text & "'", CN, 1, 3 If Not rscari.eof = True Then txtnama.text = rscari!nmfilesuara cmdrubah.enabled = True cmdhapus.enabled = True cmdrubah.setfocus MsgBox "Data tidak ada" txtkode.text = "" txtkode.setfocus Private Sub txtharga_change() If ubah = True Then cmdrubah.visible = False cmdupdate.visible = True cmdupdate.setfocus Private Sub txtnama_keypress(keyascii As Integer) If KeyAscii = 13 Then txtharga.locked = False txtharga.setfocus
1. Menu Utama. Private Sub abt_click() frmabout.show End Sub. Private Sub dafabsenhar_click() frmdafabsensihar.show End Sub
1. Menu Utama Private Sub abt_click() frmabout.show Private Sub dafabsenhar_click() frmdafabsensihar.show Private Sub dafpeg_click() frmdafpegawai.show Private Sub dafuser_click() frmdaftaruser.show Private
More informationLISTING PROGRAM. 1. Form Menu Utama. Universitas Sumatera Utara
LISTING PROGRAM 1. Form Menu Utama Dim LenTemp As Integer Dim SrtTemp As String Dim n As Integer Private Sub Form_Load() Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu,
More informationLAMPIRAN A : LISTING PROGRAM
LAMPIRAN A : LISTING PROGRAM 1. frmmenu.frm Dim CN As Connection Dim rshapus As Recordset Private Sub DfaHasil_Click() Call frmlap.cetak Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString
More informationLISTING PROGRAM. 1. Menu Utama
LISTING PROGRAM 1. Menu Utama Dim rsupdate As Recordset Dim rscari As Recordset Dim strusername As String * 10 Dim Status As String * 1 Dim JumUser As Integer Public system_mon As String Public service_mon
More informationLAMPIRAN 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 informationTutorial, Source code, Request Program Visual Basic
Tutorial, Source code, Request Program Visual Basic Oleh : Moh. A Azis Membuat Form Data Barang Program Persediaan Barang Form Data Barang digunakan untuk menyimpan data barang dan memberikan info mengenai
More informationLISTING PROGRAM. Form Splash
LISTING PROGRAM Form Splash Private Sub Form_Load() lblversion.caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision lblproductname.caption = App.Title lblcopyright.caption = App.LegalCopyright
More informationLAMPIRAN A LISTING PROGRAM. Universitas Sumatera Utara
LAMPIRAN A LISTING PROGRAM LISTING PROGRAM MENU UTAMA Dim T As String Dim i Private Sub Dafsis_Click() Form5.Show Private Sub Dafwai_Click() Form5.Show Private Sub Dasis_Click() Form2.Show Private Sub
More informationLISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub
LISTING PROGRAM 1. Form Login Private Sub BATAL_Click() End Sub Bersih() USERNAME.Text = "" PASSWORD.Text = "" Private Sub Form_Load() Bersih Private Sub OK_Click() Sql = "select*from tbl_login where username='"
More informationLAMPIRAN. Universitas Sumatera Utara
61 LAMPIRAN 61 Listing Program Form 1 ( Barang ) Dim CnSuzuya As ADODB.Connection Dim CommBar As ADODB.Command Dim rsbar As ADODB.Recordset Dim StrSql As String Dim psn As Byte Private Sub Form_Load()
More informationLAMPIRAN : LISTING PROGRAM
LAMPIRAN : LISTING PROGRAM Kode Program Form Login Private Sub cbolevel_click() If cbolevel.text = "Pengguna" Then txtlogin.enabled = False txtpass.enabled = False txtlogin.visible = False txtpass.visible
More informationLAMPIRAN 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 informationEnd Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub
Source Aplikasi Sistem Informasi Akademik GENERAL Dim db As Connection Dim WithEvents adoprimaryrs1 As Recordset Dim WithEvents adoprimaryrs2 As Recordset Dim WithEvents rscaridata As Recordset Dim cekid
More informationLAMPIRAN 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 informationLAMPIRAN A : LISTING PROGRAM
LAMPIRAN A : LISTING PROGRAM 1. Form Login Private Sub Siap() txtnama.enabled = True txtpswd.enabled = True Private Sub BlmSiap() txtnama.enabled = False txtpswd.enabled = False Private Sub Kosong() txtnama
More informationLampiran 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 informationLAMPIRAN. Universitas Sumatera Utara
67 LAMPIRAN Lampiran A-1 Listing Program Visual Basic Private Sub mn_isidata_click() frm_isi_data.show Me.Hide Private Sub mn_koneksiport_click() frm_koneksi_port.show Me.Hide Private Sub mn_tentang_click()
More informationL 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 informationLAMPIRAN A: LISTING PROGRAM
LAMPIRAN A: LISTING PROGRAM 1. Form Home Private Sub Command1_Click() frmhome.hide frmnavigasi.show Private Sub Command2_Click() End Private Sub Timer1_Timer() If Picture1.Visible = False Then Picture1.Visible
More informationSURAT KETERANGAN Hasil Uji Program Tugas Akhir
SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan dibawah ini, menerangkan bahwa Tugas Akhir Mahasiswa Program Diploma 3 Teknik Informatika : Nama : FADILLA MAHARANI NIM : 112406159 Program
More informationLAMPIRAN. Universitas Sumatera Utara
LAMPIRAN DAFTAR NAMA MURID KELAS VIIa SMP TRI JAYA MEDAN TAHUN PELAJARAN 2011/2012 Kelas : VII a SMP Wali Kelas : R.Pakpahan S,Pd Guru BP/BK : D.Purba,S.Pd NO NOMOR INDUK NAMA SISWA L/P NISN 1 942 ANGELIA
More informationLAMPIRAN 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 informationNilai Input (Peringkat Alternatif Fuzzy dan Crisp Terhadap Kriteria)
LAMPIRAN-A PENYELESAIAN DENGAN METODE FUZZY TOPSIS Secara umum, prosedur Fuzzy TOPSIS mengikuti langkah-langkah sebagai berikut: 1. Membuat matriks keputusan yang ternormalisasi, 2. Menentukan matriks
More informationL A M P I R A N. Universitas Sumatera Utara
L A M P I R A N LISTING PROGRAM 1. Listing Pembuka Dim strado$ Dim n As Integer Private Sub Close_Click() End Private Sub Command1_Click() If Option1.Value = True Then Search.Show If Option2.Value = True
More informationLAMPIRAN A PROGRAM ADMINISTRASI
LAMPIRAN A PROGRAM ADMINISTRASI Program Administrasi FORM HOME ==load form tarif yang berlaku== Private Sub Cmd_DftrTarif_Click() End Sub Load Frm_Tarif Frm_Tarif.Show ==load form isi ulang kartu== Private
More informationRemainder Cordial Labeling of Graphs
Journal of Algorithms and Computation journal homepage: http://jac.ut.ac.ir Remainder Cordial Labeling of Graphs R. Ponraj 1, K. Annathurai and R. Kala 3 1 Department of Mathematics, Sri Paramakalyani
More informationPrivate Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub
LISTING PROGRAM Menu_Utama.vb Public Class FrmUtama Private Sub DataMovieToolStripMenuItem_Click(ByVal sender As DataMovieToolStripMenuItem.Click FrmMovie.ShowDialog() Private Sub DataPeminjamToolStripMenuItem_Click(ByVal
More informationPROGRAM 1: SIMPLE CALCULATOR
PROGRAM 1: SIMPLE CALCULATOR Option Explicit Dim operand1 As Double, operand2 As Double Dim op1 As Double, op2 As Double Dim operator As String Dim cleardisplay As Boolean Private Sub Cmdclear_Click()
More informationContents Introduction Getting Started Visual Basic Form Configuration Entering the VB Code
Your comments and suggestions on the operation of this software are welcome. Please address them to: ICONICS 100 Foxborough Blvd. Foxborough, MA 02035 Tel: 508-543-8600 Fax: 508-543-1503 E-mail: support@iconics.com
More information22. VB Programming Fundamentals Data Access with Data Objects
22. VB Programming Fundamentals Data Access with Data Objects 22.1 Data Access Object MS Data Access Object (DAO) enables you to use a programming language to access and manipulate data in local or remote
More informationVisual 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 informationAn InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is
InputBox( ) Function An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is A = InputBox ( Question or Phrase, Window Title, ) Example1: Integer:
More informationUniversitas Sumatera Utara
43 L A M P I R A N 44 Penulisan Kode Program Aplikasi Game Tetris A. Kode program aplikasi game tetris untuk form1 ( MainF.frm ) adalah sebagai berikut. Dim BANK As Database Dim RS As DAO.Recordset Private
More informationLookup Project. frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function:
Lookup Project frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function: Help About, in a Message Box lookup.vbp programmed by C.Gribble Page 2 Code for
More informationRooftop Industries Pvt. Ltd.
Rooftop Industries Pvt. Ltd. Production and inventory management system A level Computing Project Shritesh Bhattarai Little Angels' College 1 Table of Contents Definition, investigation and analysis...
More informationCrystal Reports 8. Overview. Contents. Using Data Definition (TTX) files to pass an ADO recordset to a Crystal Report.
Crystal Reports 8 to pass an ADO recordset to a Crystal Report. Overview Contents This document provides information about using Data Definition (TTX) files and Active Data with Crystal Reports. This document
More informationL 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 informationPrivate Sub Command2_Click() End End Sub. Private Sub Command3_Click() frmchangepassword.show End Sub. Private Sub Form_Activate() check_db End Sub
Private Sub Command1_Click() On Error Resume If rs.state = adstateopen Then rs.close rs.open "select * from login where UserName='" & txtusername & "' And Log_Password='" & txtpassword & "'", conn, 1,
More informationPlease answer questions in the space provided. Question point values are shown in parentheses.
IS 320 Spring 99 Page 1 Please answer questions in the space provided. Question point values are shown in parentheses. 1. (15) Assume you have the following variable declarations and assignments: Dim A
More informationLAMPIRAN. Universitas Sumatera Utara
LAMPIRAN 1. Modul Imports System.Data Imports System.Data.OleDb Module Module1 Public conn As OleDbConnection Public CMD As OleDbCommand Public DS As New DataSet Public DA As OleDbDataAdapter Public RD
More informationAIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software
Ex. No.1 Date: ONLINE COURSE RESERVATION AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software PROBLEM STATEMENT As the head of information systems for
More informationPropose 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 informationLAMPIRAN A: Listing Program
78 LAMPIRAN A: Listing Program 1. Form Login Public Class FrmLogin Public user As String Private Sub CmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdLogin.Click Dim
More information11-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 informationL 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ต วอย างการสร างฟอร ม เมน การใช งาน
ต วอย างการสร างฟอร ม เมน การใช งาน 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 informationLISTING 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 informationIS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses.
IS 320 Spring 96 Page 1 Please use your own paper to answer the following questions. Point values are shown in parentheses. 1. (10) Consider the following segment of code: If txtansicode.text < "0" Or
More informationInformation Hiding In Images Using Randomly Selected Points
Republic of Iraq Ministry Of Higher Education And Scientific Research University Of Baghdad College Of Science Department Of Computer Science Information Hiding In Images Using Randomly Selected Points
More informationL 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 informationLISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal
LISTING PROGRAM 1. Tampilan Awal Public Class Awal Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(10) If ProgressBar1.Value
More informationUniversitas Sumatera Utara
Option Explicit DefLng A-Z '--------------------------------------------------------------------------------------------- #Const Test = False '---------------------------------------------------------------------------------------------
More informationTABLE OF CONTENTS ADVANCED VISUAL BASIC
TABLE OF CONTENTS ADVANCED VISUAL BASIC TABLE OF CONTENTS ADVANCED VISUAL BASIC...1 REVIEW OF IMPORTANT PROGRAMMING CONCEPTS...4 OVERVIEW...4 EXCERPT FROM WIKIPEDIA ARTICLE ON CAMELCASE...5 REVIEW QUESTIONS...6
More informationLISTING PROGRAM. PrivateSub KeluarToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles KeluarToolStripMenuItem.Click Close() EndSub
LISTING PROGRAM 1.Tampilan awal PublicClassmm PrivateSub InputDataGuruToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles InputDataGuruToolStripMenuItem.Click guru.show() Me.Hide() EndSub PrivateSub
More informationPROGRAM BASCOM AVR. ' inisialisasi '
PROGRAM BASCOM AVR '--------------------------------------- inisialisasi '----------------------- $prog &HFF, &HC4, &HD9, &H00 ' generated. Take care that the chip supports all fuse bytes. $regfile = "m8def.dat"
More informationIntroduction to Microsoft Message Queuing Services (MSMQ)
3 Introduction to Microsoft Message Queuing Services (MSMQ) Distributed applications run on two or more computers. They communicate with one another by passing data over machine boundaries through appropriate
More informationDATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) AGENDA 3. Executing VBA
More informationRevisions: jee Initial jee SW Version 1.1 now includes the leave type Other
Memorandum To: From: File John Effland Date: 2005-03-10 Revisions: 2005-03-10 jee Initial 2006-02-24 jee SW Version 1.1 now includes the leave type Other Subject: Leave Calendar Program Architecture and
More informationNATIONAL DIPLOMA IN COMPUTER TECHNOLOGY
UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY OOBASIC/VISUAL BASIC PROGRAMMING COURSE CODE: COM 211 YEAR I SEMESTER II PRACTICAL
More informationONLINE RAILWAY RESERVATION SYSTEM
Ex. No: Date: ONLINE RAILWAY RESERVATION SYSTEM AIM: methodologies To develop a software for online railway reservation system project by using software ALGORITHM: Step1: Open a VB project. Step2: Design
More informationEMPLOYEE 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 informationDAFTAR 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 informationVisual Basic ,
Visual Basic 6.0..!"# !"# $#%$$"& ( ( 6.0) 2 $, -&, - 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm. 2/59 !"# $#%$$"& ( ( 6.0) 3 $, -&, - 3/59 !"# $#%$$"&
More information2. (16) Salesperson bonuses are paid based on a combination of total unit sales and the number of new accounts according to the following table:
IS 320 Exam 1 page 1 Please use the space provided on this exam to answer the questions. Clearly show your work for possible partial credit. Question point values are shown in parenthses. 1. (16) Given
More information'... '... '... 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 informationFRAMEWORK CODE: On Error Resume Next Dim objapp As Object Dim ObjSEEC As Object
Here is a piece of the sample Visual Basic code for the framework. Following are the steps mentions to specify about how to use the given sample code. Prerequisite: It is assumed that the action trigger
More informationLAMPIRAN. - id_produk refrensi ke tabel tb_produk. No Nama Field Type Data Panjang. 1 id_cart Integer 5. 2 id_member Integer 5. 3 id_produk Integer 5
90 LAMPIRAN Perancangan Data Base 1. Spesifikasi tb_cart Primary Key : id_cart - id_member refrensi ke tabel tb_member - id_produk refrensi ke tabel tb_produk 1 id_cart Integer 5 2 id_member Integer 5
More information2-26 Learn Visual Basic 6.0
2-26 Learn Visual Basic 6.0 cmdcompute Click Event: Private Sub cmdcompute_click() Dim Mean As Single Dim StdDev As Single txtinput.setfocus Make sure there are at least two values If NumValues < 2 Then
More informationLAMPIRAN 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 informationFunction: function procedures and sub procedures share the same characteristics, with
Function: function procedures and sub procedures share the same characteristics, with one important difference- function procedures return a value (e.g., give a value back) to the caller, whereas sub procedures
More informationVisual Basic , ,. Caption Hello, On Off. * + +, -. 1-Arrow, , 2- Cross. - project1.vbp, 4-form1.frm.
Visual Basic 6.0 1.,. Caption Hello, On Off. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...
More informationVISUAL BASIC SERVER INTERFACE CODE. Visual Basic 6 Graphical Interface 103. Visual Basic Module rtsscomm.bas Code.115
APPENDIX E VISUAL BASIC SERVER INTERFACE CODE Page E.1: E.2: E.3: E.4: E.5: Visual Basic 6 Graphical Interface 103 Visual Basic Form gyrofront.frm Code.....104 Visual Basic Module mydatatypes.bas Code..114
More informationLampiran 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 informationVisual Basic ,
Visual Basic 6.0 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...
More informationCreating a Dynamo with VBA Scripts
Creating a Dynamo with VBA Scripts Creating a Dynamo with VBA 1 Table of Contents 1. CREATING A DYNAMO WITH VBA... 3 1.1 NAMING CONVENTIONS FOR DYNAMO OBJECTS...3 1.2 CREATING A DYNAMO...4 1.3 DESIGNING
More informationAdvanced Topics in Automated Test Scripting
*534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 253 Part Four Advanced Topics in Automated Test Scripting *534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 254 *534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 255 CHAPTER 8 Introduction
More informationTech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson
Tech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson Introduction Among the many new features of PATROL version 3.3, is support for Microsoft s Component Object Model (COM).
More informationNE1R EAST UNIVERSITY, FA-CULTYOF ENGINEERING DEPARTMENT OF COMPUTER ENGINEERING COM400 GRADUATION PROJECT LIBRARY AND BOOKSTORE AND DATABASE
NE1R EAST UNIVERSITY, FA-CULTYOF ENGINEERING DEPARTMENT OF COMPUTER ENGINEERING COM400 GRADUATION PROJECT LIBRARY AND BOOKSTORE AND DATABASE SUBMITTED TO MRS BESiME ERIN SUBMITTED BY IMRAN SOHAIL & BEDRiYE
More informationPassword Protect an Access Database
Access a Password Protected Microsoft Access Database from within Visual Basic 6 Have you ever wanted to password protect an Access Database that is a Data Store (a repository of Data) used in one of your
More informationFIT 100. o best you can do is start at the beginning: linear search. o It s a bit like 20 questions, but MUCH more specific.
Searching A List: Reiew Topics In Programming Why Algorithms Matter Procedures Collections If there s no order to the list (or the Yellow Pages)... o best you can do is start at the beginning: linear search
More informationIS 320 A/B Spring 97 Page 1 Exam 1
IS 320 A/B Spring 97 Page 1 Please use the paper supplied by the instructor to answer the questions. Question point values are shown in parentheses. 1. (18) What output is generated by the three MsgBox
More informationGETTING STARTED WITH VBA
Split Your Windows Click & Retrieve Source CODE! Add a Splitter class to your application to give it a Windows 95 Explorer-style splitter bar. by Chris Barlow n the last few columns I ve looked at the
More informationPROJECT 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 informationKARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB
62 KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jl. Bioteknologi No.1 Kampus USU Padang Bulan Medan 20155 Telp. (061) 8211050, 8214290, Fax (061)
More informationOn Railway Reservation. U G D C A Semester VI. Roll No DA
On Railway Reservation U G D C A Semester VI Submitted to: Dr. P. K. Sen (Co-ordinator) Submitted By: (Name of Student) Roll No. 14836DA Contents 1. Acknowledgement 2. Objectives 3. Declaration 4. Analysis
More informationChapter 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'... '... '... Module created: unknown '... Proj finished: March 21, 2012 '... '...
ThisWorkbook - 1 If g_bdebugmode Then '... Module created: unknown '... Proj finished: March 21, 2012 '************************* CLASS-LEVEL DECLARATIONS ************************** Option Explicit Option
More informationDefinition, Investigation and Analysis
Definition, Investigation and Analysis Introduction and Nature of the Problem Introduction Pradhan Store is a wholesale store located in Nakhipot, Lalitpur. It has been providing its service since the
More informationLAMPIRAN-LAMPIRAN A. Source Code 1) Sample Controller pada HomeController.php
67 LAMPIRAN-LAMPIRAN A. Source Code 1) Sample Controller pada HomeController.php
More information( ) 1.,, Visual Basic,
( ) 1. Visual Basic 1 : ( 2012/2013) :. - : 4 : 12-14 10-12 2 http://www.institutzamatematika.com/index.ph p/kompjuterski_praktikum_2 3 2 / ( ) 4 90% 90% 10% 90%! 5 ? 6 "? : 7 # $? - ( 1= on 0= off ) -
More informationFinancial Functions (all with subtypes: Normal, Stairs, Points, Height, Hollow, Colors, Marks, No Border except where indicated):
Financial Charting in TeeChart Pro TeeChart Pro has always been at the cutting edge of Financial Charting and the ActiveX v6 makes this very clear; with three distinct financial series and fourteen dedicated
More informationLoop Structures. Loop Structures. Algorithm to record 5 TV programmes. Recall Structured Programming..3 basic control structures.
Loop Structures Recall Structured Programming..3 basic control structures Sequence Input -> Process -> Output Selection IF ENDIF SELECT CASE END SELECT Loop Structures DO WHILE LOOP DO LOOP UNTIL FOR NEXT
More informationA Back-End Link Checker for Your Access Database
A Back-End for Your Access Database Published: 30 September 2018 Author: Martin Green Screenshots: Access 2016, Windows 10 For Access Versions: 2007, 2010, 2013, 2016 Working with Split Databases When
More informationOperating Instructions
Level and Pressure Operating Instructions VEGA-ASCII signal output VEGASCAN 850 0100110010100 VEGA-ASCII in out Contents Contents Safety information... 2 Note Ex area... 2 1 Configuration of the VEGA-ASCII
More informationControl 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 informationOUR company has recognized that forms design is
User Interface Standards for Forms Smart Access 2000 2002 Dennis Schumaker User interface standards are critical for both programmer and end-user productivity. An important part of any application is Application
More informationUJIAN 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 informationLAMPIRAN. 1. Lampiran Utama. a. Struktur Organisasi Perusahaan
LAMPIRAN 1. Lampiran Utama a. Struktur Organisasi Perusahaan 1 b. Flowchart Pemasukan dan Pengeluaran Benang PT TIGA MANUNGGAL SYNTHETIC INDUSTRIES PROSEDUR PERMINTAAN PEMBELIAN ANALYTIC FLOWCHART KANTOR
More informationProgramming with visual Basic:
Programming with visual Basic: 1-Introdution to Visual Basics 2-Forms and Control tools. 3-Project explorer, properties and events. 4-make project, save it and its applications. 5- Files projects and exercises.
More informationFundamental Microsoft Jet SQL for Access 2000
Fundamental Microsoft Jet SQL for Access 2000 (Microsoft Access 2000 Technical... Pagina 1 di 13 MSDN Home > MSDN Library > Office Solutions Development > Access 2000 > Technical Articles Fundamental Microsoft
More information