LAMPIRAN A: LISTING PROGRAM

Size: px
Start display at page:

Download "LAMPIRAN A: LISTING PROGRAM"

Transcription

1 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 = True Picture2.Visible = False If Picture2.Visible = False Then Picture2.Visible = True Picture3.Visible = False If Picture3.Visible = False Then Picture3.Visible = True Picture4.Visible = False If Picture4.Visible = False Then Picture4.Visible = True Picture5.Visible = False If Picture5.Visible = False Then Picture5.Visible = True Picture6.Visible = False If Picture6.Visible = False Then Picture6.Visible = True Picture7.Visible = False If Picture7.Visible = False Then Picture7.Visible = True Picture8.Visible = False If Picture8.Visible = False Then Picture8.Visible = True Picture9.Visible = False If Picture9.Visible = False Then Picture9.Visible = True Picture10.Visible = False If Picture10.Visible = False Then Picture10.Visible = True Picture11.Visible = False If Picture11.Visible = False Then Picture11.Visible = True Picture12.Visible = False If Picture12.Visible = False Then Picture12.Visible = True Picture13.Visible = False If Picture13.Visible = False Then Picture13.Visible = True

2 2. Form Navigasi Option Explicit Dim dc As New MapObjects2.DataConnection Dim Pmode As String Dim CN As New Connection Dim IDJarak1 As Integer Dim IDJarak2 As Integer Dim rscari As Recordset Dim rsvertex As Recordset Dim rsnmvertex As Recordset Dim rstempvertex As Recordset Dim rsvertex1 As Recordset Dim rsvertex2 As Recordset Dim rsrute As Recordset Dim VertexTujuan As String * 3 Dim StrVertex As String, StrVertex1 As String Dim IDJarak As Integer 'Pemanggilan gambar Lokasi Private Sub Combo1_Click() Asal = Combo1.Text rscari.open "Select * from vertex where asal= '" & Asal & "'", CN, 1, 2 If Not rscari.eof Then IDJarak = rscari!id Set rsnmvertex = New ADODB.Recordset rsnmvertex.open "select * from nmvertex where Vertex ='" & Combo1.Text & "'", CN, 1, 2 If Not rsnmvertex.eof Then lblasal.caption = rsnmvertex!nmvertex If Combo1 = "F01" Then "\data\rsu_djoelham.jpg") If Combo1 = "F02" Then "\Data\Mesjid_Agung.jpg") If Combo1 = "F03" Then "\Data\SPBU JPG") If Combo1 = "F04" Then "\Data\SPBU JPG") If Combo1 = "F05" Then "\Data\SPBU JPG") If Combo1 = "F06" Then "\Data\Gereja_GBKP.JPG") If Combo1 = "F07" Then "\Data\Vihara_Setia Budha.JPG") If Combo1 = "F08" Then "\Data\Polresta.JPG") If Combo1 = "F09" Then

3 "\Data\BRI_Binjai.JPG") If Combo1 = "F10" Then "\Data\Binjai_Super_ Mall.JPG") If Combo1 = "F11" Then "\Data\Toyota_ Service_ Binjai.JPG") If Combo1 = "F12" Then "\Data\HOTEL_ BINJAI.JPG") If Combo1 = "S01" Then "\Data\S01.JPG") If Combo1 = "S02" Then "\Data\S02.JPG") If Combo1 = "S03" Then "\Data\S03.JPG") If Combo1 = "S04" Then "\Data\S04.JPG") If Combo1 = "S05" Then "\Data\S05.JPG") If Combo1 = "S06" Then "\Data\S06.JPG") If Combo1 = "S07" Then "\Data\S07.JPG") If Combo1 = "S08" Then "\Data\S08.JPG") If Combo1 = "S09" Then "\Data\S09.JPG") If Combo1 = "S10" Then "\Data\S10.JPG") If Combo1 = "S11" Then "\Data\S11.JPG") If Combo1 = "S12" Then "\Data\S12.JPG") If Combo1 = "S13" Then "\Data\S13.JPG") If Combo1 = "S14" Then "\Data\S14.JPG") If Combo1 = "S15" Then "\Data\S15.JPG") If Combo1 = "S16" Then "\Data\S16.JPG") If Combo1 = "S17" Then

4 "\Data\S17.JPG") If Combo1 = "S18" Then "\Data\S18.JPG") If Combo1 = "S19" Then "\Data\S19.JPG") If Combo1 = "S20" Then "\Data\S20.JPG") lblasal.caption = "" Set rsvertex = Nothing Combo2.Enabled = True Combo2.SetFocus 'Pemanggilan gambar lokasi Private Sub Combo2_Click() Tujuan = Combo2.Text rscari.open "Select * from vertex where tujuan ='" & Tujuan & "'", CN, 1, 2 If Not rscari.eof Then IDJarak2 = rscari!id Set rsnmvertex = New ADODB.Recordset rsnmvertex.open "select * from nmvertex where vertex = '" & Combo2.Text & "'", CN, 1, 2 If Not rsnmvertex.eof Then lbltujuan.caption = rsnmvertex!nmvertex If Combo2 = "F01" Then "\Data\RSU_Djoelham.jpg") If Combo2 = "F02" Then "\Data\Mesjid_Agung.jpg") If Combo2 = "F03" Then "\Data\SPBU JPG") If Combo2 = "F04" Then "\Data\SPBU JPG") If Combo2 = "F05" Then "\Data\SPBU JPG") If Combo2 = "F06" Then "\Data\Gereja_GBKP.JPG") If Combo2 = "F07" Then "\Data\Vihara_Setia Budha.JPG") If Combo2 = "F08" Then

5 "\Data\Polresta.JPG") If Combo2 = "F09" Then "\Data\BRI_Binjai.JPG") If Combo2 = "F10" Then "\Data\Binjai_Super_ Mall.JPG") If Combo2 = "F11" Then "\Data\Toyota_ Service_ Binjai.JPG") If Combo2 = "F12" Then "\Data\HOTEL_ BINJAI.JPG") If Combo2 = "S01" Then "\Data\S01.JPG") If Combo2 = "S02" Then "\Data\S02.JPG") If Combo2 = "S03" Then "\Data\S03.JPG") If Combo2 = "S04" Then "\Data\S04.JPG") If Combo2 = "S05" Then "\Data\S05.JPG") If Combo2 = "S06" Then "\Data\S06.JPG") If Combo2 = "S07" Then "\Data\S07.JPG") If Combo2 = "S08" Then "\Data\S08.JPG") If Combo2 = "S09" Then "\Data\S09.JPG") If Combo2 = "S10" Then "\Data\S10.JPG") If Combo2 = "S11" Then "\Data\S11.JPG") If Combo2 = "S12" Then "\Data\S12.JPG") If Combo2 = "S13" Then "\Data\S13.JPG") If Combo2 = "S14" Then "\Data\S14.JPG") If Combo2 = "S15" Then "\Data\S15.JPG") If Combo2 = "S16" Then

6 "\Data\S16.JPG") If Combo2 = "S17" Then "\Data\S17.JPG") If Combo2 = "S18" Then "\Data\S18.JPG") If Combo2 = "S19" Then "\Data\S19.JPG") If Combo2 = "S20" Then "\Data\S20.JPG") lbltujuan.caption = "" Set rsnmvertex = Nothing Combo2.Enabled = True Combo2.SetFocus Private Sub Command2_Click() frmutama.show Private Sub Form_Activate() Combo1.Enabled = True Combo2.Enabled = False BolAwal = True Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbaco.mdb;persist Security Info=False" CN.Open Set rsvertex1 = New ADODB.Recordset rsvertex1.open "Select distinct(asal) from Vertex order by Asal asc", CN, 1, 2 Do Until rsvertex1.eof = True Combo1.AddItem rsvertex1!asal rsvertex1.movenext Loop Set rsvertex1 = Nothing Set rsvertex2 = New ADODB.Recordset rsvertex2.open "Select distinct (Tujuan) from Vertex order by Tujuan asc", CN, 1, 2 Do Until rsvertex2.eof = True Combo2.AddItem rsvertex2!tujuan rsvertex2.movenext Loop Set rsvertex2 = Nothing

7 'Menampilkan Peta Binjai dengan pembagian warna wilayah dc.database = "D:\TA GIS" If dc.connect Then Dim L1, L2, nama As MapObjects2.MapLayer Set nama = New MapObjects2.MapLayer nama.geodataset = dc.findgeodataset("binjai_registrasi") Dim kec As New MapObjects2.LabelRenderer kec.field = "Kecamatan" kec.drawbackground = False nama.renderer = kec Set L2 = New MapObjects2.MapLayer L2.GeoDataset = dc.findgeodataset("binjai_registrasi") Dim vr As New ValueMapRenderer vr.valuecount = 5 vr.field = "Kecamatan" vr.symbol(0).color = &HC0C0FF vr.value(0) = "Kec. Binjai Utara" vr.symbol(1).color = &H8000& vr.value(1) = "Kec. Binjai Timur" vr.symbol(2).color = &H80C0FF vr.value(2) = "Kec. Binjai Selatan" vr.symbol(3).color = &HFFC0C0 vr.value(3) = "Kec. Binjai Kota" vr.symbol(4).color = &HC07051 vr.value(4) = "Kec. Binjai Barat" vr.symbol(4).color = &HE0E0E0 L2.Renderer = vr L2.Name = "Kecamatan" Map1.Layers.Add L2 Map1.Layers.Add nama 'Menampilkan Line jalan dan Label Jalan Set L1 = New MapObjects2.MapLayer L1.GeoDataset = dc.findgeodataset("jalan_regis") Dim jln As New MapObjects2.LabelRenderer jln.symbol(0).font.name = "calibri" jln.symbol(0).font.size = 7 jln.symbol(0).font.bold = True jln.field = "Nama_jalan" jln.drawbackground = True L1.Renderer = jln L1.Symbol.Color = &HC000& L1.Symbol.Size = 3 Map1.Layers.Add L1 L1.Name = "jalan" 'Menampilkan titik lokasi fasilitas umum dan labelnya Set L1 = New MapObjects2.MapLayer L1.GeoDataset = dc.findgeodataset("titik_reg") Dim lr As New MapObjects2.LabelRenderer

8 lr.field = "ID_verteks" lr.drawbackground = True L1.Renderer = lr lr.symbol(0).font.name = "calibri" L1.Symbol.Style = mocirclemarker L1.Symbol.Color = mored L1.Symbol.Size = 4 Map1.Layers.Add L1 L1.Name = "verteks" Private Sub fullextents_click() Map1.Extent = Map1.FullExtent Private Sub close_click() End Private Sub Map1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Select Case Pmode Case "zoomin" Dim rect As MapObjects2.Rectangle Set rect = Map1.TrackRectangle Map1.Extent = rect Case "zoomout" Dim rect2 As MapObjects2.Rectangle Set rect2 = Map1.Extent rect2.scalerectangle 1.5 Map1.Extent = rect2 Case "pan" Map1.Pan Case "identify" Dim i As Long Dim L As MapObjects2.MapLayer Dim rec As MapObjects2.Recordset Dim s As String Dim P As MapObjects2.Point Dim FName As String Set P = Map1.ToMapPoint(X, Y) For i = 0 To 2 '0=cities, 1=roads, 2=states If i = 0 Then s = s & "Titik_reg:" & vbcrlf FName = "ID_verteks" If i = 1 Then s = s & "Jalan_regis:" & vbcrlf FName = "Nama_jalan" If i = 2 Then s = s & "Binjai_registrasi:" & vbcrlf FName = "Kecamatan" Set L = Map1.Layers(i) Set rec = L.SearchByDistance(P, 0.1, "") While Not rec.eof

9 Wend Next MsgBox s End Select Private Sub Map1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Dim P As MapObjects2.Point Set P = Map1.ToMapPoint(X, Y) Label8 = P.X Label10 = P.Y Private Sub Pan_Click() Pmode = "pan" Map1.MousePointer = mopan Private Sub zoomin_click() Pmode = "zoomin" Map1.MousePointer = mozoomin Private Sub zoomout_click() Pmode = "zoomout" Map1.MousePointer = mozoomout 3. Form Utama Private NumNodes As Integer Private Infinity As Integer Private Street() As StreetType Private Distance() As Integer Private Path() As Integer Private Included() As Integer Private A_Show As Integer Private SelCity As String Dim rspara As Recordset Dim rshasil As Recordset Dim CN As Connection Dim rscari As Recordset Dim rsdata As Recordset Dim rsvertex As Recordset Dim rsnmvertex As Recordset Dim rstempvertex As Recordset Dim rsvertex1 As Recordset Dim rsvertex2 As Recordset Dim rsrute As Recordset 'Dim Asal As String * 3, Tujuan As String * 3 Dim VertexTujuan As String * 3 Dim StrVertex As String, StrVertex1 As String Dim Jarak As Single, TJarak As Single, TJarak1 As Single

10 Dim ID As Integer, IDHasil As Integer Dim Rho As Single Dim IDJarak As Integer Dim IDJarak1 As Integer Dim IDJarak2 As Integer Dim Vis As Single, TVis As Single Dim Pro As Single, TPro As Single Dim JumSemut As Integer Dim i As Integer, j As Integer, k As Integer Dim JumSiklus As Integer Dim JumVertex As Integer Dim boljalur As Boolean Dim Alpha As Single Dim intrute As Integer Dim strwaktuawal As String Dim strwaktuakhir As String Dim IntenFero As Single Dim TetapanSiklus As Single Dim TotalJarak As Single Dim Betha As Single Dim BanyakSemut As Integer Dim PenguapanFero As Single Dim BanyakSiklus As Integer Dim Detik1 As Integer Dim Detik2 As Integer Dim bolproses As Boolean Dim WaktuAwal As Single Dim WaktuAkhir As Single Dim Waktu As Single Dim bolintenfero As Boolean Dim boltetapansiklus As Boolean Dim bolalpha As Boolean Dim bolbetha As Boolean Dim bolpenguapanfero As Boolean Dim bolbanyaksiklus As Boolean Private Sub cmdbatal_click() PicAsal.Picture = Nothing PicTujuan.Picture = Nothing lblket = "" strwaktuawal = "" strwaktuakhir = "" IntenFero = 0 TetapanSiklus = 0 Alpha = 0 Betha = 0 BanyakSemut = 0 PenguapanFero = 0 BanyakSiklus = 0 IDHasil = 0 Rho = 0 intrute = 0 lblasal = "" lbltujuan = "" boljalur = False Alpha = 0 Combo1.Text = "" Combo2.Text = "" VertexTujuan = "" StrVertex = "" StrVertex1 = ""

11 JumSiklus = 0 JumSemut = 0 JumVertex = 0 Vis = 0 Pro = 0 i = 0 j = 0 k = 0 ID = 0 TPro = 0 IDJarak = 0 IDJarak1 = 0 IDJarak2 = 0 Jarak = 0 TJarak = 0 TJarak1 = 0 Asal = "" Tujuan = "" Combo1.Enabled = True Combo2.Enabled = True picmap.cls List1.Clear List2.Clear List1.Visible = False WaktuAwal = 0 WaktuAkhir = 0 Waktu = 0 Timer2.Enabled = False bolintenfero = False boltetapansiklus = False bolalpha = False bolbetha = False bolpenguapanfero = False bolbanyaksiklus = False Private Sub cmdjarak_click() Timer2.Enabled = False Dim bexit As Boolean Me.Hide frmjarak.show Do Until bexit bexit = Not frmjarak.visible DoEvents Loop ClearMap Private Sub cmdlihat_click() If List1.Visible = True Then List1.Visible = False cmdlihat.caption = "Lihat Siklus" List1.Visible = True cmdlihat.caption = "Tutup Siklus"

12 Private Sub Combo1_Click() Asal = Combo1.Text rscari.open "Select * from Vertex where Asal='" & Asal & "'", CN, 1, 2 If Not rscari.eof Then IDJarak1 = rscari!id Set rsnmvertex = New ADODB.Recordset rsnmvertex.open "Select * from nmvertex where Vertex='" & Combo1.Text & "'", CN, 1, 2 If Not rsnmvertex.eof Then lblasal.caption = rsnmvertex!nmvertex 'Combo1 = rsnmvertex!nmvertex If Combo1 = "F01" Then "\Data\RSU_Djoelham.jpg") If Combo1 = "F02" Then "\Data\Mesjid_Agung.jpg") If Combo1 = "F03" Then "\Data\SPBU JPG") If Combo1 = "F04" Then "\Data\SPBU JPG") If Combo1 = "F05" Then "\Data\SPBU JPG") If Combo1 = "F06" Then "\Data\Gereja_GBKP.JPG") If Combo1 = "F07" Then "\Data\Vihara_Setia Budha.JPG") If Combo1 = "F08" Then "\Data\Polresta.JPG") If Combo1 = "F09" Then "\Data\BRI_Binjai.JPG") If Combo1 = "F10" Then "\Data\Binjai_Super_ Mall.JPG") If Combo1 = "F11" Then "\Data\Toyota_ Service_ Binjai.JPG") If Combo1 = "F12" Then "\Data\HOTEL_ BINJAI.JPG") If Combo1 = "S01" Then "\Data\S01.JPG") If Combo1 = "S02" Then "\Data\S02.JPG") If Combo1 = "S03" Then "\Data\S03.JPG") If Combo1 = "S04" Then

13 "\Data\S04.JPG") If Combo1 = "S05" Then "\Data\S05.JPG") If Combo1 = "S06" Then "\Data\S06.JPG") If Combo1 = "S07" Then "\Data\S07.JPG") If Combo1 = "S08" Then "\Data\S08.JPG") If Combo1 = "S09" Then "\Data\S09.JPG") If Combo1 = "S10" Then "\Data\S10.JPG") If Combo1 = "S11" Then "\Data\S11.JPG") If Combo1 = "S12" Then "\Data\S12.JPG") If Combo1 = "S13" Then "\Data\S13.JPG") If Combo1 = "S14" Then "\Data\S14.JPG") If Combo1 = "S15" Then "\Data\S15.JPG") If Combo1 = "S16" Then "\Data\S16.JPG") If Combo1 = "S17" Then "\Data\S17.JPG") If Combo1 = "S18" Then "\Data\S18.JPG") If Combo1 = "S19" Then "\Data\S19.JPG") If Combo1 = "S20" Then "\Data\S20.JPG") lblasal.caption = "" Set rsnmvertex = Nothing Combo2.Enabled = True Combo2.SetFocus Combo1.Enabled = True

14 Combo1.SetFocus Sub CariGbr1() Asal = Combo1.Text rscari.open "Select * from Vertex where Asal='" & Asal & "'", CN, 1, 2 If Not rscari.eof Then IDJarak1 = rscari!id Set rsnmvertex = New ADODB.Recordset rsnmvertex.open "Select * from nmvertex where Vertex='" & Combo1.Text & "'", CN, 1, 2 If Not rsnmvertex.eof Then lblasal.caption = rsnmvertex!nmvertex 'Combo1 = rsnmvertex!nmvertex If Combo1 = "F01" Then "\Data\RSU_Djoelham.jpg") If Combo1 = "F02" Then "\Data\Mesjid_Agung.jpg") If Combo1 = "F03" Then "\Data\SPBU JPG") If Combo1 = "F04" Then "\Data\SPBU JPG") If Combo1 = "F05" Then "\Data\SPBU JPG") If Combo1 = "F06" Then "\Data\Gereja_GBKP.JPG") If Combo1 = "F07" Then "\Data\Vihara_Setia Budha.JPG") If Combo1 = "F08" Then "\Data\Polresta.JPG") If Combo1 = "F09" Then "\Data\BRI_Binjai.JPG") If Combo1 = "F10" Then "\Data\Binjai_Super_ Mall.JPG") If Combo1 = "F11" Then "\Data\Toyota_ Service_ Binjai.JPG") If Combo1 = "F12" Then "\Data\HOTEL_ BINJAI.JPG") If Combo1 = "S01" Then "\Data\S01.JPG") If Combo1 = "S02" Then "\Data\S02.JPG")

15 If Combo1 = "S03" Then "\Data\S03.JPG") If Combo1 = "S04" Then "\Data\S04.JPG") If Combo1 = "S05" Then "\Data\S05.JPG") If Combo1 = "S06" Then "\Data\S06.JPG") If Combo1 = "S07" Then "\Data\S07.JPG") If Combo1 = "S08" Then "\Data\S08.JPG") If Combo1 = "S09" Then "\Data\S09.JPG") If Combo1 = "S10" Then "\Data\S10.JPG") If Combo1 = "S11" Then "\Data\S11.JPG") If Combo1 = "S12" Then "\Data\S12.JPG") If Combo1 = "S13" Then "\Data\S13.JPG") If Combo1 = "S14" Then "\Data\S14.JPG") If Combo1 = "S15" Then "\Data\S15.JPG") If Combo1 = "S16" Then "\Data\S16.JPG") If Combo1 = "S17" Then "\Data\S17.JPG") If Combo1 = "S18" Then "\Data\S18.JPG") If Combo1 = "S19" Then "\Data\S19.JPG") If Combo1 = "S20" Then "\Data\S20.JPG") lblasal.caption = "" Set rsnmvertex = Nothing Combo2.Enabled = True

16 Combo2.SetFocus Combo1.Enabled = True Combo1.SetFocus Private Sub Combo2_Click() Tujuan = Combo2.Text rscari.open "Select * from Vertex where Tujuan='" & Tujuan & "'", CN, 1, 2 If Not rscari.eof Then IDJarak2 = rscari!id Set rsnmvertex = New ADODB.Recordset rsnmvertex.open "Select * from nmvertex where Vertex='" & Combo2.Text & "'", CN, 1, 2 If Not rsnmvertex.eof Then lbltujuan.caption = rsnmvertex!nmvertex If Combo2 = "F01" Then "\Data\RSU_Djoelham.jpg") If Combo2 = "F02" Then "\Data\Mesjid_Agung.jpg") If Combo2 = "F03" Then "\Data\SPBU JPG") If Combo2 = "F04" Then "\Data\SPBU JPG") If Combo2 = "F05" Then "\Data\SPBU JPG") If Combo2 = "F06" Then "\Data\Gereja_GBKP.JPG") If Combo2 = "F07" Then "\Data\Vihara_Setia Budha.JPG") If Combo2 = "F08" Then "\Data\Polresta.JPG") If Combo2 = "F09" Then "\Data\BRI_Binjai.JPG") If Combo2 = "F10" Then "\Data\Binjai_Super_ Mall.JPG") If Combo2 = "F11" Then "\Data\Toyota_ Service_ Binjai.JPG") If Combo2 = "F12" Then "\Data\HOTEL_ BINJAI.JPG") If Combo2 = "S01" Then "\Data\S01.JPG") If Combo2 = "S02" Then

17 "\Data\S02.JPG") If Combo2 = "S03" Then "\Data\S03.JPG") If Combo2 = "S04" Then "\Data\S04.JPG") If Combo2 = "S05" Then "\Data\S05.JPG") If Combo2 = "S06" Then "\Data\S06.JPG") If Combo2 = "S07" Then "\Data\S07.JPG") If Combo2 = "S08" Then "\Data\S08.JPG") If Combo2 = "S09" Then "\Data\S09.JPG") If Combo2 = "S10" Then "\Data\S10.JPG") If Combo2 = "S11" Then "\Data\S11.JPG") If Combo2 = "S12" Then "\Data\S12.JPG") If Combo2 = "S13" Then "\Data\S13.JPG") If Combo2 = "S14" Then "\Data\S14.JPG") If Combo2 = "S15" Then "\Data\S15.JPG") If Combo2 = "S16" Then "\Data\S16.JPG") If Combo2 = "S17" Then "\Data\S17.JPG") If Combo2 = "S18" Then "\Data\S18.JPG") If Combo2 = "S19" Then "\Data\S19.JPG") If Combo2 = "S20" Then "\Data\S20.JPG") lbltujuan.caption = ""

18 Set rsnmvertex = Nothing Command1.Enabled = True Command1.SetFocus Combo2.Enabled = True Combo2.SetFocus Sub CariGbr2() Tujuan = Combo2.Text rscari.open "Select * from Vertex where Tujuan='" & Tujuan & "'", CN, 1, 2 If Not rscari.eof Then IDJarak2 = rscari!id Set rsnmvertex = New ADODB.Recordset rsnmvertex.open "Select * from nmvertex where Vertex='" & Combo2.Text & "'", CN, 1, 2 If Not rsnmvertex.eof Then lbltujuan.caption = rsnmvertex!nmvertex If Combo2 = "F01" Then "\Data\RSU_Djoelham.jpg") If Combo2 = "F02" Then "\Data\Mesjid_Agung.jpg") If Combo2 = "F03" Then "\Data\SPBU JPG") If Combo2 = "F04" Then "\Data\SPBU JPG") If Combo2 = "F05" Then "\Data\SPBU JPG") If Combo2 = "F06" Then "\Data\Gereja_GBKP.JPG") If Combo2 = "F07" Then "\Data\Vihara_Setia Budha.JPG") If Combo2 = "F08" Then "\Data\Polresta.JPG") If Combo2 = "F09" Then "\Data\BRI_Binjai.JPG") If Combo2 = "F10" Then "\Data\Binjai_Super_ Mall.JPG") If Combo2 = "F11" Then "\Data\Toyota_ Service_ Binjai.JPG") If Combo2 = "F12" Then

19 "\Data\HOTEL_ BINJAI.JPG") If Combo2 = "S01" Then "\Data\S01.JPG") If Combo2 = "S02" Then "\Data\S02.JPG") If Combo2 = "S03" Then "\Data\S03.JPG") If Combo2 = "S04" Then "\Data\S04.JPG") If Combo2 = "S05" Then "\Data\S05.JPG") If Combo2 = "S06" Then "\Data\S06.JPG") If Combo2 = "S07" Then "\Data\S07.JPG") If Combo2 = "S08" Then "\Data\S08.JPG") If Combo2 = "S09" Then "\Data\S09.JPG") If Combo2 = "S10" Then "\Data\S10.JPG") If Combo2 = "S11" Then "\Data\S11.JPG") If Combo2 = "S12" Then "\Data\S12.JPG") If Combo2 = "S13" Then "\Data\S13.JPG") If Combo2 = "S14" Then "\Data\S14.JPG") If Combo2 = "S15" Then "\Data\S15.JPG") If Combo2 = "S16" Then "\Data\S16.JPG") If Combo2 = "S17" Then "\Data\S17.JPG") If Combo2 = "S18" Then "\Data\S18.JPG") If Combo2 = "S19" Then "\Data\S19.JPG") If Combo2 = "S20" Then

20 "\Data\S20.JPG") lbltujuan.caption = "" Set rsnmvertex = Nothing Command1.Enabled = True Command1.SetFocus Combo2.Enabled = True Combo2.SetFocus Private Sub Command1_Click() WaktuAwal = Timer BolAwal = False Command1.Enabled = False Combo1.Enabled = False Combo2.Enabled = False ' cek inisialisasi parameter 'Tij rscari.open "Select * from Parameter where IntenFero > 0 and IntenFero <= 1", CN, 1, 2 If Not rscari.eof Then bolintenfero = True bolintenfero = False 'Qo rscari.open "Select * from Parameter where TetapanSiklus > 0 and TetapanSiklus <= 5", CN, 1, 2 If Not rscari.eof Then boltetapansiklus = True boltetapansiklus = False 'alpha rscari.open "Select * from Parameter where Alpha > 0 and Alpha <= 5", CN, 1, 2 If Not rscari.eof Then bolalpha = True bolalpha = False

21 'Betha rscari.open "Select * from Parameter where Betha > 0 and Betha <= 5", CN, 1, 2 If Not rscari.eof Then bolbetha = True bolbetha = False 'PenguapanFero rscari.open "Select * from Parameter where PenguapanFero > 0 and PenguapanFero <= 1", CN, 1, 2 If Not rscari.eof Then bolpenguapanfero = True bolpenguapanfero = False If (bolpenguapanfero = True And bolbetha = True And bolalpha = True And boltetapansiklus = True And bolintenfero = True) Then If bolproses = False Then If Asal <> "" And Tujuan <> "" Then Asal = Combo1.Text Tujuan = Combo2.Text 2 Set rsvertex = New ADODB.Recordset rsvertex.open "Update Vertex Set status='1'", CN, 1, Set rsvertex = Nothing 'Membaca data jarak antar vertex If Combo1.Text = Combo2.Text Or Combo1.Text = "" Or Combo2.Text = "" Then MsgBox "Data Input lokasi salah" rscari.open "Select * from Vertex where (Asal='" & Asal & "' and Tujuan='" & Tujuan & "') or (Asal='" & Tujuan & "' and Tujuan='" & Asal & "')", CN, 1, 2 If Not rscari.eof Then Jarak = rscari!jarak List2.AddItem "Vertex= " & Combo1.Text & " -- > " & Combo2.Text & " Jarak: " & Jarak & " m" boljalur = True 'apabila menemukan jalur langsung List1.AddItem "Jarak: " & Jarak & " m" boljalur = False 'tidak ada jalur yang langsung lblket.caption = "Tidak ada jalur langsung" Combo2.Enabled = True

22 Combo2.SetFocus Set rstempvertex = New ADODB.Recordset ' database sementara pertama sekali di jalankan utk menyimpan data sembelum siklus. rstempvertex.open "Delete from data", CN, 1, 2 Set rstempvertex = Nothing Set rstempvertex = New ADODB.Recordset rstempvertex.open "Delete from TempVertex", CN, 1, 2 Set rstempvertex = Nothing rscari.open "Delete from Vertex1", CN, 1, 2 rscari.open "Delete from Vertex2", CN, 1, 2 Set rsvertex1 = New ADODB.Recordset rsvertex1.open "Vertex1", CN, 1, 2 ' utk menampung data hasil dr perhitungan visibilitas Set rstempvertex = New ADODB.Recordset rstempvertex.open "TempVertex", CN, 1, 2 List1.AddItem "Visibilitas" Set rspara = New ADODB.Recordset rspara.open "Select * from Parameter", CN, 1, 2 If Not rspara.eof Then IntenFero = rspara!intenfero TetapanSiklus = rspara!tetapansiklus Alpha = rspara!alpha Betha = rspara!betha BanyakSemut = rspara!banyaksemut PenguapanFero = rspara!penguapanfero BanyakSiklus = rspara!banyaksiklus IntenFero = 0 TetapanSiklus = 0 Alpha = 0 Betha = 0 BanyakSemut = 0 PenguapanFero = 0 BanyakSiklus = 0 ' Menghitung Visibilitas rscari.open "select * from Vertex where Status='1' order by ID asc", CN, 1, 2 If Not rscari.eof Then Do While Not rscari.eof

23 Jarak = rscari!jarak Vis = 1 / Jarak rsvertex1.addnew ' disimpan di tabel ini rsvertex1!id = rscari!id rsvertex1!vis = Format(Vis, "0.###0") rsvertex1.update rstempvertex.addnew rstempvertex!id = rscari!id rstempvertex!asal = rscari!asal rstempvertex!tujuan = rscari!tujuan rstempvertex!jarak = rscari!jarak rstempvertex.update List1.AddItem "Kota Asal " & rscari!asal & " Kota Tujuan " & rscari!tujuan & " --> " & Format(Vis, "0.###0") rscari.movenext ' untuk maju record ke 2 If rscari.eof Then Exit Do Loop ' tutup table Set rsvertex1 = Nothing Set rstempvertex = Nothing JumSemut = BanyakSemut i = 1 JumSiklus = BanyakSiklus j = 1 Rho = PenguapanFero If boljalur = False Then List1.AddItem "Probabilitas" rscari.open "select * from Vertex1 where (ID >= " & IDJarak1 & " and ID <=" & IDJarak2 & ")", CN, 1, 2 If Not rscari.eof Then Do While Not rscari.eof IDJarak = rscari!id Vis = rscari!vis Set rsvertex1 = New ADODB.Recordset rsvertex1.open "select * from Vertex where ID=" & IDJarak & " and Status='1'", CN, 1, 2 If Not rsvertex1.eof Then ' ketemu VertexTujuan = rsvertex1!tujuan TPro = TPro + (0.01 * Vis) 'List1.AddItem "Vertex asal: " & Asal & " " & "Vertex Tujuan: " & VertexTujuan & " --> " & Format(TPro, "0.#####0") 'tidak ketemu VertexTujuan = "-" Set rsvertex1 = Nothing rscari.movenext

24 If rscari.eof Then Exit Do Loop rscari.open "Delete from Vertex2", CN, 1, 2 Set rsvertex2 = New ADODB.Recordset rsvertex2.open "Vertex2", CN, 1, 2 ' menampung data asc", CN, 1, 2 rscari.open "select * from Vertex1 order by ID If Not rscari.eof Then Do While Not rscari.eof IDJarak = rscari!id Vis = rscari!vis If TPro > 0 Then If IDJarak <> IDJarak1 Then Pro = (0.01 * Vis) / TPro Pro = 0 Pro = 0 Format(Pro, "0.#####0") List1.AddItem "ID : " & IDJarak & " --> " & rsvertex2.addnew rsvertex2!id = IDJarak rsvertex2!pro = Format(Pro, "0.#####0") rsvertex2!status = "1" rsvertex2.update rscari.movenext If rscari.eof Then Exit Do Loop Set rsvertex2 = Nothing ID = 0 For j = 1 To JumSiklus List1.AddItem "Siklus ke-" & j Set rsvertex = New ADODB.Recordset rsvertex.open "Update Vertex2 Set status='1'", CN, 1, 2 Set rsvertex = Nothing For i = 1 To JumSemut List1.AddItem "Semut ke-" & i

25 '----- Ambil Probabilitas terbesar Set rsvertex2 = New ADODB.Recordset rsvertex2.open "select * from Vertex2 where Status='1' order by Pro desc", CN, 1, 2 If Not rsvertex2.eof Then ID = rsvertex2!id Set rsvertex2 = Nothing 'Cari vertex Set rsvertex = New ADODB.Recordset rsvertex.open "select * from Vertex where ID =" & ID & " and ID <>" & IDJarak1 & "", CN, 1, 2 If Not rsvertex.eof Then Asal = rsvertex!asal Tujuan = rsvertex!tujuan Set rstempvertex = New ADODB.Recordset rstempvertex.open "Select * from TempVertex where (asal ='" & Tujuan & "') or (Tujuan='" & Asal & "') and ID <>" & IDJarak1 & "", CN, 1, 2 If Not rstempvertex.eof Then Do While Not rstempvertex.eof "-" & rstempvertex!tujuan If Tujuan <> Combo1.Text Then StrVertex = StrVertex & StrVertex1 = StrVertex1 & "-" & rstempvertex!tujuan intrute = intrute + 1 TJarak = TJarak + rstempvertex!jarak TJarak1 = TJarak1 + rstempvertex!jarak List1.AddItem StrVertex List1.AddItem "Jarak: " & TJarak & " m" Set rsdata = New ADODB.Recordset rsdata.open "Data", CN, 1, 2 ' menampung data hasil rute rsdata.addnew rsdata!vertex = Combo1 & " " & StrVertex rsdata!jarak = TJarak If Right(StrVertex, 3) = Combo2.Text Then rsdata!status = "*" ' sudah terlewati rsdata!status = "1" ' belum terlewati rsdata.update Set rsdata = Nothing rstempvertex.movenext If rstempvertex.eof Then Exit Do Loop Set rstempvertex = Nothing TJarak = 0

26 Set rsvertex = Nothing Set rsvertex = New ADODB.Recordset rsvertex.open "Update Vertex2 Set status='*' where ID=" & ID & "", CN, 1, 2 Set rsvertex = Nothing TJarak = 0 ID = 0 StrVertex = "" Vis = 0 '-----meng Update local feromone List1.AddItem "Update local feromone semut ke: " & i Set rsdata = New ADODB.Recordset rsdata.open "Select * from Data where status='*'", CN, 1, 2 'yang sudah terlewati kemudian di update local feromon. If Not rsdata.eof Then Do While Not rsdata.eof Vis = 1 / (rsdata!jarak) * intrute ' vis=i/((rsdata!jarak) * banyakrute) TVis = (1 - Rho) * Vis rsdata.movenext If rsdata.eof Then Exit Do Loop Set rsdata = Nothing List1.AddItem Format(TVis, "0.######0") Next i ' semut selanjutnya rscari.open "Delete from Vertex2", CN, 1, 2 Set rsvertex2 = New ADODB.Recordset rsvertex2.open "Vertex2", CN, 1, 2 List1.AddItem "Update Global feromone siklus ke: " & j '---- Update global feromone 'Alpha = Val(frmParameter.lblKendaliFero) '- asc", CN, 1, 2 Ambil semut yang membuat rute terpendek Asc rscari.open "select * from Vertex1 order by ID If Not rscari.eof Then Do While Not rscari.eof IDJarak = rscari!id

27 Format(Pro, "0.#####0") If TPro > 0 Then If IDJarak <> IDJarak1 Then Pro = (1 - Alpha) + TVis Pro = 0 Pro = 0 List1.AddItem "ID : " & IDJarak & " --> " & rsvertex2.addnew rsvertex2!id = IDJarak rsvertex2!pro = Format(Pro, "0.#####0") rsvertex2!status = "1" rsvertex2.update rscari.movenext If rscari.eof Then Exit Do Loop MsgBox "" Set rsvertex2 = Nothing ID = 0 Next j List1.AddItem " " List1.AddItem "Hasil Optimasi " List1.AddItem " " Set rsdata = New ADODB.Recordset 'disini di urutkan dari yang terkecil rsdata.open "select * from Data where right(vertex,3)='" & Combo2.Text & "' order by Jarak asc", CN, 1, 2 If Not rsdata.eof Then List1.AddItem "Vertex " & rsdata!vertex 'lblhasil.caption = "" Set rsdata = Nothing Detik" Waktu = (Timer - WaktuAwal) List1.AddItem "Waktu : " & Format(Waktu, "0.######") & " Set rshasil = New ADODB.Recordset rshasil.open "Select * from Hasil order by IDHasil Desc", CN, 1, 2 If Not rshasil.eof Then IDHasil = rshasil!idhasil + 1 IDHasil = 1 Set rshasil = Nothing

28 Set rshasil = New ADODB.Recordset rshasil.open "Hasil", CN, 1, 2 rshasil.addnew rshasil!idhasil = IDHasil rshasil!awal = Combo1.Text rshasil!tujuan = Combo2.Text rshasil!intenfero = IntenFero rshasil!tetapansiklus = TetapanSiklus rshasil!alpha = Alpha rshasil!betha = Betha rshasil!banyaksemut = BanyakSemut rshasil!penguapanfero = PenguapanFero rshasil!banyaksiklus = BanyakSiklus rshasil!waktu = Waktu rshasil.update Set rshasil = Nothing FindPath ' untuk menghubungkan database dgn peta Timer2.Enabled = True MsgBox "Titik Asal atau Tujuan belum lengkap!!" Combo1.SetFocus MsgBox "Titik Asal atau Tujuan ini sudah di proses, lihat hasil pengujian!!" Combo1.Enabled = True Combo1.SetFocus Dim pesanbolintenfero As String Dim pesanboltetapansiklus As String Dim pesanbolalpha As String Dim pesanbolbetha As String Dim pesanbolpenguapanfero As String Dim pesanbolbanyaksiklus As String If bolintenfero = False Then pesanbolintenfero = "Tetapan: IntenFero" If boltetapansiklus = False Then pesanboltetapansiklus = "Tetapan: TetapanSiklus" If bolalpha = False Then pesanbolalpha = "Tetapan: Alpha" If bolbetha = False Then pesanbolbetha = "Tetapan: Betha" If bolpenguapanfero = False Then pesanbolpenguapanfero = "Tetapan: PenguapanFero"

29 MsgBox "Parameter yang belum benar --> " & pesanbolintenfero & pesanboltetapansiklus & pesanbolalpha & pesanbolbetha & pesanbolpenguapanfero Exit Sub Private Sub Command2_Click() frmcreator.show Private Sub Command3_Click() frmparameter.show Private Sub Command4_Click() End Private Sub Form_Activate() List1.Visible = False Command1.Enabled = False If BolAwal = True Then Combo1.Enabled = True Combo2.Enabled = True Combo1.Text = frmnavigasi.combo1.text Combo2.Text = frmnavigasi.combo2.text Call CariGbr1 Call CariGbr2 Command1_Click Combo1.Enabled = True Combo2.Enabled = False Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbaco.mdb;persist Security Info=False" CN.Open Set rsvertex1 = New ADODB.Recordset rsvertex1.open "Select distinct(asal) from Vertex order by Asal asc", CN, 1, 2 Do Until rsvertex1.eof = True Combo1.AddItem rsvertex1!asal rsvertex1.movenext Loop Set rsvertex1 = Nothing Set rsvertex2 = New ADODB.Recordset rsvertex2.open "Select distinct (Tujuan) from Vertex order by Tujuan asc", CN, 1, 2 Do Until rsvertex2.eof = True Combo2.AddItem rsvertex2!tujuan rsvertex2.movenext Loop Set rsvertex2 = Nothing

30 MainInit picmap.picture = LoadPicture(App.Path & "/Data/BINJAI.jpg") Me.Left = (Screen.Width - Me.Width) / 2 Me.Top = (Screen.Height - Me.Height) / 2 ClearMap If (NumCities() < 1) Or (NumStreets < 1) Then Unload Me Exit Sub NumNodes = NumCities() Infinity = ReDim Street(1 To NumStreets()) As StreetType ReDim Distance(1 To NumNodes) As Integer ReDim Path(1 To NumNodes) As Integer ReDim Included(1 To NumNodes) As Integer Private Sub Label5_Click() frmhasil.show Private Sub lblket_click() Dim X As String X = MsgBox("Data Hasil Pengujian mau dihapus?", vbyesno) If X = vbyes Then Set rstempvertex = New ADODB.Recordset rstempvertex.open "Delete from Hasil", CN, 1, 2 Set rstempvertex = Nothing MsgBox "Reset data sukses..." MsgBox "Batal Reset data" Private Function AllIncluded() As Boolean Dim RetVal As Boolean Dim i As Integer RetVal = True ' Assume all are included For i = 1 To NumNodes If Included(i) = False Then RetVal = False Next AllIncluded = RetVal End Function Sub FindPath() ' Menggambar titik vertex pada peta ' On Error Resume Next Dim Location As Integer Dim bfirst As Boolean Dim spath As String Dim Test As String Dim tt As String Dim ii As Integer Dim i As Integer

31 Dim j As Integer Dim s As Integer Dim t As Integer Dim JumVertex As Integer Location = 0 bfirst = False spath = "" Test = "" tt = "" ii = 0 i = 0 j = 0 s = 0 t = 0 JumVertex = 0 ClearMap strrute = "" For i = 1 To NumStreets() Get #1, i, Street(i) Next i For i = 1 To NumCities() Get #2, i, GetCity Test = UCase(Trim(GetCity)) If UCase(Trim(Combo1)) = Test Then s = i If UCase(Trim(Combo2)) = Test Then t = i If (s <> 0) And (t <> 0) Then Exit For Next If (s = 0) Or (t = 0) Then MsgBox "***** Kordinat tidak ada **** " + IIf(s = 0, Chr(13) _ + Combo1, "") + IIf(t = 0, Chr(13) + Combo2, "") Exit Sub Initialize s, t Do If A_Show Then tt = "" For ii = 1 To NumNodes tt = tt + Format(ii, "00") & " " & Format(Distance(ii), _ "00000") & " " & Format(Path(ii), "00") & " " & _ Format(Included(ii), "00") + Chr(13) Next If MsgBox(tt, 1) = vbcancel Then Exit Sub j = MinNode() Included(j) = True For i = 1 To NumNodes If Included(i) = False Then If (Weight(j, i) < Infinity) And _ (Distance(j) < Infinity) Then If Distance(j) + Weight(j, i) < Distance(i) Then Distance(i) = Distance(j) + Weight(j, i) Path(i) = j Next

32 Loop Until AllIncluded() j = t spath = Trim(Str(j)) Do i = Path(j) spath = Trim(Str(i)) + ", " + spath j = i If i = -1 Then MsgBox "Tidak ada jalur yang memungkinkan" Exit Sub Loop Until (i = Path(i)) LastPath = spath List2.AddItem " Jarak Terpendek : " bfirst = True Location = InStr(sPath, ",") Do While Location > 0 t = Val(Mid(sPath, 1, Location - 1)) Get #2, t, GetCity If bfirst Then List2.AddItem "-> " & GetCity strrute = strrute & " " & Trim(GetCity) AddBlinkingPoint ReadCoords(t), RGB(255, 0, 0), RGB(0, 0, 255), True List2.AddItem "o-> " & GetCity strrute = strrute & " " & Trim(GetCity) AddBlinkingPoint ReadCoords(t), vbyellow JumVertex = JumVertex + 1 spath = Mid(sPath, Location + 1) Location = InStr(sPath, ",") bfirst = False Loop t = Val(sPath) Get #2, t, GetCity List2.AddItem "<-" & GetCity strrute = Trim(strRute) & " " & Trim(GetCity) 'lblhasil.caption = "Jarak: " & Distance(t) & " m" List2.AddItem "Jumlah Vertex yang dilewati = " & JumVertex + 1 List2.AddItem "Jarak = " & Distance(t) & " m" TotalJarak = Distance(t) 'List1.AddItem RTrim(strRute) List2.AddItem "Waktu : " & Format(Waktu, "0.######") & " Detik" rscari.open "Update Hasil SET Jarak=" & TotalJarak & ", strvertex='" & strrute & "',JumVertex=" & JumVertex + 1 & " where IDHasil=" & IDHasil & "", CN, 1, 2 AddBlinkingPoint ReadCoords(t), RGB(255, 0, 0), RGB(150, 0, 0), True Combo1.Enabled = True Combo1.SetFocus

33 Private Sub cmdclose_click() Me.Hide LastPath = "" Private Sub Initialize(ByVal s As Integer, ByVal t As Integer) Dim Wgt As Integer Dim i As Integer Wgt = 0 i = 0 For i = 1 To NumNodes Wgt = Weight(s, i) Distance(i) = Wgt Included(i) = (s = i) If Wgt >= 0 And Wgt <> Infinity Then Path(i) = s ' source Path(i) = -1 Next Private Function MinNode() As Integer Dim Temp As Integer Dim Node As Integer Dim Min As Integer Dim i As Integer '* Searches the unincluded nodes for the shortest distance and returns '* that node's number. Requires global arrays Included() and Distance() Min = Infinity ' Max number for Integer For i = 1 To NumNodes If Included(i) = False Then ' Not included Temp = i If Distance(i) < Min Then Min = Distance(i) Node = i Next If Min = Infinity Then Node = Temp MinNode = Node End Function Private Function Weight(ByVal lsource As Integer, ByVal j As Integer) As Integer Dim RetVal As Integer Dim i As Integer RetVal = 0 If j = lsource Then Weight = 0 Exit Function For i = 1 To UBound(Street) If (Street(i).From = lsource And Street(i).To = j) Or _

34 (Street(i).From = j And Street(i).To = lsource) Then RetVal = Street(i).Wgt Exit For Next If RetVal = 0 Then RetVal = Infinity Weight = RetVal End Function Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) LastPath = "" Me.Hide Cancel = True Private Sub MakeCitiesMenu() Dim GetCity As String * 20 Dim i As Integer For i = 0 To NumCities() - 1 If i > mnucity.ubound Then Load mnucity(i) mnucity(i).visible = True GetCity = String(20, " ") Get #2, i + 1, GetCity mnucity(i).caption = Trim(GetCity) Next i For i = i To mnucity.ubound If i > 0 Then mnucity(i).visible = False Next i Private Sub Picture4_Click() If List1.Visible = True Then List1.Visible = False List1.Visible = True Private Sub Timer2_Timer() Static opickonmap As Boolean Static opath As String Static iblink As Integer Static otmrbpts As Long If Not Me.Visible Then Exit Sub ' Pick a Point on the Map ' If PickOnMap <> opickonmap Then If PickOnMap Then picmap.mousepointer = 2 picmap.mousepointer = 0 opickonmap = PickOnMap ' Redraw last Path '

35 If opath <> LastPath Then DrawLastPath opath = LastPath ' Redraw Location Points ' If iblink = 0 Then DrawBlinkingPoints If otmrbpts <> tmrbpts Then picmap.cls DrawLastPath otmrbpts = tmrbpts iblink = (iblink + 1) Mod 5 Private Sub DrawLastPath() Static irecur As Integer Dim Location As Integer Dim spath As String Dim P1 As POINTAPI Dim P2 As POINTAPI Dim t As Integer Dim n As Integer Dim c As Long If irecur = 0 Then picmap.cls If (Len(Trim(LastPath)) = 0) Then Exit Sub spath = LastPath irecur = irecur + 1 c = IIf(iRecur = 2, RGB(255, 150, 0), vbblack) Location = InStr(sPath, ",") Do While Location > 0 t = Val(Mid(sPath, 1, Location - 1)) spath = Mid(sPath, Location + 1) Location = InStr(sPath, ",") If n > 0 Then P2 = ReadCoords(t) picmap.drawwidth = IIf(iRecur < 2, 4, 2) picmap.line (P1.X * Screen.TwipsPerPixelX, P1.Y * Screen.TwipsPerPixelY)- _ (P2.X * Screen.TwipsPerPixelX, P2.Y * Screen.TwipsPerPixelY), c P1 = P2 P1 = ReadCoords(t) n = 1 Loop t = Val(sPath) If n > 0 Then P2 = ReadCoords(t) picmap.drawwidth = IIf(iRecur < 2, 4, 2) picmap.line (P1.X * Screen.TwipsPerPixelX, P1.Y * Screen.TwipsPerPixelY)- _ (P2.X * Screen.TwipsPerPixelX, P2.Y * Screen.TwipsPerPixelY), c

36 If irecur < 2 Then DrawLastPath irecur = irecur - 1 Private Sub DrawBlinkingPoints() Dim pt As BlinkingPoint Dim i As Integer Dim X As Single Dim Y As Single Dim c As Long i = 1 While i <= NumBPts pt = BlinkPt(i) X = (pt.pos.x) * Screen.TwipsPerPixelX Y = (pt.pos.y) * Screen.TwipsPerPixelY picmap.drawwidth = 8 picmap.circle (X, Y), 1, vbblack c = IIf(pt.BState > 0, pt.color2, pt.color) picmap.drawwidth = 6 picmap.circle (X, Y), 1, c If pt.blink Then pt.bstate = (pt.bstate + 1) Mod 2 BlinkPt(i) = pt i = i + 1 Wend 4. Form Parameter Option Explicit Dim MaxIterasi As Integer Dim rsupdate As Recordset Dim rscari As Recordset Dim IntenFero As Single Dim TetapanSiklus As Single Dim Alpha As Single Dim Betha As Single Dim BanyakSemut As Integer Dim PenguapanFero As Single Dim BanyakSiklus As Integer Dim CN As Connection Private Sub cmdkeluar_click() IntenFero = txtintenfero TetapanSiklus = txttetapansiklus Alpha = txtalpha Betha = txtbetha BanyakSemut = txtbanyaksemut PenguapanFero = txtpenguapanfero BanyakSiklus = txtbanyaksiklus 'txtintenfero = IntenFero 'txttetapansiklus = TetapanSiklus 'txtalpha = Alpha 'txtbetha = Betha 'txtbanyaksemut = BanyakSemut 'txtpenguapanfero = PenguapanFero 'txtbanyaksiklus = BanyakSiklus Set rsupdate = New ADODB.Recordset rsupdate.open "Update parameter SET IntenFero=" & IntenFero & ",TetapanSiklus=" & TetapanSiklus & ",Alpha=" & Alpha & ",Betha=" &

37 Betha & ",BanyakSemut=" & BanyakSemut & ",PenguapanFero=" & PenguapanFero & ",BanyakSiklus=" & BanyakSiklus & "", CN, 1, 2 Set rsupdate = Nothing Jenny_Auooo: If Err.Number <> 0 Then MsgBox "Parameter semut tidak boleh kosong" Set rsupdate = New ADODB.Recordset rsupdate.open "Update parameter SET IntenFero=0.01,TetapanSiklus=0,Alpha=0.5,Betha=1,BanyakSemut=3,Peng uapanfero=0.01,banyaksiklus=2", CN, 1, 2 Set rsupdate = Nothing Exit Sub Unload Me Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbaco.mdb;persist Security Info=False" CN.Open rscari.open "Select * from Parameter", CN, 1, 2 If Not rscari.eof Then IntenFero = rscari!intenfero TetapanSiklus = rscari!tetapansiklus Alpha = rscari!alpha Betha = rscari!betha BanyakSemut = rscari!banyaksemut PenguapanFero = rscari!penguapanfero BanyakSiklus = rscari!banyaksiklus txtintenfero = IntenFero txttetapansiklus = TetapanSiklus txtalpha = Alpha txtbetha = Betha txtbanyaksemut = BanyakSemut txtpenguapanfero = PenguapanFero txtbanyaksiklus = BanyakSiklus IntenFero = 0 TetapanSiklus = 0 Alpha = 0 Betha = 0 BanyakSemut = 0 PenguapanFero = 0 BanyakSiklus = 0 txtintenfero = 0 txttetapansiklus = 0 txtalpha = 0 txtbetha = 0 txtbanyaksemut = 0 txtpenguapanfero = 0 txtbanyaksiklus = 0

38 Private Sub Form_Unload(Cancel As Integer) On Error GoTo Jenny_Auooo IntenFero = txtintenfero TetapanSiklus = txttetapansiklus Alpha = txtalpha Betha = txtbetha BanyakSemut = txtbanyaksemut PenguapanFero = txtpenguapanfero BanyakSiklus = txtbanyaksiklus Set rsupdate = New ADODB.Recordset rsupdate.open "Update parameter SET IntenFero=" & IntenFero & ",TetapanSiklus=" & TetapanSiklus & ",Alpha=" & Alpha & ",Betha=" & Betha & ",BanyakSemut=" & BanyakSemut & ",PenguapanFero=" & PenguapanFero & ",BanyakSiklus=" & BanyakSiklus & "", CN, 1, 2 Set rsupdate = Nothing If Err.Number <> 0 Then MsgBox "Parameter semut tidak boleh kosong" Set rsupdate = New ADODB.Recordset rsupdate.open "Update parameter SET IntenFero=0.01,TetapanSiklus=0,Alpha=0.5,Betha=1,BanyakSemut=3,Peng uapanfero=0.01,banyaksiklus=2", CN, 1, 2 Set rsupdate = Nothing Exit Sub 5. Form Jarak Dim ID As Integer Dim CN As Connection Dim rscari As Recordset Dim rsupdate As Recordset Private SelCityIndex As Integer Sub Segar() rscari.open "Select * from vertex order by ID asc", CN, 1, 2 If Not rscari.eof Then lvvertex.listitems.clear Do While Not rscari.eof Set j = lvvertex.listitems.add(,, rscari.fields!id) j.subitems(1) = rscari.fields!asal j.subitems(2) = rscari.fields!tujuan j.subitems(3) = rscari.fields!jarak rscari.movenext If rscari.eof Then Exit Do Loop lvvertex.listitems.clear

39 Private Sub cmdbersih_click() cmdupdate.enabled = False lblid = "" lblasal = "" lbltujuan = "" txtjarak = "" Private Sub cmdupdate_click() If ID > 0 Then Set rsupdate = New ADODB.Recordset rsupdate.open "Update Vertex SET Jarak=" & txtjarak.text & " where ID=" & ID & "", CN, 1, 2 Set rsupdate = Nothing Call Segar MsgBox "Data sudah diupdate" MsgBox "ID Lokasi Belum ada" cmdupdate.enabled = False Private Sub Form_Activate() Call Segar picmap.picture = LoadPicture(App.Path & "/Data/Binjai.jpg") Me.Left = (Screen.Width - Me.Width) / 2 Me.Top = (Screen.Height - Me.Height) / 2 cmdupdate.enabled = False cmdpick.enabled = False cmdsave.enabled = False Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\dbaco.mdb;persist Security Info=False" CN.Open List Private Sub cmdclose_click() ClearBlinkingPoints Me.Hide Unload Me frmutama.show Private Sub cmdpick_click() If frmjarak.visible Then PickOnMap = Not PickOnMap frmjarak.show Timer1_Timer Private Sub cmdsave_click()

40 Dim Point As POINTAPI Dim Tmp As String If SelCityIndex Then Point.X = Val(txtX) Point.Y = Val(txtY) WriteCoords Point, SelCityIndex List Private Sub lvvertex_click() ID = lvvertex.listitems.item(lvvertex.selecteditem.index).text rscari.open "Select * from Vertex where ID=" & ID & "", CN, 1, 2 If Not rscari.eof Then lblid = ID lblasal = rscari!asal lbltujuan = rscari!tujuan txtjarak.text = rscari!jarak cmdupdate.enabled = True ID = 0 lblid = "" lblasal = "" lbltujuan = "" txtjarak = "" Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Me.Hide Cancel = True Private Sub List1_Click() Dim Point As POINTAPI Dim i As Integer Timer1.Enabled = True i = List1.ListIndex EnableControls (i >= 0) ClearBlinkingPoints If i >= 0 Then GetCity = String(20, " ") Get #2, i + 1, GetCity Get #3, i + 1, Point txtcity = Trim(GetCity) txtx = Point.X txty = Point.Y AddBlinkingPoint Point,,, True SelCityIndex = i + 1 cmdsave.enabled = True cmdpick.enabled = True SelCityIndex = 0 txtcity = "" GetCity = String(20, " ")

41 Private Sub EnableControls(ByVal benable As Boolean) txty.enabled = benable txtx.enabled = benable cmdsave.enabled = benable cmdpick.enabled = benable txtcity.enabled = benable Private Sub Timer1_Timer() Dim bmap As Boolean If Not frmjarak.visible Then Exit Sub If bmap <> frmjarak.visible Then If frmjarak.visible Then cmdpick.caption = "Buat Titik Pada Peta" cmdpick.caption = "Peta" 'RePlaceCenteredJarak Me bmap = frmjarak.visible Private Sub Timer2_Timer() Static opickonmap As Boolean Static opath As String Static iblink As Integer Static otmrbpts As Long If Not Me.Visible Then Exit Sub ' Pick a Point on the Map ' If PickOnMap <> opickonmap Then If PickOnMap Then picmap.mousepointer = 2 picmap.mousepointer = 0 opickonmap = PickOnMap ' Redraw last Path ' If opath <> LastPath Then DrawLastPath1 opath = LastPath ' Redraw Location Points ' If iblink = 0 Then DrawBlinkingPoints1 If otmrbpts <> tmrbpts Then picmap.cls DrawLastPath1 otmrbpts = tmrbpts iblink = (iblink + 1) Mod 5 Private Sub DrawBlinkingPoints1() Dim pt As BlinkingPoint Dim i As Integer Dim X As Single Dim Y As Single

42 Dim c As Long i = 1 While i <= NumBPts pt = BlinkPt(i) X = (pt.pos.x) * Screen.TwipsPerPixelX Y = (pt.pos.y) * Screen.TwipsPerPixelY picmap.drawwidth = 8 picmap.circle (X, Y), 1, vbblack c = IIf(pt.BState > 0, pt.color2, pt.color) picmap.drawwidth = 6 picmap.circle (X, Y), 1, c If pt.blink Then pt.bstate = (pt.bstate + 1) Mod 2 BlinkPt(i) = pt i = i + 1 Wend Private Sub DrawLastPath1() Static irecur As Integer Dim Location As Integer Dim spath As String Dim P1 As POINTAPI Dim P2 As POINTAPI Dim t As Integer Dim n As Integer Dim c As Long If irecur = 0 Then picmap.cls If (Len(Trim(LastPath)) = 0) Then Exit Sub spath = LastPath irecur = irecur + 1 c = IIf(iRecur = 2, RGB(255, 150, 0), vbblack) Location = InStr(sPath, ",") Do While Location > 0 t = Val(Mid(sPath, 1, Location - 1)) spath = Mid(sPath, Location + 1) Location = InStr(sPath, ",") If n > 0 Then P2 = ReadCoords(t) picmap.drawwidth = IIf(iRecur < 2, 4, 2) picmap.line (P1.X * Screen.TwipsPerPixelX, P1.Y * Screen.TwipsPerPixelY)- _ (P2.X * Screen.TwipsPerPixelX, P2.Y * Screen.TwipsPerPixelY), c P1 = P2 P1 = ReadCoords(t) n = 1 Loop t = Val(sPath) If n > 0 Then P2 = ReadCoords(t) picmap.drawwidth = IIf(iRecur < 2, 4, 2) picmap.line (P1.X * Screen.TwipsPerPixelX, P1.Y * Screen.TwipsPerPixelY)- _ (P2.X * Screen.TwipsPerPixelX, P2.Y * Screen.TwipsPerPixelY), c If irecur < 2 Then DrawLastPath1

43 irecur = irecur - 1 Private Sub txtx_keypress(keyascii As Integer) Select Case KeyAscii Case 8, Asc("0") To Asc("9") Case 13 txty.setfocus Case KeyAscii = 0 End Select Private Sub List() Dim Point As POINTAPI Dim scity As String * 20 Dim i As Integer List1.Clear For i = 1 To NumCities() scity = String(20, " ") Get #2, i, scity Point = ReadCoords(i) List1.AddItem AddTabs(Left(Trim(sCity), 19), 2) & _ AddTabs("X: " & Point.X, 1) & _ "Y: " & Point.Y Next i If SelCityIndex < 1 Then SelCityIndex = 1 If SelCityIndex > List1.ListCount Then SelCityIndex = List1.ListCount If List1.ListCount > 0 Then List1.ListIndex = SelCityIndex - 1 Private Sub txty_keypress(keyascii As Integer) Select Case KeyAscii Case 8, Asc("0") To Asc("9") Case 13 txty.setfocus Case KeyAscii = 0 End Select Private Sub picmap_mouseup(button As Integer, Shift As Integer, X As Single, Y As Single) Select Case Button Case vbleftbutton If PickOnMap Then If frmjarak.visible Then frmjarak.txtx = X / Screen.TwipsPerPixelX frmjarak.txty = Y / Screen.TwipsPerPixelY PickOnMap = False End Select

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

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

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

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

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

Tutorial, Source code, Request Program Visual Basic

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

More information

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub Source Aplikasi Sistem Informasi Akademik GENERAL Dim db As Connection Dim WithEvents adoprimaryrs1 As Recordset Dim WithEvents adoprimaryrs2 As Recordset Dim WithEvents rscaridata As Recordset Dim cekid

More information

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

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

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

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

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

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

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

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

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

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

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara 67 LAMPIRAN Lampiran A-1 Listing Program Visual Basic Private Sub mn_isidata_click() frm_isi_data.show Me.Hide Private Sub mn_koneksiport_click() frm_koneksi_port.show Me.Hide Private Sub mn_tentang_click()

More information

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

22. VB Programming Fundamentals Data Access with Data Objects

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

More information

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

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

More information

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

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

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

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

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

Manual Pengguna. PCN Online Service Fulfillment System

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

More information

LAMPIRAN A: Listing Program

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

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

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

Lecture Using ListBox and ComboBox Controls In Visual Basic 6: list box

Lecture Using ListBox and ComboBox Controls In Visual Basic 6: list box Lecture 10+11+12 7- Using ListBox and ComboBox Controls In 6: list box A list box displays a list of items from which the user can select one or more items. If the number of items exceeds the number that

More information

Universitas Sumatera Utara

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

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

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

Project : Version : Date : 11/04/2016 Author : Freeware, for evaluation and non-commercial use only Company : Comments:

Project : Version : Date : 11/04/2016 Author : Freeware, for evaluation and non-commercial use only Company : Comments: Lampiran 1 Listing program dari seluruh sistem. /***************************************************** This program was produced by the CodeWizardAVR V2.04.9 Evaluation Automatic Program Generator Copyright

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

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

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA Langkah-langkah penggunaan Software Algoritma Genetika Job Shop : 1. Buka program Algoritma Genetika Job Shop 2. Masukkan data-data yang dibutuhkan

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

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

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

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

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

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

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

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

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

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

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

More information

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

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

More information

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

University of Technology Laser & Optoelectronics Engineering Department Visual basic Lab. List of items List of items ListBox Control Properties List object.list(index) [= string] List1.List(0) List1.List(1) list ItemData list AddItem list NewIndex List1.AddItem "Judy Phelps" List1.ItemData(List1.NewIndex)

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

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

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

2/25/2016. Minimal Spanning Tree Problem. Minimal Spanning Tree Problem. Example: Minimal Spanning Tree. Example: Minimal Spanning Tree

2/25/2016. Minimal Spanning Tree Problem. Minimal Spanning Tree Problem. Example: Minimal Spanning Tree. Example: Minimal Spanning Tree // OPERATIONAL RESEARCH II Agustina Eunike, ST., MT., MBA. Industrial Engineering University of Brawijaya MINIMAL SPANNING TREE PROBLEM Minimal Spanning Tree Problem A tree is a set of connected arcs that

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

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

DAFTAR PUSTAKA. [2] Prof.Dr. Richard Sethmann Access Control Lists CCNA 2 (ACLs).German.

DAFTAR PUSTAKA. [2] Prof.Dr. Richard Sethmann Access Control Lists CCNA 2 (ACLs).German. DAFTAR PUSTAKA [1] Nahush Kulkarni 1, Harsh Kothari 2, Hardik Ashar 3, sanchit Patil 4 2015. International Journal for Research in Applied Science & Engineering Technology (IJRASET) Mumbay University.

More information

DAFTAR ISI. KATA PENGANTAR... Error! Bookmark not defined. DAFTAR TABEL... vi DAFTAR GAMBAR... 8 DAFTAR LAMPIRAN... 17

DAFTAR ISI. KATA PENGANTAR... Error! Bookmark not defined. DAFTAR TABEL... vi DAFTAR GAMBAR... 8 DAFTAR LAMPIRAN... 17 DAFTAR ISI ABSTRAK.Error! Bookmark n KATA PENGANTAR... Error! Bookmark not defined. DAFTAR ISI... i DAFTAR TABEL... vi DAFTAR GAMBAR... 8 DAFTAR LAMPIRAN... 17 BAB I PENDAHULUAN... Error! Bookmark not

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

PERKHIDMATAN KREDIT DAN PERBANKAN PROSEDUR UNIT KOMPUTER. Proses Backup ( Windows) BPKP/KlOK-118 Bilangan Semakan : Q Tarikh :

PERKHIDMATAN KREDIT DAN PERBANKAN PROSEDUR UNIT KOMPUTER. Proses Backup ( Windows) BPKP/KlOK-118 Bilangan Semakan : Q Tarikh : PERKHDMATAN KREDT DAN PERBANKAN PROSEDUR UNT KOMPUTER Proses Backup ( Windows) BPKP/KlOK-118 Bilangan Semakan : Q Tarikh : 30.09.13 Disediakan oleh :- Disahkan oleh :- Pengurus P PERU BAHAN Ubahan Muka

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

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

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

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

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

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

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia;

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia; LISTING CODE A-1 Indo_to_jawa_Fragments.java package studio.arti.kamusjawaindonesia; import android.content.dialoginterface; import android.database.cursor; import android.database.sqlite.sqlitedatabase;

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

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

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

Panduan Menggunakan Autoresponder FreeAutobot.com

Panduan Menggunakan Autoresponder FreeAutobot.com Panduan Menggunakan Autoresponder FreeAutobot.com Dengan memperolehi e-book ini, anda mempunyai kebenaran untuk memberi secara percuma kepada pelanggan anda atau tawarkan sebagai bonus kepada pembelian

More information

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

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

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

LAMPIRAN A. Universitas Sumatera Utara

LAMPIRAN A. Universitas Sumatera Utara 63 LAMPIRAN A Rangkaian Lengkap Perangkat Keras Rangkaian ini terdiri dari Rangkaian Power Supply (PSA), Mikrokontroller atmega8535, RFID Reader ID 12, Rangkaian Infra Merah Fotodioda, driver max232 dan

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

CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD

CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD Sebelum meneruskan proses untuk Create User ID & Password sila pastikan anda menggunakan Internet

More information

Semasa buku ini ditulis XAMPP mengandungi empat versi:

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

More information

A PostgreSQL/PostGIS Implementation for the Sightseeing Tour Planning Problem

A PostgreSQL/PostGIS Implementation for the Sightseeing Tour Planning Problem Jurnal Rekayasa Elektrika Vol. 10, No. 3, April 2013 115 A PostgreSQL/PostGIS Implementation for the Sightseeing Tour Planning Problem Ardiansyah 1 dan Ruslan Rainis 2 1 Jurusan Teknik Elektro, Universitas

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

CHAPTER 5 IMPLEMENTATION AND TESTING

CHAPTER 5 IMPLEMENTATION AND TESTING CHAPTER 5 IMPLEMENTATION AND TESTING 5.1 Implementation Project ini dapat memvisualisasikan data pada data structure hash table menjadi grafis 2D secara dinamis dengan inputan yang ditentukan oleh user.

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

'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("8b a5-46bb-a6a9-87b4949d1f4c")>

'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid(8b a5-46bb-a6a9-87b4949d1f4c)> LAMPIRAN A : LISTING PROGRAM Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes.

More information

DETECTION OF WORMHOLE ATTACK IN MOBILE AD-HOC NETWORKS MOJTABA GHANAATPISHEH SANAEI

DETECTION OF WORMHOLE ATTACK IN MOBILE AD-HOC NETWORKS MOJTABA GHANAATPISHEH SANAEI ii DETECTION OF WORMHOLE ATTACK IN MOBILE AD-HOC NETWORKS MOJTABA GHANAATPISHEH SANAEI A project report submitted in partial fulfillment of the requirements for the award of the degree of Master of Computer

More information

ON THE TOTAL VERTEX IRREGULARITY STRENGTHS OF QUADTREES AND BANANA TREES

ON THE TOTAL VERTEX IRREGULARITY STRENGTHS OF QUADTREES AND BANANA TREES J. Indones. Math. Soc. Vol. 18, No. 1 (2012), pp. 31 36. ON THE TOTAL VERTEX IRREGULARITY STRENGTHS OF QUADTREES AND BANANA TREES Nurdin Department of Mathematics, Faculty of Mathematics and Natural Sciences,

More information

Cara Login Ke CPanel Hosting.

Cara Login Ke CPanel Hosting. Cara Login Ke CPanel Hosting. Perkara pertama yang perlu dibuat setelah mendapat akaun web hosting adalah anda perlu log masuk ke web hosting cpanel bagi membuat proses instalasi. Pengguna akan menerima

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

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

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

LAMPIRAN A FOTO Radio Control Helikopter dan Pengendalinya

LAMPIRAN A FOTO Radio Control Helikopter dan Pengendalinya LAMPIRAN A FOTO Radio Control Helikopter dan Pengendalinya Tampak Atas A-1 Tampak Depan A-2 Tampak Samping A-3 Tampak Belakang A-4 Pengendali A-5 LAMPIRAN B PROGRAM PADA MICROSOFT VISUAL BASIC 6 DAN PENGONTROL

More information

1. Threats bermaksud ancaman, atau lebih dikenali sebagai malware (malicious

1. Threats bermaksud ancaman, atau lebih dikenali sebagai malware (malicious Definisi Threats Dan Backup 1. Threats bermaksud ancaman, atau lebih dikenali sebagai malware (malicious software), yang merupakan sejenis perisian yang berniat jahat dan dengki yang bertujuan mengganggu,

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

ISA PCI Peripherals Connect Interface ISA. Enhanced Parallel Port EPP

ISA PCI Peripherals Connect Interface ISA. Enhanced Parallel Port EPP ) ( 205 2003 4 ISA PCI Peripherals Connect Interface ISA Enhanced Parallel Port EPP IEEE 1284 1994 Intel Xircom Zenith 4-bit Nibble Mode EPP Enhanced Parallel Port ECP Extended Capabilities Parallel bi-direction

More information

DAFTAR ISI. ABSTRAK... Error! Bookmark not defined. ABSTRACT... Error! Bookmark not defined. KATA PENGANTAR... Error! Bookmark not defined.

DAFTAR ISI. ABSTRAK... Error! Bookmark not defined. ABSTRACT... Error! Bookmark not defined. KATA PENGANTAR... Error! Bookmark not defined. DAFTAR ISI ABSTRAK... Error! Bookmark not ABSTRACT... Error! Bookmark not KATA PENGANTAR... Error! Bookmark not DAFTAR ISI... 64 DAFTAR TABEL... 67 DAFTAR GAMBAR... 68 BAB I PENDAHULUAN... Error! Bookmark

More information

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

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

More information

PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS

PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS Classroom Reservation User Manual (HEA) PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS Table of Contents CLASSROOM RESERVATION MANAGEMENT SYSTEM - APLIKASI... 2 Apa

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