LAMPIRAN 1. Kode Program Splash Screen

Size: px
Start display at page:

Download "LAMPIRAN 1. Kode Program Splash Screen"

Transcription

1 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 = App.Comments lblcompany.caption = App.CompanyName imgsplash.picture = LoadPicture(App.Path & "\img\splash.bmp") Private Sub Frame1_Click() Unload Me Private Sub Timer1_Timer() bar.value = bar.value + 4 Screen.MousePointer = vbhourglass If bar.value = 8 Then lbbar.caption = "Loading..." ElseIf bar.value = 28 Then lbbar.caption = "Waiting database..." ElseIf bar.value = 40 Then lbbar.caption = "Initializing..." ElseIf bar.value = 68 Then lbbar.caption = "Please wait..." ElseIf bar.value = 100 Then If bar.value = 100 Then If Timer1.Interval >= 1 Then Unload Me Screen.MousePointer = vbdefault FormMain_menu.Show

2 Lampiran 2 Kode Program Menu Utama Private Sub cmdabout_click() formabout.show Private Sub cmdconditional_click() SSTab1.Tab = 2 Private Sub cmdexit_click() End Private Sub cmdgerund_click() SSTab1.Tab = 3 Private Sub cmdhome_click() SSTab1.Tab = 0 Private Sub cmdinput_click() SSTab1.Tab = 6 Private Sub cmdkamus_click() Formkamus.Show Private Sub cmdmodal_click() SSTab1.Tab = 5 '========== source code untuk ke soal ======== Private Sub cmdnext1_click() Formtenses.Show Private Sub cmdnext2_click() Formconditional.Show

3 Private Sub cmdnext3_click() Formgerund.Show Private Sub cmdnext4_click() Formparticiple.Show Private Sub cmdnext5_click() Formmodal.Show Private Sub cmdpassive_click() SSTab1.Tab = 4 Private Sub cmdtenses_click() SSTab1.Tab = 1 Private Sub FrameHeader_Click() Unload Me Private Sub Framemenu_Click() Unload Me '=========== untuk memunculkan modul ========== Private Sub FrameTenses_Click() Unload Me Private Sub FrameConditional_Click() Unload Me Private Sub FrameGerund_Click() Unload Me Private Sub FramePassive_Click() Unload Me Private Sub FrameModul_Click() Unload Me Private Sub Timer1_Timer()

4 '========= setting waktu ========== lbljam.caption = Format(Now, "hh:mm:ss") lbltanggal.caption = Format(Date, "dd mmm yyyy") If updatekat = True Then updatekat = False '============= program input data ============== Public Sub InitConnection() Set koneksi = New ADODB.Connection koneksi.open "DSN=koneksiBelajar" Private Sub tampildata() Dim lstx As ListItem Dim strsql As String Dim intcounter As Integer strsql = "select * from tbl_soal" Set rsbelajar = New ADODB.Recordset rsbelajar.cursorlocation = aduseclient 'bagian terpenting untuk recordcount rsbelajar.open strsql, koneksi listsoal.listitems.clear With rsbelajar If.RecordCount > 0 Then.MoveFirst intcounter = 1 While Not.EOF Set lstx = listsoal.listitems.add(,, intcounter) lstx.listsubitems.add = Trim(!id_soal) lstx.listsubitems.add = Trim(!pertanyaan) lstx.listsubitems.add = Trim(!pilihan_a) lstx.listsubitems.add = Trim(!pilihan_b) lstx.listsubitems.add = Trim(!pilihan_c) lstx.listsubitems.add = Trim(!pilihan_d) lstx.listsubitems.add = Trim(!jawaban) lstx.listsubitems.add = Trim(!kategori_soal) intcounter = intcounter + 1

5 .MoveNext Wend End With Private Sub cmdtambah_click() If cmdtambah.caption = "Simpan" Then ' untuk menghendel komentar yang kosong If txtid.text = "" Then MsgBox "ID Masih Kosong!": Exit Sub ElseIf txtpertanyaan.text = "" Then MsgBox "Pertanyaan Masih Kosong!": Exit Sub ElseIf txtpila.text = "" Then MsgBox "Pilihan A Masih Kosong!": Exit Sub ElseIf txtpilb.text = "" Then MsgBox "Pilihan B Masih Kosong!": Exit Sub ElseIf txtpilc.text = "" Then MsgBox "Pilihan C Masih Kosong!": Exit Sub ElseIf txtpild.text = "" Then MsgBox "Pilihan D Masih Kosong!": Exit Sub ElseIf txtjwb.text = "" Then MsgBox "Jawaban Masih Kosong!": Exit Sub ElseIf txtkategori.text = "" Then MsgBox "Kategori Masih Kosong!": Exit Sub Set rsbelajar = New ADODB.Recordset rsbelajar.open "Select * from tbl_soal", koneksi, adopenkeyset, adlockoptimistic, adcmdtext rsbelajar.addnew rsbelajar!id_soal = Trim(txtID.text) rsbelajar!pertanyaan = txtpertanyaan.text rsbelajar!pilihan_a = txtpila.text rsbelajar!pilihan_b = txtpilb.text rsbelajar!pilihan_c = txtpilc.text rsbelajar!pilihan_d = txtpild.text rsbelajar!jawaban = txtjwb.text rsbelajar!kategori_soal = txtkategori.text rsbelajar.update MsgBox "Data Berhasil disimpan" cmdtambah.caption = "Tambah" bersih

6 tampildata bersih txtid.enabled = True txtpertanyaan.enabled = True txtpila.enabled = True txtpilb.enabled = True txtpilc.enabled = True txtpild.enabled = True txtjwb.enabled = True txtkategori.enabled = True cmdtambah.caption = "Simpan" txtid.setfocus Private Sub Form_Load() InitConnection tampildata imgtenses.picture = LoadPicture(App.Path & "\img\tenses.bmp") imgconditional.picture = LoadPicture(App.Path & "\img\conditional.bmp") imggerund.picture = LoadPicture(App.Path & "\img\gerund.bmp") imgpassive.picture = LoadPicture(App.Path & "\img\passive.bmp") imgmodal.picture = LoadPicture(App.Path & "\img\modal.bmp") imgheader.picture = LoadPicture(App.Path & "\img\header.bmp") imgmenu.picture = LoadPicture(App.Path & "\img\menunew.bmp") Private Sub listsoal_itemclick(byval Item As MSComctlLib.ListItem) Dim intselitem As Integer intselitem = Item txturutan = intselitem txtid = listsoal.listitems(intselitem).listsubitems(1).text txtidtemp = listsoal.listitems(intselitem).listsubitems(1).text

7 txtpertanyaan = listsoal.listitems(intselitem).listsubitems(2).text txtpila = listsoal.listitems(intselitem).listsubitems(3).text txtpilb = listsoal.listitems(intselitem).listsubitems(4).text txtpilc = listsoal.listitems(intselitem).listsubitems(5).text txtpild = listsoal.listitems(intselitem).listsubitems(6).text txtjwb = listsoal.listitems(intselitem).listsubitems(7).text txtkategori = listsoal.listitems(intselitem).listsubitems(8).text 'cmdadd.enabled = True 'cmdedit.enabled = True 'cmddelete.enabled = True txtid.enabled = False txtpertanyaan.enabled = False txtpila.enabled = False txtpilb.enabled = False txtpilc.enabled = False txtpild.enabled = False txtjwb.enabled = False txtkategori.enabled = False Sub bersih() txtid.text = "" txtpertanyaan.text = "" txtpila.text = "" txtpilb.text = "" txtpilc.text = "" txtpild.text = "" txtjwb.text = "" txtkategori.text = "" txtid.enabled = False txtpertanyaan.enabled = False txtpila.enabled = False txtpilb.enabled = False txtpilc.enabled = False txtpild.enabled = False txtjwb.enabled = False txtkategori.enabled = False

8 Private Sub cmdhapus_click() Dim strdelete As String tanya = MsgBox("Apakah Anda yakin akan menghapus soal dengan ID : " & txtidtemp.text & "?", vbquestion + vbyesno, "Konfirmasi hapus") If tanya = vbyes Then strdelete = "Delete from tbl_soal Where id_soal = '" & txtidtemp.text & "'" koneksi.execute strdelete tampildata bersih MsgBox "Data Berhasil dihapus! ", vbexclamation, "Alert" Else Exit Sub Private Sub cmdedit_click() If (cmdedit.caption = "Edit") Then txtid.enabled = True txtpertanyaan.enabled = True txtpila.enabled = True txtpilb.enabled = True txtpilc.enabled = True txtpild.enabled = True txtjwb.enabled = True txtkategori.enabled = True txtid.setfocus cmdedit.caption = "Save" cmdtambah.enabled = False Else Dim strupdate As String strupdate = "Update tbl_soal Set id_soal = '" & SQLSafe(txtID) & " '," & _ "pertanyaan = '" & SQLSafe(txtPertanyaan) & "', pilihan_a = '" & SQLSafe(txtPilA) & "'," & _ "pilihan_b = '" & SQLSafe(txtPilB) & "'," & _ "pilihan_c = '" & SQLSafe(txtPilC) & "'," & _

9 & _ "pilihan_d = '" & SQLSafe(txtPilD) & "'," & _ "jawaban = '" & SQLSafe(txtJwb) & "'," & _ "kategori_soal = '" & SQLSafe(txtKategori) & "'" " Where id_soal = " & txtidtemp & "" MsgBox strupdate koneksi.execute strupdate tampildata "Alert" MsgBox "Data Berhasil diupdate. ", vbexclamation, cmdedit.caption = "Edit" txtid.enabled = False txtpertanyaan.enabled = False txtpila.enabled = False txtpilb.enabled = False txtpilc.enabled = False txtpild.enabled = False txtjwb.enabled = False txtkategori.enabled = False cmdtambah.enabled = True '========== untuk Taksbar ============= Private Sub mnkamus_click() Formkamus.Show FormMain_menu.Enabled = False Private Sub mntenses_click() Formtenses.Show FormMain_menu.Enabled = False Private Sub mnconditional_click() Formconditional.Show FormMain_menu.Enabled = False Private Sub mngerund_click() Formgerund.Show FormMain_menu.Enabled = False

10 Private Sub mnpassive_click() Formparticiple.Show FormMain_menu.Enabled = False Private Sub mnmodal_click() Formmodal.Show FormMain_menu.Enabled = False Private Sub mnabout_click() FormMain_menu.Enabled = False formabout.show

11 Lampiran 3 Kode Program Soal Tenses Public score, benar As Integer Dim text As String Private Sub InitConnection() Set koneksi = New ADODB.Connection koneksi.open "DSN=koneksiBelajar" Private Sub tampildata() Dim lstx As ListItem Dim strsql As String Dim intcounter As Integer 'SELECT * FROM `sometable` WHERE 1 ORDER BY RAND() LIMIT 10; =========== untuk menentukan soal yang mau di munculkan =========================== strsql = "select * from tbl_soal where kategori_soal = 'tenses' AND 1 ORDER BY RAND() LIMIT 10" Set rsbelajar = New ADODB.Recordset rsbelajar.cursorlocation = aduseclient 'bagian terpenting untuk recordcount rsbelajar.open strsql, koneksi listsoal.listitems.clear With rsbelajar If.RecordCount > 0 Then intcounter).movefirst intcounter = 1 While Not.EOF Set lstx = listsoal.listitems.add(,, lstx.listsubitems.add = Trim(!id_soal) lstx.listsubitems.add = Trim(!pertanyaan) lstx.listsubitems.add = Trim(!pilihan_a)

12 lstx.listsubitems.add = Trim(!pilihan_b) lstx.listsubitems.add = Trim(!pilihan_c) lstx.listsubitems.add = Trim(!pilihan_d) lstx.listsubitems.add = Trim(!jawaban) lstx.listsubitems.add = Trim(!kategori_soal) intcounter = intcounter + 1.MoveNext Wend End With Private Sub cmdreset_click() tampildata tampilsoal hapusjawaban Private Sub cmdsubmit_click() '---- menghandle pilihan di masing-masing soal For i = 0 To 4 If pila(i).value = True Then pilihan(i) = "a" ElseIf pilb(i).value = True Then pilihan(i) = "b" ElseIf pilc(i).value = True Then pilihan(i) = "c" ElseIf pild(i).value = True Then pilihan(i) = "d" Else pilihan(i) = " " Next '---- membandingkan pilihan dengan jawaban yang benar 'MsgBox "pilihan : " & pilihan(0) & pilihan(1) & pilihan(2) & pilihan(3) For i = 0 To 4

13 If pilihan(i) = lbljwb(i).caption Then 'score = score + 20 benar = benar + 1 Next MsgBox "Anda menjawab " & benar & " pertanyaan dengan benar...", vbdefaultbutton2, result MsgBox "Score anda adalah : " & (benar * 20), vbinformation, "Score" 'hapusjawaban Private Sub Command1_Click() Formtenses2.Show Formtenses.Hide Private Sub Form_Load() InitConnection tampildata tampilsoal score = 0 benar = 0 Formtenses2.Show Formtenses2.Hide ' Make the picture box bigger than the form: Picture1.Move 0, 0, 1.4 * ScaleWidth, 1.1 * ScaleHeight ' Position and size the first TextBox: 'Text1(0).Move 0, 0, Picture1.Width / 2, Picture1.Height / 20 ' Place some sample controls in the picture box: Dim i As Integer 'For i = 1 To 1 ' Load Text1(i) ' Text1(i).Visible = True 'Text1(i).Left = i * Picture1.Height / 20 'Text1(i).Top = Text1(i).Left 'Next '============ setting caption form bergerak ============== Timer2.Interval = 250 text = Formtenses.Caption & " :: "

14 '======================================================== Me.Height = 10 Sub tampilsoal() Dim nosoal As Integer nosoal = 1 For nosoal = 1 To (listsoal.listitems.count - 5) lblno(nosoal - 1) = nosoal lblsoal(nosoal - 1) = listsoal.listitems(nosoal).listsubitems(2).text pila(nosoal - 1).Caption = listsoal.listitems(nosoal).listsubitems(3).text pilb(nosoal - 1).Caption = listsoal.listitems(nosoal).listsubitems(4).text pilc(nosoal - 1).Caption = listsoal.listitems(nosoal).listsubitems(5).text pild(nosoal - 1).Caption = listsoal.listitems(nosoal).listsubitems(6).text lbljwb(nosoal - 1).Caption = listsoal.listitems(nosoal).listsubitems(7).text 'txtkategori = listsoal.listitems(intselitem).listsubitems(8).text Next Sub hapusjawaban() For i = 0 To 4 pila(i).value = False pilb(i).value = False pilc(i).value = False pild(i).value = False Next For i = 5 To 9 Formtenses2.pilA(i).Value = False

15 Formtenses2.pilB(i).Value = False Formtenses2.pilC(i).Value = False Formtenses2.pilD(i).Value = False Next score = 0 benar = 0 Private Sub Form_Resize() ' Position the scroll bars: HScroll1.Left = 0 VScroll1.Top = 0 If Picture1.Width > ScaleWidth Then HScroll1.Top = ScaleHeight - HScroll1.Height Else HScroll1.Top = ScaleHeight If Picture1.Height > HScroll1.Top Then VScroll1.Left = ScaleWidth - VScroll1.Width If Picture1.Width > VScroll1.Left Then HScroll1.Top = ScaleHeight - HScroll1.Height Else VScroll1.Left = ScaleWidth HScroll1.Width = ScaleWidth If HScroll1.Top > 0 Then VScroll1.Height = HScroll1.Top ' Set the scroll bar ranges HScroll1.Max = Picture1.Width - VScroll1.Left VScroll1.Max = Picture1.Height - HScroll1.Top HScroll1.SmallChange = Abs(HScroll1.Max \ 16) + 1 HScroll1.LargeChange = Abs(HScroll1.Max \ 4) + 1 VScroll1.SmallChange = Abs(VScroll1.Max \ 16) + 1 VScroll1.LargeChange = Abs(VScroll1.Max \ 4) + 1 HScroll1.ZOrder 0 VScroll1.ZOrder 0 Private Sub HScroll1_Change() Picture1.Left = -HScroll1.Value

16 Private Sub VScroll1_Change() Picture1.Top = -VScroll1.Value Private Sub Form_Unload(Cancel As Integer) FormMain_menu.Enabled = True updatekat = True Do Me.Left = Me.Left Me.Move Me.Left, Me.Top DoEvents Loop Until Me.Left > Screen.Width Private Sub Timer1_Timer() Me.Height = Me.Height tengah If Me.Height >= 9360 Then Timer1.Enabled = False tengah Public Sub tengah() Me.Left = (Screen.Width - Me.Width) / 2 Me.Top = (Screen.Height - Me.Height) / 2 Private Sub Timer2_Timer() a = Left(text, 1) b = Len(text) c = Right(text, b - 1) text = c + a Formtenses.Caption = text

17 Lampiran 4 Kode Program Menu Kamus 'Input kata Public Sub InitConnection() Set koneksi = New ADODB.Connection koneksi.open "DSN=koneksiBelajar" Private Sub cmddetail_click() If txtindekscross.text = "" Then cmddetail.enabled = False cmddetail.enabled = False Private Sub cmdexit_click() Unload Me Private Sub FrameHeader_Click() Unload Me Private Sub Framemenu_Click() Unload Me Private Sub listkamus_itemclick(byval Item As MSComctlLib.ListItem) Dim intselitem As Integer intselitem = Item txturutan = intselitem txtid = ListKamus.ListItems(intSelItem).ListSubItems(1).text

18 txtidtemp = ListKamus.ListItems(intSelItem).ListSubItems(1).text txtinggris = ListKamus.ListItems(intSelItem).ListSubItems(2).text txtindonesia = ListKamus.ListItems(intSelItem).ListSubItems(3).text 'cmdadd.enabled = True 'cmdedit.enabled = True 'cmddelete.enabled = True txtid.enabled = False txtinggris.enabled = False txtindonesia.enabled = False Private Sub tampildata() Dim lstx As ListItem Dim strsql As String Dim intcounter As Integer strsql = "select * from tbl_kamus" Set rsbelajar = New ADODB.Recordset rsbelajar.cursorlocation = aduseclient 'bagian terpenting untuk recordcount rsbelajar.open strsql, koneksi ListKamus.ListItems.Clear With rsbelajar If.RecordCount > 0 Then.MoveFirst intcounter = 1 While Not.EOF Set lstx = ListKamus.ListItems.Add(,, intcounter) lstx.listsubitems.add = Trim(!id_kata) lstx.listsubitems.add = Trim(!kata_asing) lstx.listsubitems.add = Trim(!kata_indonesia) intcounter = intcounter + 1

19 .MoveNext Wend End With Private Sub cmdtambah_click() If cmdtambah.caption = "Simpan" Then ' untuk menghendel komentar yang kosong If txtid.text = "" Then MsgBox "ID Masih Kosong!": Exit Sub ElseIf txtinggris.text = "" Then MsgBox "kata Masih Kosong!": Exit Sub ElseIf txtindonesia.text = "" Then MsgBox "Kata Masih Kosong!": Exit Sub Set rsbelajar = New ADODB.Recordset rsbelajar.open "Select * from tbl_kamus", koneksi, adopenkeyset, adlockoptimistic, adcmdtext rsbelajar.addnew rsbelajar!id_kata = Trim(txtID.text) rsbelajar!kata_asing = txtinggris.text rsbelajar!kata_indonesia = txtindonesia.text rsbelajar.update MsgBox "Data Berhasil disimpan" cmdtambah.caption = "Tambah" bersih tampildata bersih txtid.enabled = True txtinggris.enabled = True txtindonesia.enabled = True cmdtambah.caption = "Simpan" txtid.setfocus Private Sub Form_Load() InitConnection

20 tampildata tampildata1 PopData (strtextsearch) imgmenu.picture = LoadPicture(App.Path & "\img\warna kamus1.bmp") imgheader.picture = LoadPicture(App.Path & "\img\kamus.bmp") imgwarna.picture = LoadPicture(App.Path & "\img\warna1.bmp") Sub bersih() txtid.text = "" txtinggris.text = "" txtindonesia.text = "" txtid.enabled = False txtinggris.enabled = False txtindonesia.enabled = False Private Sub cmdhapus_click() Dim strdelete As String tanya = MsgBox("Apakah Anda yakin akan menghapus soal dengan ID : " & txtidtemp.text & "?", vbquestion + vbyesno, "Konfirmasi hapus") If tanya = vbyes Then strdelete = "Delete from tbl_kamus Where id_kata = '" & txtidtemp.text & "'" koneksi.execute strdelete tampildata bersih MsgBox "Data Berhasil dihapus! ", vbexclamation, "Alert" Else Exit Sub Private Sub cmdedit_click() If (cmdedit.caption = "Edit") Then txtid.enabled = True

21 txtinggris.enabled = True txtindonesia.enabled = True txtid.setfocus cmdedit.caption = "Save" cmdtambah.enabled = False Else Dim strupdate As String ' strupdate = "Update tbl_indonesia Set id_kata = '" & SQLSafe(txtID) & "', " & _ "kata_asing = '" & SQLSafe(txtInggris) & "', " & _ "kata_indonesia = '" & SQLSafe(txtIndonesia) & "', " & _ " Where id_kata = " & txtidtemp & "" strupdate = "Update tbl_kamus Set id_kata = '" & SQLSafe(txtID) & " '," & _ "kata_asing = '" & SQLSafe(txtInggris) & "'," & _ "kata_indonesia = '" & SQLSafe(txtIndonesia) & "' " & _ " Where id_kata = " & txtidtemp & "" MsgBox strupdate koneksi.execute strupdate tampildata "Alert" MsgBox "Data Berhasil diupdate. ", vbexclamation, cmdedit.caption = "Edit" txtid.enabled = False txtinggris.enabled = False txtindonesia.enabled = False cmdtambah.enabled = True

22 Private Sub Timer1_Timer() '========= setting waktu ========== lbljam.caption = Format(Now, "hh:mm:ss") lbltanggal.caption = Format(Date, "dd mmm yyyy") If updatekat = True Then updatekat = False Private Sub cmdtranslete_click() '========= tranlete indonesia - inggris ========== If txtin.text = "" Then MsgBox "Kata Belum dimasukkan...!", vbcritical, "Info" txtin.setfocus Else SqlCari = "" SqlCari = "Select kata_indonesia from tbl_kamus" _ & " WHERE kata_asing LIKE '" _ & txtin.text & "'" Set rsbelajar = New ADODB.Recordset rsbelajar.open SqlCari, koneksi, adopenkeyset, adlockoptimistic, adcmdtext If rsbelajar.eof And rsbelajar.bof Then MsgBox "Kata yang anda cari tidak ada. ", vbcritical, "Info" Exit Sub Else txtout.text = rsbelajar!kata_indonesia '========== tombol hapus pada tranlete ========== Private Sub TbHapus_Click() txtin.text = "" txtout.text = "" txtin.setfocus '========== tombol hapus pada tranlete ========== Private Sub TbHapus1_Click() txtin1.text = "" txtout1.text = "" txtin1.setfocus '========= untuk kembali ke home ============ Private Sub cmdhome_click() SSTab1.Tab = 0

23 Private Sub cmdkamus_click() SSTab1.Tab = 1 Private Sub cmdinput_click() SSTab1.Tab = 2 Private Sub Form_Unload(Cancel As Integer) FormMain_menu.Enabled = True updatekat = True Do Me.Left = Me.Left Me.Move Me.Left, Me.Top DoEvents Loop Until Me.Left > Screen.Width '========= menampilkan kata di list view ====== Private Sub lstview_itemclick(byval Item As MSComctlLib.ListItem) Dim intselitem As Integer intselitem = Item txturutan = intselitem txtid = ListKamus.ListItems(intSelItem).ListSubItems(1).text txtidtemp = ListKamus.ListItems(intSelItem).ListSubItems(1).text txtinggris = ListKamus.ListItems(intSelItem).ListSubItems(2).text txtindonesia = ListKamus.ListItems(intSelItem).ListSubItems(3).text 'cmdadd.enabled = True 'cmdedit.enabled = True 'cmddelete.enabled = True txtid.enabled = False txtinggris.enabled = False

24 txtindonesia.enabled = False Private Sub tampildata1() Dim lstx As ListItem Dim strsql As String Dim intcounter As Integer strsql = "select * from tbl_kamus" Set rsbelajar = New ADODB.Recordset rsbelajar.cursorlocation = aduseclient 'bagian terpenting untuk recordcount rsbelajar.open strsql, koneksi lstview.listitems.clear With rsbelajar If.RecordCount > 0 Then.MoveFirst intcounter = 1 While Not.EOF Set lstx = lstview.listitems.add(,, intcounter) lstx.listsubitems.add = Trim(!id_kata) lstx.listsubitems.add = Trim(!kata_asing) lstx.listsubitems.add = Trim(!kata_indonesia) intcounter = intcounter + 1.MoveNext Wend End With Private Sub PopData(strTextSearch As String) Dim lstx As ListItem Dim strsql As String 'Dim rsbelajar As ADODB.Recordset Dim intcounter As Integer

25 If strtextsearch = "" Then strsql = "select * from tbl_kamus Order by kata_asing ASC" Else strsql = "Select * from tbl_kamus kata_asing " & _ "where kata_asing like '%" & strtextsearch & "%' order by kata_asing asc" 'tempsql = strsql ' menampilkan kata di list view Set rsbelajar = New ADODB.Recordset rsbelajar.cursorlocation = aduseclient 'bagian terpenting untuk recordcount rsbelajar.open strsql, koneksi 'rsbelajar.open strsql, koneksi, 3, 1 If rsbelajar.eof And rsbelajar.bof Then MsgBox "Kata yang anda cari tidak ada. ", vbcritical, "Info" Exit Sub Else txtin.text = rsbelajar!kata_asing lstview.listitems.clear With rsbelajar If.RecordCount > 0 Then.MoveFirst intcounter = 1 While Not.EOF Set lstx = lstview.listitems.add(,, intcounter) lstx.listsubitems.add = Trim(!kata_asing) lstx.listsubitems.add = Trim(!kata_indonesia) lstx.listsubitems.add = Trim(!id_kata) intcounter = intcounter + 1.MoveNext Wend End With txtin.text = "" txtout.text = ""

26 Private Sub txtsearch_change() PopData (txtsearch.text) Private Sub cmddelete_click() txtsearch.text = "" txtsearch.setfocus

27 Lampiran 5 Kode Program About Me Dim text As String Private Sub cmdexit_click() Unload Me Private Sub Form_Load() imgabout.picture = LoadPicture(App.Path & "\img\about1.bmp") Private Sub FrameAbout_Click() Unload Me Private Sub Timer1_Timer() Me.Width = Me.Width tengah If Me.Width >= 5370 Then Timer1.Enabled = False tengah Private Sub Timer2_Timer() a = Left(text, 1) b = Len(text) c = Right(text, b - 1) text = c + a formabout.caption = text Public Sub tengah() Me.Left = (Screen.Width - Me.Width) / 2 Me.Top = (Screen.Height - Me.Height) / 2 Private Sub Form_Unload(Cancel As Integer) FormMain_menu.Enabled = True

28 updatekat = True Do Me.Left = Me.Left Me.Move Me.Left, Me.Top DoEvents Loop Until Me.Left > Screen.Width

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

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

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N LISTING PROGRAM 1. Listing Pembuka Dim strado$ Dim n As Integer Private Sub Close_Click() End Private Sub Command1_Click() If Option1.Value = True Then Search.Show If Option2.Value = True

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara 61 LAMPIRAN 61 Listing Program Form 1 ( Barang ) Dim CnSuzuya As ADODB.Connection Dim CommBar As ADODB.Command Dim rsbar As ADODB.Recordset Dim StrSql As String Dim psn As Byte Private Sub Form_Load()

More information

LAMPIRAN : LISTING PROGRAM

LAMPIRAN : LISTING PROGRAM LAMPIRAN : LISTING PROGRAM Kode Program Form Login Private Sub cbolevel_click() If cbolevel.text = "Pengguna" Then txtlogin.enabled = False txtpass.enabled = False txtlogin.visible = False txtpass.visible

More information

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

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

LISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub

LISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub LISTING PROGRAM 1. Form Login Private Sub BATAL_Click() End Sub Bersih() USERNAME.Text = "" PASSWORD.Text = "" Private Sub Form_Load() Bersih Private Sub OK_Click() Sql = "select*from tbl_login where username='"

More information

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

Tutorial, Source code, Request Program Visual Basic

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

More information

LISTING PROGRAM. 1. Menu Utama

LISTING PROGRAM. 1. Menu Utama LISTING PROGRAM 1. Menu Utama Option Explicit Dim rssms As Recordset Dim stopen As String * 1 Dim IDSms As Integer Dim rspesan As Recordset Dim Kode As String * 1 Dim rspaket As Recordset Dim NmPaket As

More information

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

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM LAMPIRAN A : LISTING PROGRAM 1. frmmenu.frm Dim CN As Connection Dim rshapus As Recordset Private Sub DfaHasil_Click() Call frmlap.cetak Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString

More information

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

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

More information

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

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

More information

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

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N A TAMPILAN PROGRAM 1. Form Login 2. Form Menu Utama 3. Form Entry Data Mahasiswa Baru 4. Form Kasir 5. Form Transaksi 6. Laporan cetak mahasiswa 6. Laporan cetak mahasiswa 7. Laporan cetak

More information

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

Nilai Input (Peringkat Alternatif Fuzzy dan Crisp Terhadap Kriteria)

Nilai Input (Peringkat Alternatif Fuzzy dan Crisp Terhadap Kriteria) LAMPIRAN-A PENYELESAIAN DENGAN METODE FUZZY TOPSIS Secara umum, prosedur Fuzzy TOPSIS mengikuti langkah-langkah sebagai berikut: 1. Membuat matriks keputusan yang ternormalisasi, 2. Menentukan matriks

More information

Lookup Project. frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function:

Lookup Project. frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function: Lookup Project frmlookup (Name: object is a combo box, style 2); use 4 labels: 2 for phone, 2 for mail. MsgBox Function: Help About, in a Message Box lookup.vbp programmed by C.Gribble Page 2 Code for

More information

Understanding the MsgBox command in Visual Basic

Understanding the MsgBox command in Visual Basic Understanding the MsgBox command in Visual Basic This VB2008 tutorial explains how to use the MsgBox function in Visual Basic. This also works for VBS MsgBox. The MsgBox function displays a message in

More information

Universitas Sumatera Utara

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

More information

Rooftop Industries Pvt. Ltd.

Rooftop Industries Pvt. Ltd. Rooftop Industries Pvt. Ltd. Production and inventory management system A level Computing Project Shritesh Bhattarai Little Angels' College 1 Table of Contents Definition, investigation and analysis...

More information

Contents Introduction Getting Started Visual Basic Form Configuration Entering the VB Code

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

Lampiran A : Listing Program

Lampiran A : Listing Program Lampiran A : Listing Program 1. Server Private Declare Sub InitCommonControls Lib "comctl32.dll" () Dim InData(10) As String, InLayar(10) As String, InTk(10) As String, NoRM As String Private Sub Command1_Click()

More information

Visual Basic ,

Visual Basic , Visual Basic 6.0..!"# !"# $#%$$"& ( ( 6.0) 2 $, -&, - 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm. 2/59 !"# $#%$$"& ( ( 6.0) 3 $, -&, - 3/59 !"# $#%$$"&

More information

1. Menu Utama. Private Sub abt_click() frmabout.show End Sub. Private Sub dafabsenhar_click() frmdafabsensihar.show End Sub

1. Menu Utama. Private Sub abt_click() frmabout.show End Sub. Private Sub dafabsenhar_click() frmdafabsensihar.show End Sub 1. Menu Utama Private Sub abt_click() frmabout.show Private Sub dafabsenhar_click() frmdafabsensihar.show Private Sub dafpeg_click() frmdafpegawai.show Private Sub dafuser_click() frmdaftaruser.show Private

More information

SURAT KETERANGAN Hasil Uji Program Tugas Akhir

SURAT KETERANGAN Hasil Uji Program Tugas Akhir SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan dibawah ini, menerangkan bahwa Tugas Akhir Mahasiswa Program Diploma 3 Teknik Informatika : Nama : FADILLA MAHARANI NIM : 112406159 Program

More information

Visual Basic , ,. Caption Hello, On Off. * + +, -. 1-Arrow, , 2- Cross. - project1.vbp, 4-form1.frm.

Visual Basic , ,. Caption Hello, On Off. * + +, -. 1-Arrow, , 2- Cross. - project1.vbp, 4-form1.frm. Visual Basic 6.0 1.,. Caption Hello, On Off. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...

More information

PROGRAM BASCOM AVR. ' inisialisasi '

PROGRAM BASCOM AVR. ' inisialisasi ' PROGRAM BASCOM AVR '--------------------------------------- inisialisasi '----------------------- $prog &HFF, &HC4, &HD9, &H00 ' generated. Take care that the chip supports all fuse bytes. $regfile = "m8def.dat"

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara LAMPIRAN DAFTAR NAMA MURID KELAS VIIa SMP TRI JAYA MEDAN TAHUN PELAJARAN 2011/2012 Kelas : VII a SMP Wali Kelas : R.Pakpahan S,Pd Guru BP/BK : D.Purba,S.Pd NO NOMOR INDUK NAMA SISWA L/P NISN 1 942 ANGELIA

More information

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

22. VB Programming Fundamentals Data Access with Data Objects

22. VB Programming Fundamentals Data Access with Data Objects 22. VB Programming Fundamentals Data Access with Data Objects 22.1 Data Access Object MS Data Access Object (DAO) enables you to use a programming language to access and manipulate data in local or remote

More information

Programming with visual Basic:

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

More information

Excel & Visual Basic for Applications (VBA)

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

More information

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

NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY

NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY OOBASIC/VISUAL BASIC PROGRAMMING COURSE CODE: COM 211 YEAR I SEMESTER II PRACTICAL

More information

EMPLOYEE PAYROLL SYSTEM

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

More information

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

PROGRAM 1: SIMPLE CALCULATOR

PROGRAM 1: SIMPLE CALCULATOR PROGRAM 1: SIMPLE CALCULATOR Option Explicit Dim operand1 As Double, operand2 As Double Dim op1 As Double, op2 As Double Dim operator As String Dim cleardisplay As Boolean Private Sub Cmdclear_Click()

More information

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

More information

Visual Basic ,

Visual Basic , Visual Basic 6.0 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...

More information

ONLINE RAILWAY RESERVATION SYSTEM

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

More information

LISTING PROGRAM. 1. Menu Utama

LISTING PROGRAM. 1. Menu Utama LISTING PROGRAM 1. Menu Utama Dim rsupdate As Recordset Dim rscari As Recordset Dim strusername As String * 10 Dim Status As String * 1 Dim JumUser As Integer Public system_mon As String Public service_mon

More information

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

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

6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples: VBA program units: Subroutines and Functions Subs: a chunk of VBA code that can be executed by running it from Excel, from the VBE, or by being called by another VBA subprogram can be created with the

More information

Financial Functions (all with subtypes: Normal, Stairs, Points, Height, Hollow, Colors, Marks, No Border except where indicated):

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

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

2-26 Learn Visual Basic 6.0

2-26 Learn Visual Basic 6.0 2-26 Learn Visual Basic 6.0 cmdcompute Click Event: Private Sub cmdcompute_click() Dim Mean As Single Dim StdDev As Single txtinput.setfocus Make sure there are at least two values If NumValues < 2 Then

More information

Information Hiding In Images Using Randomly Selected Points

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

Programming Concepts and Skills. Arrays continued and Functions

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

More information

Visual Basic 6 Lecture 7. The List Box:

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

More information

Chapter 1. Block Diagram. Text .. 1

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

More information

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

Definition, Investigation and Analysis

Definition, Investigation and Analysis Definition, Investigation and Analysis Introduction and Nature of the Problem Introduction Pradhan Store is a wholesale store located in Nakhipot, Lalitpur. It has been providing its service since the

More information

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

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

More information

Private Sub Command2_Click() End End Sub. Private Sub Command3_Click() frmchangepassword.show End Sub. Private Sub Form_Activate() check_db End Sub

Private Sub Command2_Click() End End Sub. Private Sub Command3_Click() frmchangepassword.show End Sub. Private Sub Form_Activate() check_db End Sub Private Sub Command1_Click() On Error Resume If rs.state = adstateopen Then rs.close rs.open "select * from login where UserName='" & txtusername & "' And Log_Password='" & txtpassword & "'", conn, 1,

More information

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

ต วอย างการสร างฟอร ม เมน การใช งาน ต วอย างการสร างฟอร ม เมน การใช งาน Option Explicit Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim Sql As String Private Sub Command6_Click() Form2.Hide Form3.Show Private Sub Command7_Click()

More information

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

Customizable Progress Bar for VB6 Based on graphics in picture boxes dec 23, 2017 by Gerard Hageman

Customizable Progress Bar for VB6 Based on graphics in picture boxes dec 23, 2017 by Gerard Hageman Customizable Progress Bar for VB6 Based on graphics in picture boxes dec 23, 2017 by Gerard Hageman 3 Versions Select in demo window: version 1 version 2 version 3 version 1 version 2 version 3 Version

More information

IFA/QFN VBA Tutorial Notes prepared by Keith Wong

IFA/QFN VBA Tutorial Notes prepared by Keith Wong Chapter 2: Basic Visual Basic programming 2-1: What is Visual Basic IFA/QFN VBA Tutorial Notes prepared by Keith Wong BASIC is an acronym for Beginner's All-purpose Symbolic Instruction Code. It is a type

More information

2Practicals Visual Basic 6.0

2Practicals Visual Basic 6.0 2Practicals Visual Basic 6.0 Practical 1: 1. Navigation of Visual Basic Integrated Development Environment The Visual Basic IDE is made up of a number of components Menu Bar Tool Bar Project Explorer Properties

More information

Introduction to Microsoft Message Queuing Services (MSMQ)

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

Universitas Sumatera Utara

Universitas Sumatera Utara 43 L A M P I R A N 44 Penulisan Kode Program Aplikasi Game Tetris A. Kode program aplikasi game tetris untuk form1 ( MainF.frm ) adalah sebagai berikut. Dim BANK As Database Dim RS As DAO.Recordset Private

More information

PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM

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

More information

CMPT 110 MIDTERM OCTOBER 18, 2001

CMPT 110 MIDTERM OCTOBER 18, 2001 CMPT 110 MIDTERM OCTOBER 18, 2001 1 What will be displayed when the command button is clicked? 7% Level of difficulty 7 (out of 10) Assume there is a command button called cmdbutton Assume there is a picturebox

More information

Generated by Foxit PDF Creator Foxit Software For evaluation only. ภาคผนวก ก

Generated by Foxit PDF Creator Foxit Software  For evaluation only. ภาคผนวก ก ภาคผนวก ก โปรแกรม SQL Server โปรแกรม SQL Server เป นโปรแกรมจ ดการฐานข อม ล ท จะการจ ดเก บข อม ลต างๆลงใน ตาราง เพ อช วยในการจ ดเก บข อม ลได ง ายข นและสามารถน าข อม ลข อม ลออกมาได อย างรวดเร ว ข นตอนการต

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

Password Protect an Access Database

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

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

LISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal LISTING PROGRAM 1. Tampilan Awal Public Class Awal Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(10) If ProgressBar1.Value

More information

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

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

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

More information

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

TABLE OF CONTENTS ADVANCED VISUAL BASIC

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

More information

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

AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software

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

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

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

More information

JABATAN KIMIA Kategori Arahan Kerja

JABATAN KIMIA Kategori Arahan Kerja Mukasurat: 1 daripada 10 1. TUJUAN Tujuan prosedur ini ditubuhkan adalah untuk memberikan arahan yang jelas bagi langkah atau tatacara bagaimana menjalankan analisis sampel menggunakan peralatan JEOL NMR

More information

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

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

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

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

More information

NOTES: Procedures (module 15)

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

More information

NIDEK AUTO REFRACTOMETER ARK-710A INTERFACE MANUAL

NIDEK AUTO REFRACTOMETER ARK-710A INTERFACE MANUAL NIDEK AUTO REFRACTOMETER ARK-710A INTERFACE MANUAL MRK4D*RTZ001B/E TOTAL PAGE: 32 2005. 2. 8 NIDEK CO., LTD. : 34-14, Maehama, Hiroishi-cho, Gamagori, Aichi 443-0038, Japan (Manufacturer) Telephone: (0533)

More information

Function: function procedures and sub procedures share the same characteristics, with

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

LAMPIRAN Lampiran Utama. a. Struktur Organisasi

LAMPIRAN Lampiran Utama. a. Struktur Organisasi LAMPIRAN 5.1. Lampiran Utama a. Struktur Organisasi b. Flowchart Prosedur Penggajian PT Timatex c. Coding List Class Koneksi package ta_552012010_aprilia; import java.sql.*; public class koneksi { private

More information

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

PANDUAN PENGGUNA (SUPPLIER) e-purchase ORDER FOR SERVICES

PANDUAN PENGGUNA (SUPPLIER) e-purchase ORDER FOR SERVICES PANDUAN PENGGUNA (SUPPLIER) e-purchase ORDER FOR SERVICES SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: UNIT SUPPLY CHAIN MANAGEMENT (SCM) JABATAN SOURCING CONTROLLER

More information

Remainder Cordial Labeling of Graphs

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

A Back-End Link Checker for Your Access Database

A Back-End Link Checker for Your Access Database A Back-End for Your Access Database Published: 30 September 2018 Author: Martin Green Screenshots: Access 2016, Windows 10 For Access Versions: 2007, 2010, 2013, 2016 Working with Split Databases When

More information

Learn Visual Basic 6.0

Learn Visual Basic 6.0 7-1 Learn Visual Basic 6.0 7. Graphics Techniques with Visual Basic Review and Preview In past classes, we've used some graphics tools: line tools, shape tools, image boxes, and picture boxes. In this

More information

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

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

More information

MICROSOFT EXCEL. Membina Hamparan Elektronik Fungsi Hamparan Elektronik

MICROSOFT EXCEL. Membina Hamparan Elektronik Fungsi Hamparan Elektronik MICROSOFT EXCEL Membina Hamparan Elektronik Fungsi Hamparan Elektronik Microsoft Excel 2010 Kandungan Penggunaan Asas Excel Memformat Sel, Lembaran dan Buku Kerja (Work Book) Penggunaan Asas Excel Fail

More information

Lab Manual Visual Basic 6.0

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

More information

LAMPIRAN A PROGRAM ADMINISTRASI

LAMPIRAN A PROGRAM ADMINISTRASI LAMPIRAN A PROGRAM ADMINISTRASI Program Administrasi FORM HOME ==load form tarif yang berlaku== Private Sub Cmd_DftrTarif_Click() End Sub Load Frm_Tarif Frm_Tarif.Show ==load form isi ulang kartu== Private

More information

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

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

More information

( ) 1.,, Visual Basic,

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

1. Name: 3. BEM Registration No.: Tel. No. :... Mobile Phone No. : :... Fax No. :...

1. Name: 3. BEM Registration No.: Tel. No. :... Mobile Phone No. : :... Fax No. :... FORM H REGISTRATION OF ENGINEERS ACT 1967 (REVISED 2015) APPLICATION FOR RENEWAL OF REGISTRATION FOR YEAR Regulation 20 of the Registration of Engineers Regulations 1990 (Revised 2015) A. APPLICATION FOR

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