SlideShare a Scribd company logo
1 of 9
Download to read offline
Makalah
Pemrograman Visual
“Aplikasi Travel”

Disusun Oleh :
Nama
: Muslih hidayat
Nim
: 1101169

SEKOLAH TINGGI MANAJEMEN
INFORMATIKA DAN KOMPUTER
NURDIN HAMZAH
muslih hidayat 1101169
 Form Login

Private Sub cmdOK_Click()
If Text1.Text = Text2.Text Then
Call Form8.Show
Form1.Hide
Else
MsgBox "Password Salah!!!, Isi Password = nama user", vbInformation, "Ulangi"
End If
End Sub

 Form Splash

muslih hidayat 1101169
Private Sub about_Click()
Call Form6.Show
End Sub
Private Sub Command1_Click()
Call Form3.Show
End Sub
Private Sub Command2_Click()
Call Form2.Show
End Sub
Private Sub Command3_Click()
Call Form5.Show
End Sub
Private Sub Command4_Click()
MsgBox "Terimakaih", vbYesNo, "Keluar"
End
End Sub
Private Sub Command5_Click()
Call Form6.Show
End Sub
Private Sub Command6_Click()
Call Form7.Show
End Sub
Private Sub Form_Load()
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
Text5.Enabled = False
Text6.Enabled = False
End Sub
Private Sub harga_Click()
Call Form2.Show
End Sub
Private Sub keluar_Click()
End
End Sub
Private Sub pelanggan_Click()
Call Form7.Show
End Sub
Private Sub Rute_Click()
Call Form5.Show
End Sub
Private Sub Transaksi_Click(Index As Integer)
Call Form3.Show
End Sub

muslih hidayat 1101169
 Form Pelanggan

Private Sub Command1_Click()
Data1.Recordset.MoveFirst
End Sub
Private Sub Command2_Click()
Data1.Recordset.MoveNext
End Sub
Private Sub Command3_Click()
Delete = MsgBox("Anda Yakin Ingin menghapusnya", vbInformation + vbYesNo, "hapus")
If Delete = vbYes Then
Data1.Recordset.Delete
Data1.Recordset.MoveNext
Else
Data1.Recordset.MoveFirst
End If
End Sub
Private Sub Command4_Click()
Unload Me
End Sub
Private Sub Command5_Click()
Data1.Recordset.FindFirst "nama='" + Text6 + "'"
If Data1.Recordset.NoMatch Then
MsgBox "Nama yang Anda cari Tidak Ditemukan", vbOKOnly, "cari"
Data1.Recordset.MoveFirst
End If
End Sub
Private Sub Form_Load()
DTPicker1.Enabled = False
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
Text5.Enabled = False
End Sub

muslih hidayat 1101169
 Form Transaksi

Private Sub Command1_Click()
Text4.Text = Val(Text3.Text) - Val(Text1.Text)
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub taktampil()
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
Text5.Enabled = False
Option1.Enabled = False
Option2.Enabled = False
Option3.Enabled = False
Option4.Enabled = False
Option5.Enabled = False
Command1.Enabled = False
Command3.Enabled = False
DTPicker1.Enabled = False
End Sub
Private Sub tampil()
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Option1.Enabled = True
Option2.Enabled = True
Option3.Enabled = True
Option4.Enabled = True
Option5.Enabled = True
Command1.Enabled = True
Command3.Enabled = True
DTPicker1.Enabled = True
End Sub

muslih hidayat 1101169
Private Sub Command3_Click()
Data1.Recordset.Update
Data1.Recordset.MoveNext
Call taktampil
MsgBox "Data sudah tersimpan,Silahkan lihat di Menu DATA", vbOKOnly, "Sukses"
End Sub
Private Sub Command4_Click()
Data1.Recordset.AddNew
Call tampil
Text5.SetFocus
Command4.Enabled = False
Text1.Enabled = False
Text2.Enabled = False
End Sub
Private Sub Form_Load()
Call taktampil
DTPicker1.Enabled = False
End Sub
Private Sub Option1_Click()
Text1.Text = "30000"
Text2.Text = "Tanjab Timur"
End Sub
Private Sub Option2_Click()
Text1.Text = "35000"
Text2.Text = "Bulian"
End Sub
Private Sub Option3_Click()
Text1.Text = "70000"
Text2.Text = "Sarolangun"
End Sub
Private Sub Option4_Click()
Text1.Text = "90000"
Text2.Text = "Bangko"
End Sub
Private Sub Option5_Click()
Text1.Text = "200000"
Text2.Text = "Linggau"
End Sub

muslih hidayat 1101169
 Form Rute

Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
Text5.Enabled = False
Text6.Enabled = False
End Sub

 Form Harga

Private Sub Command1_Click()
If Combo1 = "Sarolangun" Then
Text1.Text = "Rp.80.000"
End If
If Combo1 = "Tanjab Timur" Then
Text1.Text = "Rp.30.000"
End If

muslih hidayat 1101169
If Combo1 = "Bulian" Then
Text1.Text = "Rp.25.000"
End If
If Combo1 = "Bungo" Then
Text1.Text = "Rp.100.000"
End If
If Combo1 = "Bangko" Then
Text1.Text = "Rp.80.000"
End If
If Combo1 = "Linggau" Then
Text1.Text = "Rp.200.000"
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Combo1.Clear
Combo1.AddItem "Tanjab Timur"
Combo1.AddItem "Bulian"
Combo1.AddItem "Bungo"
Combo1.AddItem "Bangko"
Combo1.AddItem "Linggau"
Text1.Enabled = False
End Sub

 Form About

muslih hidayat 1101169
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim Hari(7) As String
Dim bulan(12) As String
Hari(1) = "Minggu"
Hari(2) = "Senin"
Hari(3) = "Selasa"
Hari(4) = "Rabu"
Hari(5) = "Kamis"
Hari(6) = "Jum'at"
Hari(7) = "Sabtu"
bulan(1) = "Januari"
bulan(2) = "Februari"
bulan(3) = "Maret"
bulan(4) = "April"
bulan(5) = "Mei"
bulan(6) = "Juni"
bulan(7) = "Juli"
bulan(8) = "Agustus"
bulan(9) = "September"
bulan(10) = "Oktober"
bulan(11) = "November"
bulan(12) = "Desember"
har = Weekday(Date)
tgl = Day(Date)
bul = Month(Date)
thn = Str(Year(Date))
Label7.Caption = Hari(har)
Label8.Caption = Str(tgl) & " - " & bulan(bul) & " - " & thn
End Sub

muslih hidayat 1101169

More Related Content

Viewers also liked

Membuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaMembuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaYusman Kurniadi
 
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.NetEfmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.NetEfmi Maiyana
 
Learning VB.NET Programming Concepts
Learning VB.NET Programming ConceptsLearning VB.NET Programming Concepts
Learning VB.NET Programming Conceptsguest25d6e3
 
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal ReportInsert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal ReportRahmat Taufiq Sigit
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and FlowchartsDeva Singh
 

Viewers also liked (6)

Membuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaMembuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhana
 
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.NetEfmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
 
Learning VB.NET Programming Concepts
Learning VB.NET Programming ConceptsLearning VB.NET Programming Concepts
Learning VB.NET Programming Concepts
 
E book vb.net+mysql(cara cepat)
E book vb.net+mysql(cara cepat)E book vb.net+mysql(cara cepat)
E book vb.net+mysql(cara cepat)
 
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal ReportInsert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
 

Similar to Makalah Pemrograman Visual “Aplikasi Travel”

Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearDezyneecole
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearDezyneecole
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearDezyneecole
 
Kirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third YearKirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third Yeardezyneecole
 
Sudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third YearSudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third Yeardezyneecole
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Yeardezyneecole
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Yeardezyneecole
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearDezyneecole
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Yeardezyneecole
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearDezyneecole
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearDezyneecole
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearDezyneecole
 
Trabajo de ept lissethe toro
Trabajo de ept lissethe toroTrabajo de ept lissethe toro
Trabajo de ept lissethe torolissethee
 

Similar to Makalah Pemrograman Visual “Aplikasi Travel” (14)

Vb file
Vb fileVb file
Vb file
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third Year
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third Year
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
 
Kirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third YearKirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third Year
 
Sudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third YearSudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third Year
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third Year
 
Trabajo de ept lissethe toro
Trabajo de ept lissethe toroTrabajo de ept lissethe toro
Trabajo de ept lissethe toro
 

More from SMK MUhammadiyah Singkut

Undangan Undangan intruksi dari Majelis Pembina Kesehatan Umum
Undangan Undangan intruksi dari Majelis Pembina Kesehatan UmumUndangan Undangan intruksi dari Majelis Pembina Kesehatan Umum
Undangan Undangan intruksi dari Majelis Pembina Kesehatan UmumSMK MUhammadiyah Singkut
 
undangan buka bersama komunitas driver ambulance
undangan buka bersama komunitas driver ambulanceundangan buka bersama komunitas driver ambulance
undangan buka bersama komunitas driver ambulanceSMK MUhammadiyah Singkut
 
Soal Administrasi Sistem Jaringan pilihan ganda
Soal Administrasi Sistem Jaringan pilihan gandaSoal Administrasi Sistem Jaringan pilihan ganda
Soal Administrasi Sistem Jaringan pilihan gandaSMK MUhammadiyah Singkut
 
SOAL UAS TKJ PEMROGRAMAN DASAR pilihan ganda
SOAL UAS TKJ PEMROGRAMAN DASAR pilihan gandaSOAL UAS TKJ PEMROGRAMAN DASAR pilihan ganda
SOAL UAS TKJ PEMROGRAMAN DASAR pilihan gandaSMK MUhammadiyah Singkut
 
SURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMU
SURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMUSURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMU
SURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMUSMK MUhammadiyah Singkut
 
REKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAH
REKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAHREKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAH
REKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAHSMK MUhammadiyah Singkut
 
Surat Undangan Narasumber Pelatihan atau Diklat
Surat Undangan Narasumber Pelatihan atau DiklatSurat Undangan Narasumber Pelatihan atau Diklat
Surat Undangan Narasumber Pelatihan atau DiklatSMK MUhammadiyah Singkut
 
PROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTS
PROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTSPROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTS
PROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTSSMK MUhammadiyah Singkut
 
Soal Animasi 2D 3D semester 2 2022/2023 .docx
Soal Animasi 2D 3D semester 2 2022/2023 .docxSoal Animasi 2D 3D semester 2 2022/2023 .docx
Soal Animasi 2D 3D semester 2 2022/2023 .docxSMK MUhammadiyah Singkut
 
Soal Desain Grafis dan Percetakan 2022/2023
Soal Desain Grafis dan Percetakan 2022/2023Soal Desain Grafis dan Percetakan 2022/2023
Soal Desain Grafis dan Percetakan 2022/2023SMK MUhammadiyah Singkut
 
buku panduan MUSYDA KE-6 Muhammadiyah Sarolangun
buku panduan MUSYDA KE-6 Muhammadiyah Sarolangunbuku panduan MUSYDA KE-6 Muhammadiyah Sarolangun
buku panduan MUSYDA KE-6 Muhammadiyah SarolangunSMK MUhammadiyah Singkut
 
Pemberitahuan Penyelenggaraan Musyda Muhammadiyah Ke-6
Pemberitahuan Penyelenggaraan  Musyda Muhammadiyah Ke-6Pemberitahuan Penyelenggaraan  Musyda Muhammadiyah Ke-6
Pemberitahuan Penyelenggaraan Musyda Muhammadiyah Ke-6SMK MUhammadiyah Singkut
 

More from SMK MUhammadiyah Singkut (20)

Undangan Undangan intruksi dari Majelis Pembina Kesehatan Umum
Undangan Undangan intruksi dari Majelis Pembina Kesehatan UmumUndangan Undangan intruksi dari Majelis Pembina Kesehatan Umum
Undangan Undangan intruksi dari Majelis Pembina Kesehatan Umum
 
undangan buka bersama komunitas driver ambulance
undangan buka bersama komunitas driver ambulanceundangan buka bersama komunitas driver ambulance
undangan buka bersama komunitas driver ambulance
 
Proposal Posko Siaga Khusus lebaran 2024
Proposal Posko Siaga Khusus lebaran 2024Proposal Posko Siaga Khusus lebaran 2024
Proposal Posko Siaga Khusus lebaran 2024
 
Soal Administrasi Sistem Jaringan pilihan ganda
Soal Administrasi Sistem Jaringan pilihan gandaSoal Administrasi Sistem Jaringan pilihan ganda
Soal Administrasi Sistem Jaringan pilihan ganda
 
SOAL UAS TKJ PEMROGRAMAN DASAR pilihan ganda
SOAL UAS TKJ PEMROGRAMAN DASAR pilihan gandaSOAL UAS TKJ PEMROGRAMAN DASAR pilihan ganda
SOAL UAS TKJ PEMROGRAMAN DASAR pilihan ganda
 
Soal TKJ UAS Komputer dan jaringan dasar
Soal TKJ UAS Komputer dan jaringan dasarSoal TKJ UAS Komputer dan jaringan dasar
Soal TKJ UAS Komputer dan jaringan dasar
 
Surat undangan untuk camat, kades, polsek
Surat undangan untuk camat, kades, polsekSurat undangan untuk camat, kades, polsek
Surat undangan untuk camat, kades, polsek
 
SURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMU
SURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMUSURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMU
SURAT PERMOHONAN DONASI SANTUNAN RAMADHAN LAZISMU
 
VERIFIKASI UJI KOMPETENSI KEAHLIAN.doc
VERIFIKASI UJI KOMPETENSI KEAHLIAN.docVERIFIKASI UJI KOMPETENSI KEAHLIAN.doc
VERIFIKASI UJI KOMPETENSI KEAHLIAN.doc
 
REKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAH
REKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAHREKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAH
REKOMENDASI PDM SAROLANGUN_CALON KEPSEK SMK MUHAMMADIYAH
 
Surat Undangan Narasumber Pelatihan atau Diklat
Surat Undangan Narasumber Pelatihan atau DiklatSurat Undangan Narasumber Pelatihan atau Diklat
Surat Undangan Narasumber Pelatihan atau Diklat
 
PROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTS
PROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTSPROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTS
PROPOSAL WORKSHOP PENGEMBANGAN PEMBELAJARAN HOTS
 
KKO Keterampilan
KKO KeterampilanKKO Keterampilan
KKO Keterampilan
 
KKO Pengetahuan
KKO PengetahuanKKO Pengetahuan
KKO Pengetahuan
 
KKO Sikap
KKO SikapKKO Sikap
KKO Sikap
 
Soal Animasi 2D 3D semester 2 2022/2023 .docx
Soal Animasi 2D 3D semester 2 2022/2023 .docxSoal Animasi 2D 3D semester 2 2022/2023 .docx
Soal Animasi 2D 3D semester 2 2022/2023 .docx
 
Soal Desain Grafis dan Percetakan 2022/2023
Soal Desain Grafis dan Percetakan 2022/2023Soal Desain Grafis dan Percetakan 2022/2023
Soal Desain Grafis dan Percetakan 2022/2023
 
buku panduan MUSYDA KE-6 Muhammadiyah Sarolangun
buku panduan MUSYDA KE-6 Muhammadiyah Sarolangunbuku panduan MUSYDA KE-6 Muhammadiyah Sarolangun
buku panduan MUSYDA KE-6 Muhammadiyah Sarolangun
 
Pemberitahuan Penyelenggaraan Musyda Muhammadiyah Ke-6
Pemberitahuan Penyelenggaraan  Musyda Muhammadiyah Ke-6Pemberitahuan Penyelenggaraan  Musyda Muhammadiyah Ke-6
Pemberitahuan Penyelenggaraan Musyda Muhammadiyah Ke-6
 
Permohonan bantuan pengamanan kokam
Permohonan bantuan pengamanan kokamPermohonan bantuan pengamanan kokam
Permohonan bantuan pengamanan kokam
 

Recently uploaded

Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfROWELL MARQUINA
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneUiPathCommunity
 
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024BookNet Canada
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
Deliver Latency Free Customer Experience
Deliver Latency Free Customer ExperienceDeliver Latency Free Customer Experience
Deliver Latency Free Customer ExperienceOpsTree solutions
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...BookNet Canada
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfHCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfROWELL MARQUINA
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfwill854175
 
Software Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerSoftware Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerAnchore
 
Which standard is best for your content?
Which standard is best for your content?Which standard is best for your content?
Which standard is best for your content?Rustici Software
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 

Recently uploaded (20)

Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdf
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyone
 
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
Deliver Latency Free Customer Experience
Deliver Latency Free Customer ExperienceDeliver Latency Free Customer Experience
Deliver Latency Free Customer Experience
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfHCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdf
 
Software Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerSoftware Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey Hightower
 
Which standard is best for your content?
Which standard is best for your content?Which standard is best for your content?
Which standard is best for your content?
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 

Makalah Pemrograman Visual “Aplikasi Travel”

  • 1. Makalah Pemrograman Visual “Aplikasi Travel” Disusun Oleh : Nama : Muslih hidayat Nim : 1101169 SEKOLAH TINGGI MANAJEMEN INFORMATIKA DAN KOMPUTER NURDIN HAMZAH muslih hidayat 1101169
  • 2.  Form Login Private Sub cmdOK_Click() If Text1.Text = Text2.Text Then Call Form8.Show Form1.Hide Else MsgBox "Password Salah!!!, Isi Password = nama user", vbInformation, "Ulangi" End If End Sub  Form Splash muslih hidayat 1101169
  • 3. Private Sub about_Click() Call Form6.Show End Sub Private Sub Command1_Click() Call Form3.Show End Sub Private Sub Command2_Click() Call Form2.Show End Sub Private Sub Command3_Click() Call Form5.Show End Sub Private Sub Command4_Click() MsgBox "Terimakaih", vbYesNo, "Keluar" End End Sub Private Sub Command5_Click() Call Form6.Show End Sub Private Sub Command6_Click() Call Form7.Show End Sub Private Sub Form_Load() Text1.Enabled = False Text2.Enabled = False Text3.Enabled = False Text4.Enabled = False Text5.Enabled = False Text6.Enabled = False End Sub Private Sub harga_Click() Call Form2.Show End Sub Private Sub keluar_Click() End End Sub Private Sub pelanggan_Click() Call Form7.Show End Sub Private Sub Rute_Click() Call Form5.Show End Sub Private Sub Transaksi_Click(Index As Integer) Call Form3.Show End Sub muslih hidayat 1101169
  • 4.  Form Pelanggan Private Sub Command1_Click() Data1.Recordset.MoveFirst End Sub Private Sub Command2_Click() Data1.Recordset.MoveNext End Sub Private Sub Command3_Click() Delete = MsgBox("Anda Yakin Ingin menghapusnya", vbInformation + vbYesNo, "hapus") If Delete = vbYes Then Data1.Recordset.Delete Data1.Recordset.MoveNext Else Data1.Recordset.MoveFirst End If End Sub Private Sub Command4_Click() Unload Me End Sub Private Sub Command5_Click() Data1.Recordset.FindFirst "nama='" + Text6 + "'" If Data1.Recordset.NoMatch Then MsgBox "Nama yang Anda cari Tidak Ditemukan", vbOKOnly, "cari" Data1.Recordset.MoveFirst End If End Sub Private Sub Form_Load() DTPicker1.Enabled = False Text1.Enabled = False Text2.Enabled = False Text3.Enabled = False Text4.Enabled = False Text5.Enabled = False End Sub muslih hidayat 1101169
  • 5.  Form Transaksi Private Sub Command1_Click() Text4.Text = Val(Text3.Text) - Val(Text1.Text) End Sub Private Sub Command2_Click() Unload Me End Sub Private Sub taktampil() Text1.Enabled = False Text2.Enabled = False Text3.Enabled = False Text4.Enabled = False Text5.Enabled = False Option1.Enabled = False Option2.Enabled = False Option3.Enabled = False Option4.Enabled = False Option5.Enabled = False Command1.Enabled = False Command3.Enabled = False DTPicker1.Enabled = False End Sub Private Sub tampil() Text1.Enabled = True Text2.Enabled = True Text3.Enabled = True Text4.Enabled = True Text5.Enabled = True Option1.Enabled = True Option2.Enabled = True Option3.Enabled = True Option4.Enabled = True Option5.Enabled = True Command1.Enabled = True Command3.Enabled = True DTPicker1.Enabled = True End Sub muslih hidayat 1101169
  • 6. Private Sub Command3_Click() Data1.Recordset.Update Data1.Recordset.MoveNext Call taktampil MsgBox "Data sudah tersimpan,Silahkan lihat di Menu DATA", vbOKOnly, "Sukses" End Sub Private Sub Command4_Click() Data1.Recordset.AddNew Call tampil Text5.SetFocus Command4.Enabled = False Text1.Enabled = False Text2.Enabled = False End Sub Private Sub Form_Load() Call taktampil DTPicker1.Enabled = False End Sub Private Sub Option1_Click() Text1.Text = "30000" Text2.Text = "Tanjab Timur" End Sub Private Sub Option2_Click() Text1.Text = "35000" Text2.Text = "Bulian" End Sub Private Sub Option3_Click() Text1.Text = "70000" Text2.Text = "Sarolangun" End Sub Private Sub Option4_Click() Text1.Text = "90000" Text2.Text = "Bangko" End Sub Private Sub Option5_Click() Text1.Text = "200000" Text2.Text = "Linggau" End Sub muslih hidayat 1101169
  • 7.  Form Rute Private Sub Command1_Click() Unload Me End Sub Private Sub Form_Load() Text1.Enabled = False Text2.Enabled = False Text3.Enabled = False Text4.Enabled = False Text5.Enabled = False Text6.Enabled = False End Sub  Form Harga Private Sub Command1_Click() If Combo1 = "Sarolangun" Then Text1.Text = "Rp.80.000" End If If Combo1 = "Tanjab Timur" Then Text1.Text = "Rp.30.000" End If muslih hidayat 1101169
  • 8. If Combo1 = "Bulian" Then Text1.Text = "Rp.25.000" End If If Combo1 = "Bungo" Then Text1.Text = "Rp.100.000" End If If Combo1 = "Bangko" Then Text1.Text = "Rp.80.000" End If If Combo1 = "Linggau" Then Text1.Text = "Rp.200.000" End If End Sub Private Sub Command2_Click() Unload Me End Sub Private Sub Form_Load() Combo1.Clear Combo1.AddItem "Tanjab Timur" Combo1.AddItem "Bulian" Combo1.AddItem "Bungo" Combo1.AddItem "Bangko" Combo1.AddItem "Linggau" Text1.Enabled = False End Sub  Form About muslih hidayat 1101169
  • 9. Private Sub Command1_Click() Unload Me End Sub Private Sub Form_Load() Dim Hari(7) As String Dim bulan(12) As String Hari(1) = "Minggu" Hari(2) = "Senin" Hari(3) = "Selasa" Hari(4) = "Rabu" Hari(5) = "Kamis" Hari(6) = "Jum'at" Hari(7) = "Sabtu" bulan(1) = "Januari" bulan(2) = "Februari" bulan(3) = "Maret" bulan(4) = "April" bulan(5) = "Mei" bulan(6) = "Juni" bulan(7) = "Juli" bulan(8) = "Agustus" bulan(9) = "September" bulan(10) = "Oktober" bulan(11) = "November" bulan(12) = "Desember" har = Weekday(Date) tgl = Day(Date) bul = Month(Date) thn = Str(Year(Date)) Label7.Caption = Hari(har) Label8.Caption = Str(tgl) & " - " & bulan(bul) & " - " & thn End Sub muslih hidayat 1101169