LAMPIRAN A : LISTING PROGRAM

Size: px
Start display at page:

Download "LAMPIRAN A : LISTING PROGRAM"

Transcription

1 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 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbllsb.mdb;persist Security Info=False" CN.Open Private Sub HapUji_Click() On Error Resume XX = MsgBox("Semua data hasil pengujian mau dihapus?", vbyesno) If XX = vbyes Then Set rshapus = New ADODB.Recordset rshapus.open "Delete from Hasil1", CN, 1, 2 Set rshapus = Nothing Kill App.Path & "\BackUpMP3\*.*" MsgBox "Proses selesai" Exit Sub MsgBox "Batal..." Private Sub qt_click() End Private Sub Steg_Click() Main.Show 2. Main.frm Option Explicit Dim FSO As New FileSystemObject, fileinfo As File Private WithEvents AAC As clsaac Sub CariID() Set rscari = New ADODB.Recordset rscari.open "Select * from Hasil1 order by ID desc", CN, 1, 2 If Not rscari.eof Then

2 ID = rscari!id + 1 ID = 1 Set rscari = Nothing Sub Bersih() List1.Visible = True List2.Visible = True List3.Visible = True List1.Clear List2.Clear List3.Clear Label8.Visible = True Label15.Visible = True Label18.Visible = True Text1.Text = "" Text2.Text = "" Text4.Text = "" lblukuran1 = "" lblukuran2 = "" Ukuran1 = 0 Ukuran2 = 0 lblkelang = "" Kelang = 0 Text3(0).Text = "" Text3(1).Text = "" List1.Clear List2.Clear pesan = "" bolsisip = False bolekstrak = False NmFile1 = "" Title1 = "" Pesan1 = "" Lama1 = 0 Lama2 = 0 Kode = "" lbllama = "" bolsisip = False cmdsisip.enabled = False cmdekstrak.enabled = False cmdload.enabled = True cmdload.setfocus Private Sub cmdekstrak_click() List1.Visible = False

3 List2.Visible = False Label8.Visible = False Label15.Visible = False Label18.Visible = False List3.Visible = False Label13.Visible = False Label17.Visible = False lblukuran2.visible = False Kode = "E" bolekstrak = True Call AAC.ExtractPesan(Text1.Text, Text4.Text) Private Sub cmdload_click() Call Bersih cmd.filter = "All Files (*.MP3) *.MP3" cmd.dialogtitle = "Open File" cmd.showopen If (cmd.filename <> "") Then Set fileinfo = FSO.GetFile(cmd.Filename) Ukuran1 = fileinfo.size lblukuran1.caption = Ukuran1 / 1024 NmFile1 = "" NmFile1 = cmd.filename Title1 = cmd.filetitle Text1 = cmd.filename Sub Simpan() Call CariID Set rsno = New ADODB.Recordset rsno.open "Hasil1", CN, adopendynamic, adlockoptimistic rsno.addnew rsno!id = ID rsno!nmfile = NmFile1 rsno!title = Title1 rsno!ukuran = Ukuran1 rsno!pesan = Pesan1 If Kode = "S" Then rsno!lama = Lama1 rsno!lama = Lama2 rsno!kelang = Val(Text4.Text) rsno!status = "1" rsno!kode = Kode rsno.update Set rsno = Nothing

4 MsgBox "Data sudah disimpan" 'Private Sub cmdsimpan_click() Call Simpan cmdsimpan.enabled = False Call Bersih Private Sub cmdsisip_click() List1.Visible = True List2.Visible = True Label8.Visible = True Label15.Visible = True List3.Visible = True Label18.Visible = True Label13.Visible = True Label17.Visible = True lblukuran2.visible = True Pesan1 = RTrim(Text2) Kode = "S" bolsisip = True Call AAC.GetAudioData(Text1.Text, fileinfo.name, Text2.Text, Text4.Text) Private Sub cmdtutup_click() Set Main = Nothing Unload Me Private Sub Form_Activate() If Kode = "S" Then List1.Visible = True List2.Visible = True Label8.Visible = True Label15.Visible = True List3.Visible = True Label18.Visible = True If Kode = "E" Then List1.Visible = False List2.Visible = False Label8.Visible = False Label15.Visible = False List3.Visible = False Label18.Visible = False List1.Visible = True List2.Visible = True Label8.Visible = True

5 Label15.Visible = True List3.Visible = True Label18.Visible = True cmdload.enabled = True cmdsisip.enabled = False cmdekstrak.enabled = False If bolsisip = True Then lblkelang.caption = Kelang If bolekstrak = True Then lblkelang.caption = Kelang cmdload.setfocus Private Sub Form_Load() Set AAC = New clsaac Set CN = New ADODB.Connection CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbllsb.mdb;persist Security Info=False" CN.Open Private Sub Form_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single) OnForm Private Sub Form_Unload(Cancel As Integer) Set Main = Nothing Unload Me Private Sub Text2_Change() If Text2.Text = "" Then cmdsisip.enabled = False cmdsisip.enabled = True Private Sub Text4_Change() If (Text4.Text = "") Then cmdekstrak.enabled = False cmdekstrak.enabled = True

6 3. frmlap.frm Option Explicit Dim rscari As Recordset Private Sub cmdcetak_click() Call Cetak Private Sub Command1_Click() Unload Me Sub Cetak() Me.WindowState = 2 cr.reportfilename = App.Path & "\Report 3.rpt" cr.retrievedatafiles cr.connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbllsb.mdb;persist Security Info=False" cr.windowshowrefreshbtn = True cr.printreport cr.windowstate = crptmaximized cr.action = 1 Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbllsb.mdb;persist Security Info=False" CN.Open Private Sub Form_Unload(Cancel As Integer) Unload Me frmmenu.show 4. frmtmplproses.frm Dim tmpjarak As Integer Private WithEvents AAC As clsaac Public Sub BinerAudio2(Teks As String) rtbsisip.selbold = False rtbsisip.selstart = rtbsisip.selstart rtbsisip.seltext = Teks If tmpjarak = jarak + 1 Then rtbsisip.selstart = rtbsisip.selstart - 1 rtbsisip.sellength = 1 rtbsisip.selbold = True rtbsisip.sellength = 0

7 rtbsisip.selbold = False rtbsisip.selstart = rtbsisip.selstart + 1 tmpjarak = 0 Public Sub IsiRTBSisip() Dim nobaris As Integer Dim nocount As Integer Dim i& tmpjarak = jarak + 1 nocount = 0 nobaris = 0 For i = 0 To UBound(sample_audio_sisip) If nocount <> 0 And nocount <> 4 Then Call BinerAudio2(sample_audio_sisip(i)) rtbsisip.seltext = " " If nocount = 0 Then rtbsisip.seltext = "1) " Call BinerAudio2(sample_audio_sisip(i)) rtbsisip.seltext = " " nobaris = 1 rtbsisip.selbold = False If nocount = 4 Then nobaris = nobaris + 1 rtbsisip.seltext = vbcrlf rtbsisip.seltext = nobaris & ") " Call BinerAudio2(sample_audio_sisip(i)) rtbsisip.seltext = " " nocount = 0 nocount = nocount + 1 tmpjarak = tmpjarak + 1 Public Sub BinerAudio1(Teks As String) rtbbiner.selbold = False rtbbiner.seltext = Teks Public Sub IsiRTBBiner() Dim nobaris As Integer Dim nocount As Integer

8 Dim i& nocount = 0 nobaris = 0 For i = 0 To UBound(sample_audio) If nocount <> 0 And nocount <> 4 Then Call BinerAudio1(sample_audio(i)) rtbbiner.seltext = " " If nocount = 0 Then rtbbiner.seltext = "1) " Call BinerAudio1(sample_audio(i)) rtbbiner.seltext = " " nobaris = 1 If nocount = 4 Then nobaris = nobaris + 1 rtbbiner.seltext = vbcrlf rtbbiner.seltext = nobaris & ") " Call BinerAudio1(sample_audio(i)) rtbbiner.seltext = " " nocount = 0 nocount = nocount + 1 Private Sub Form_Load() If Kode = "S" Then IsiRTBPesan (pesanteks) IsiRTBBiner IsiRTBSisip IsiFileAudio IsiFileSisip IsiRTBPesan (pesanteks) IsiRTBSisip IsiFileSisip lblteks.visible = False lblbiner.visible = False rtbteks.visible = False rtbbiner.visible = False Private Sub Form_Unload(Cancel As Integer) Set frmlap = Nothing Unload Me

9 Public Sub IsiFileAudio() Dim nobaris As Integer Dim nocount As Integer Dim i& nocount = 0 nobaris = 0 For i = 0 To UBound(FileAudio) If nocount <> 0 And nocount <> 4 Then Call TeksAudio1(FileAudio(i)) rtbteks.seltext = " " If nocount = 0 Then rtbteks.seltext = "1) " Call TeksAudio1(FileAudio(i)) rtbteks.seltext = " " nobaris = 1 If nocount = 4 Then nobaris = nobaris + 1 rtbteks.seltext = vbcrlf rtbteks.seltext = nobaris & ") " Call TeksAudio1(FileAudio(i)) rtbteks.seltext = " " nocount = 0 nocount = nocount + 1 Public Sub TeksAudio1(Teks As Byte) rtbteks.selbold = False rtbteks.seltext = DecToChar(Teks) Public Sub IsiFileSisip() Dim nobaris As Integer Dim nocount As Integer Dim i& tmpjarak = jarak + 1 nocount = 0 nobaris = 0 For i = 0 To UBound(FileAudioSisip) If nocount <> 0 And nocount <> 4 Then Call TeksAudio2(FileAudioSisip(i)) rtbtekssisip.seltext = " "

10 If nocount = 0 Then rtbtekssisip.seltext = "1) " Call TeksAudio2(FileAudioSisip(i)) rtbtekssisip.seltext = " " nobaris = 1 If nocount = 4 Then nobaris = nobaris + 1 rtbtekssisip.seltext = vbcrlf rtbtekssisip.seltext = nobaris & ") " Call TeksAudio2(FileAudioSisip(i)) rtbtekssisip.seltext = " " nocount = 0 nocount = nocount + 1 Public Sub TeksAudio2(Teks As Byte) rtbtekssisip.selbold = False rtbtekssisip.seltext = DecToChar(Teks) If tmpjarak = jarak + 1 Then rtbtekssisip.selstart = rtbsisip.selstart - 1 rtbtekssisip.sellength = 1 rtbtekssisip.selbold = True rtbtekssisip.sellength = 0 rtbtekssisip.selbold = False rtbtekssisip.selstart = rtbsisip.selstart + 1 tmpjarak = 0 Public Function DecToChar(Dec As Byte) As String Dim a As String a = Chr(Dec) DecToChar = a End Function Public Sub IsiRTBPesan(HiddenTeks As String) Dim x As Long Dim a As Long Dim b As String Dim nobrs As Integer Dim stringteks1 As String Dim stringteks2 As String

11 If Kode = "S" Then nobrs = 1 For x = 1 To Len(HiddenTeks) a = Asc(Mid(HiddenTeks, x, 1)) b = DecimalToBinary(a) If Kode = "S" Then If nobrs = 1 Then rtbpesan.seltext = "1) " & Mid(HiddenTeks, x, 1) & " = " & b rtbpesan.seltext = vbcrlf rtbpesan.seltext = nobrs & ") " & Mid(HiddenTeks, x, 1) & " = " & b If nobrs = 1 Then rtbpesan.seltext = "1) " & b & " = " & Mid(HiddenTeks, x, 1) rtbpesan.seltext = vbcrlf rtbpesan.seltext = nobrs & ") " & b & " = " & Mid(HiddenTeks, x, 1) nobrs = nobrs + 1 Public Function DecimalToBinary(DecimalNum As Long) As String Dim tmp As String Dim n As Long n = DecimalNum tmp = Trim(Str(n Mod 2)) n = n \ 2 Do While n <> 0 tmp = Trim(Str(n Mod 2)) & tmp n = n \ 2 Loop DecimalToBinary = Right(" " & tmp, 8) End Function

12 5. clsaac.cls Option Explicit Dim SampleAudio() As String Event Progress(Procent As Integer) Private Function FileExist(Filename As String) As Boolean On Error GoTo FileDoesNotExist Call FileLen(Filename) FileExist = True Exit Function FileDoesNotExist: FileExist = False End Function Public Sub GetAudioData(SrcFile As String, NamaFile As String, pesan As String, numkelang As String) Dim FileNum As Integer Dim FileNew As Integer Dim FileBinary() As Byte Dim FileSize As Long Dim i&, a&, x&, j&, k&, syncsmple& Dim status As Boolean Dim n&, n_bit& Dim BinerPesan As String 'Pengecekan file tersebut ada atau tidak ada If (Not FileExist(SrcFile)) Then Err.Raise vbobjecterror, "clsaac.getaudiodata", "File tidak ada..." time.starttimer 'Ambil semua data yang ada pada file FileNum = FreeFile Open SrcFile For Binary As #FileNum ReDim FileBinary(0 To LOF(FileNum) - 1) ReDim SampleAudio(0 To LOF(FileNum) - 1) Get #FileNum,, FileBinary() FileSize = LOF(FileNum) Close #FileNum k = 0 For j = 0 To FileSize - 2 If (FileBinary(j) = &HFF) And (FileBinary(j + 1) = &HFB) Then j = j + 36 k = k + 36

13 syncsmple = k Main.List1.Clear Main.List2.Clear Main.List3.Clear If (numkelang = "") Then MsgBox "Jumlah Lompatan sebagai kata kunci belum Anda isi", vbinformation, "Info" BinerPesan = HiddenTextToBinary(pesan) n_bit = Len(BinerPesan) If ((FileSize - syncsmple) < Len(Pesan)) Then MsgBox "Pesan Teks lebih besar daripada ukuran file audio yang bisa dimasukkan", vbinformation, "Info" status = False n = numkelang a = 0 x = 1 For i = 0 To FileSize - 1 ReCheck: If (FileBinary(i) = &HFF) And (FileBinary(i + 1) = &HFB) Then status = True i = i + 36 GoTo GetSmplAud GetSmplAud: If status = True Then Do While i <> FileSize - 1 If Not ((FileBinary(i) = &HFF) And (FileBinary(i + 1) = &HFB)) Then SampleAudio(a) = DecimalToBinary(Val(FileBinary(i))) Main.List2.AddItem (SampleAudio(a)) n = n + 1 'proses LLSB If (n = numkelang + 1) And (x <= Len(BinerPesan)) Then SampleAudio(a) = Left(SampleAudio(a), 7) & Mid(BinerPesan, x, 1) x = x + 1 n = 0 FileBinary(i) = BinaryToDecimal(SampleAudio(a)) Main.List3.AddItem (SampleAudio(a)) If (x > Len(BinerPesan)) Then ' dibuat supaya program tidak terlalu lama Exit For a = a + 1 i = i + 1 status = False

14 n = numkelang GoTo ReCheck Loop save new one FileNew = FreeFile Open App.Path & "\BackUpMP3\" & NamaFile For Binary As #FileNew Put #FileNew,, FileBinary() Seek #FileNew, LOF(FileNew) + 1 'Put #FileNew,, Right(" " & numkelang, 2) & Right(" " & n_bit, 3) Main.lblUkuran2.Caption = LOF(FileNew) / 1024 Close #FileNew time.stoptimer Main.lblLama.Caption = Format(time.Elasped, " ") Lama1 = Format(time.Elasped, " ") Call Main.Simpan ' Public Function BinaryToDecimal(Binary As String) As Long Dim n As Long Dim s As Integer For s = 1 To Len(Binary) n = n + (Mid(Binary, Len(Binary) - s + 1, 1) * (2 ^ (s - 1))) s BinaryToDecimal = n End Function Public Function DecimalToBinary(DecimalNum As Long) As String Dim tmp As String Dim n As Long n = DecimalNum tmp = Trim(Str(n Mod 2)) n = n \ 2 Do While n <> 0 tmp = Trim(Str(n Mod 2)) & tmp n = n \ 2 Loop DecimalToBinary = Right(" " & tmp, 8) End Function

15 Public Function HiddenTextToBinary(HiddenTeks As String) As String Dim x, a As Long Dim b As String For x = 1 To Len(HiddenTeks) a = Asc(Mid(HiddenTeks, x, 1)) b = b & DecimalToBinary(a) Main.List1.AddItem (Right(" " & DecimalToBinary(a), 8)) HiddenTextToBinary = b End Function Public Function HiddenTextToChar(HiddenBinary As String) As String Dim x, a, b, c As Long Dim HideArr() As String Dim Teks As String ReDim HideArr(0 To Len(HiddenBinary) / 8) a = 0 x = 1 Do While x <= Len(HiddenBinary) HideArr(a) = Mid(HiddenBinary, x, 8) a = a + 1 x = x + 8 Loop For b = 1 To a c = BinaryToDecimal(HideArr(b - 1)) Teks = Teks & Chr(c) HiddenTextToChar = Teks End Function Public Sub ExtractPesan(SrcFile As String, num_kelang As String) Dim FileNum As Integer Dim FileNew As Integer Dim FileBinary() As Byte Dim FileSize As Long Dim i&, a& Dim status As Boolean Dim n&, x& Dim BinerPesan As String Dim PesanChar As String Dim BitPesan As String Dim GetKelang As String Dim GetNBiner As String Dim numkelang As Integer 'Pastikan file tersebut ada

16 If (Not FileExist(SrcFile)) Then Err.Raise vbobjecterror, "clsaac.extractpesan", "File tidak ada..." 'Ambil semua data yang ada pada file FileNum = FreeFile Open SrcFile For Binary As #FileNum ReDim FileBinary(0 To LOF(FileNum) - 1) ReDim SampleAudio(0 To LOF(FileNum) - 1) Get #FileNum,, FileBinary() FileSize = LOF(FileNum) Close #FileNum 'GetKelang = Chr(FileBinary(FileSize - 2)) & Chr(FileBinary(FileSize - 1)) 'GetKelang = Chr(FileBinary(FileSize - 5)) & Chr(FileBinary(FileSize - 4)) 'GetNBiner = Chr(FileBinary(FileSize - 3)) & Chr(FileBinary(FileSize - 2)) & Chr(FileBinary(FileSize - 1)) If (num_kelang = "") Then MsgBox "Jumlah Lompatan sebagai kata kunci belum Anda isi", vbinformation, "Info" If Not (Trim(GetKelang) = num_kelang) Then MsgBox "Kata kunci Anda salah!", vbinformation, "Info" time.starttimer numkelang = num_kelang 'jarak = numkelang ' PesanChar = "" BinerPesan = "" status = False n = numkelang a = 0 x = 1 For i = 0 To FileSize - 1 ReCheck: If (FileBinary(i) = &HFF) And (FileBinary(i + 1) = &HFB) Then status = True i = i + 36 GoTo GetSmplAud GetSmplAud: If status = True Then Do While i <> FileSize - 1 If Not ((FileBinary(i) = &HFF) And (FileBinary(i + 1) = &HFB)) Then SampleAudio(a) = DecimalToBinary(Val(FileBinary(i))) n = n + 1 'proses extract LLSB If (n = numkelang + 1) Then BitPesan = Right(SampleAudio(a), 1) BinerPesan = BinerPesan & BitPesan x = x + 1 n = 0 If (Len(BinerPesan) = 8) Then

17 If Not (GetNBiner + 1 < x) Then PesanChar = PesanChar & BinerPesan BinerPesan = "" PesanChar = HiddenTextToChar(PesanChar) Main.Text2.Text = PesanChar Exit For a = a + 1 i = i + 1 status = False n = numkelang GoTo ReCheck Loop time.stoptimer Main.lblLama.Caption = Format(time.Elasped, " ") Lama2 = Format(time.Elasped, " ") Pesan1 = Trim(Main.Text2.Text) Call Main.Simpan

LAMPIRAN LIST PROGRAM

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

More information

LAMPIRAN. Universitas Sumatera Utara

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

More information

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

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

More information

Tutorial, Source code, Request Program Visual Basic

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

More information

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

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

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

LAMPIRAN : LISTING PROGRAM

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

More information

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

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

More information

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara LAMPIRAN FORM 1 Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = vbkeyreturn Then Set tbladministrator = New ADODB.Recordset With tbladministrator.open "SELECT * FROM Administrator WHERE userid

More information

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

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

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

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

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

More information

LAMPIRAN 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

LAMPIRAN A: LISTING PROGRAM

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

University of Technology Laser & Optoelectronics Engineering Department Visual basic Lab.

University of Technology Laser & Optoelectronics Engineering Department Visual basic Lab. DriveListBox Control, DirListBox Control, and FileListBox Control CommonDialog Control 1 2 DriveListBox Control disk drive Important Properties object.drive [= drive] Drive Floppy disks "a:" or "b:", and

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

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

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

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

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

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

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

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

More information

Lampiran A : Listing Program

Lampiran A : Listing Program Lampiran A : Listing Program 1. 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

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

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

Visual Basic

Visual Basic 12-1 12-2 12-3 12-1.1 12-1.2 12-2.1 12-2.2 12-3.1 12-3.2 12-4 12-5 12-4.1 12-4.2 12-5.1 12-5.2 140 II 12-1 data file 12-1.1 record field 4 12-1 4 12 141 12-1... 12-1.2 sequential file random file binary

More information

Universitas Sumatera Utara

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

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

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

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

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

More information

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

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

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

'... '... '... Module created: unknown '... Proj finished: March 21, 2012 '... '...

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

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

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

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

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

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

Please answer questions in the space provided. Question point values are shown in parentheses.

Please answer questions in the space provided. Question point values are shown in parentheses. IS 320 Spring 99 Page 1 Please answer questions in the space provided. Question point values are shown in parentheses. 1. (15) Assume you have the following variable declarations and assignments: Dim A

More information

DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6)

DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) AGENDA 3. Executing VBA

More information

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

Lab Sheet 4.doc. Visual Basic. Lab Sheet 4: Non Object-Oriented Programming Practice

Lab Sheet 4.doc. Visual Basic. Lab Sheet 4: Non Object-Oriented Programming Practice Visual Basic Lab Sheet 4: Non Object-Oriented Programming Practice This lab sheet builds on the basic programming you have done so far, bringing elements of file handling, data structuring and information

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

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

File Organization and Management

File Organization and Management 1 UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY File Organization and Management YEAR II- SE MESTER I PRACTICAL Version 1: December

More information

LAMPIRAN 1. Kode Program Splash Screen

LAMPIRAN 1. Kode Program Splash Screen LAMPIRAN 1 Kode Program Splash Screen Private Sub Form_Load() lblversion.caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision lblproductname.caption = App.Title lblcopyright.caption

More information

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

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

COMBINING TABLES. Akademi Audit Negara. CAATs ASAS ACL / 1 COMBINING TABLES CAATs ASAS ACL / 1 OBJEKTIF MODUL Mempelajari kaedah menggabung dan menghubungkan dua atau lebih table bagi mencapai objektif Audit. Mempelajari kaedah menggunakan maklumat yang sedia

More information

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

IS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses.

IS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses. IS 320 Spring 96 Page 1 Please use your own paper to answer the following questions. Point values are shown in parentheses. 1. (10) Consider the following segment of code: If txtansicode.text < "0" Or

More information

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

Reading and Writing Files. Keeping Data

Reading and Writing Files. Keeping Data Reading and Writing Files Keeping Data Why do we use files? For permanently storing data. For dealing with information too large to fit in memory. Sequential Access Files Think of files as being stored

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

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

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

More information

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

Manual Pengguna. PCN Online Service Fulfillment System

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

More information

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

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

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

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

DroidBasic Syntax Contents

DroidBasic Syntax Contents DroidBasic Syntax Contents DroidBasic Syntax...1 First Edition...3 Conventions Used In This Book / Way Of Writing...3 DroidBasic-Syntax...3 Variable...4 Declaration...4 Dim...4 Public...4 Private...4 Static...4

More information

SmartMail for Lotus Notes Lotus Notes Server Setup User Guide

SmartMail for Lotus Notes Lotus Notes Server Setup User Guide SmartMail for Lotus Notes Lotus Notes Server Setup User Guide Copyright 2006, E-Z Data, Inc., All Rights Reserved No part of this documentation may be copied, reproduced, or translated in any form without

More information

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

UNIVERSITI SAINS MALAYSIA. CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web]

UNIVERSITI SAINS MALAYSIA. CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web] UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web] Duration : 2 hours

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

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

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

More information

The design and implementation of UML-based students information management system

The design and implementation of UML-based students information management system The design and implementation of UML-based students information management system Abstract Yunli Cheng 1, a, ChuanQin Li 2, b 1 Guangzhou Nanyang Polytechnic, Guangzhou 510925, China 2 Guangzhou Huaxia

More information

FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA

FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA Getting Started Step by Step Guide to Supplier First Time Login and Self Registration Persediaan

More information

VISUAL BASIC SERVER INTERFACE CODE. Visual Basic 6 Graphical Interface 103. Visual Basic Module rtsscomm.bas Code.115

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

CARA-CARA UNTUK MEMBUAT POSTER MELALUI PERISIAN PHOTOSHOP. Untuk membuat poster sediakan beberapa bahan seperti berikut:

CARA-CARA UNTUK MEMBUAT POSTER MELALUI PERISIAN PHOTOSHOP. Untuk membuat poster sediakan beberapa bahan seperti berikut: CARA-CARA UNTUK MEMBUAT POSTER MELALUI PERISIAN PHOTOSHOP Untuk membuat poster sediakan beberapa bahan seperti berikut: Pastikan anda telah memindahkan gambar-gambar yang di ambil ke dalam komputer Pastikan

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

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

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

More information

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

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

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types Managing Data Unit 4 Managing Data Introduction Lesson 4.1 Data types We come across many types of information and data in our daily life. For example, we need to handle data such as name, address, money,

More information

Written by Mazuki Izani Thursday, 02 August :00 - Last Updated Tuesday, 03 February :54

Written by Mazuki Izani Thursday, 02 August :00 - Last Updated Tuesday, 03 February :54 Alhamdulillah, dalam keadaan serba kekurangan dan dengan ilmu yang sedikit ini telah berjaya menghasilkan perisian sendiri iaitu Kamus Kata Kerja daripada bahasa Inggeris ke bahasa Arab. Berbekalkan kursus

More information

Control Properties. Example: Program to change background color

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

More information

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

Module-1 QTP Fundamentals. Module 2 Basics of QTP. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad

Module-1 QTP Fundamentals. Module 2 Basics of QTP. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad Module-1 QTP Fundamentals Why QTP? When do we use QTP? Which application will we test? Will be doing live applications testing Downloading and installing trial version Installing addins Installing script

More information

ICT SPM 2011 SUGGESTION ANSWER. Section A

ICT SPM 2011 SUGGESTION ANSWER. Section A ICT SPM 2011 SUGGESTION ANSWER Section A NO SOALAN 1 i Computer ethic / ethic ii Computer law / law 2 ii 4 iv 2 3 Output 4 True 5 Gigabyte / GB 6 i Operating ii Application 7 B / D D / B 8 B 9 A 10 i Radio

More information

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

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

More information

Angel International School - Manipay 1 st Term Examination November, 2015

Angel International School - Manipay 1 st Term Examination November, 2015 Grade 10 Angel International School - Manipay 1 st Term Examination November, 2015 Information & Communication Technology Duration: 3.00 Hours Part 1 Choose the appropriate answer 1) Find the correct type

More information

PART A SULIT (EKT 221) BAHAGIAN A. Answer ALL questions. Question 1. a) Briefly explain the concept of Clock Gating.

PART A SULIT (EKT 221) BAHAGIAN A. Answer ALL questions. Question 1. a) Briefly explain the concept of Clock Gating. PART A BAHAGIAN A Answer ALL questions. Jawab SEMUA soalan. Question Soalan a) Briefly explain the concept of Clock Gating. [Terangkan secara ringkas konsep Selakan Denyut.] [2 Marks/Markah] b) Define

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

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

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

KARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB

KARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB 62 KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jl. Bioteknologi No.1 Kampus USU Padang Bulan Medan 20155 Telp. (061) 8211050, 8214290, Fax (061)

More information

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

Appendix E SLAMM Source Code

Appendix E SLAMM Source Code Appendix E SLAMM Source Code Attribute VB_Name = "CalcMainModule"... 2 Attribute VB_Name = "CalcPollutants"... 38 Attribute VB_Name = "Procedures"... 50 Attribute VB_Name = "CalcWetDetention"... 91 Attribute

More information

CPS Plus Data Acquisition Software ActiveX interface

CPS Plus Data Acquisition Software ActiveX interface Overview CPS Plus ActiveX interface enables communication with devices connected via RS232 COM ports and the devices with keyboard emulation using ActiveX technology. Use of CPS Plus ActiveX interface

More information

DAFTAR ISI ABSTRAK... 1 KATA PENGANTAR...ERROR! BOOKMARK NOT DEFINED. UCAPAN TERIMAKASIH...ERROR! BOOKMARK NOT DEFINED. DAFTAR ISI...

DAFTAR ISI ABSTRAK... 1 KATA PENGANTAR...ERROR! BOOKMARK NOT DEFINED. UCAPAN TERIMAKASIH...ERROR! BOOKMARK NOT DEFINED. DAFTAR ISI... ABSTRAK Perkembangan teknologi scanner yang berkembang begitu pesat memunculkan ide yang menjadi dasar konsep tugas akhir ini. Pada awalnya scanner digunakan untuk membaca gambar sehingga dapat diolah

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

Cosine Similarity Measurement for Indonesian Publication Recommender System

Cosine Similarity Measurement for Indonesian Publication Recommender System Journal of Telematics and Informatics (JTI) Vol.5, No.2, September 2017, pp. 56~61 ISSN: 2303-3703 56 Cosine Similarity Measurement for Indonesian Publication Recommender System Darso, Imam Much Ibnu Subroto,

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