SlideShare ist ein Scribd-Unternehmen logo
1 von 14
CARA MEMBUAT ANTIVIRUS SEDERHANA
MENGUNAKANVISUAL BASIC 2010
Naskah Publikasi
disusun oleh
Moro Aji Pangestu
SMKN 1 DEPOK
JURUSAN REKAYASA PERANGKAT LUNAK
2013/2014
Microsoft Visual Basic
Microsoft visual basic 2010 mempunyai banyak kelebihan dibandingkan
software atau bahasa pemograman lainnya, diantara kelebihan dari visual basic
adalah sebagai berikut :
Kurva pembelajaran dan pengembangan yang lebih singkat dibandingkan
bahasa pemrograman yang lain seperti C/C++, Delphi atau bahkan
PowerBuilder sekalipun.
Menghilangkan kompleksitas pemanggilan fungsi windows API, karena
banyak fungsi – fungsi tersebut sudah di “embedded” kedalam syntax
visual basic.
Cocok digunakan untuk mengembangkan aplikasi / program yang
bersifat “Rapid Application Development”.
Dapat menggunakan OCX atau komponen yang disediakan oleh pihak
ketiga (Third Party) sebagai tools pengembang.
Menyediakan wizard yang sangat berguna untuk mempersingkat atau
mempermudah pengembangan aplikasi
Cara install visual basic 2010
1. Buka file yg telah di download lalu jalankan autoplay, maka akan terlihat
gambar sebagai berikut.
2. Lalu pilih Microsoft visual basic 2010 express dan loading persiapan
instalnya.
3. Lalu pilih I have read and accept the license terms dan klik next, lalu
tunggulah proses instalasi yang lumayan lama, bisa sambil masak mie
dulu. Hehehe
4. Setelah selesai silakan merestart pc/laptop anda untuk menyelesaikan
penginstalan.
5. Tahap pengistalan selesai
Tahap pembuatan
1. Setelah tahap penginstalan selesai. Buka Microsoft visual basic 2010
2. lalu buatlah project baru, seperti gambar berikut.
3. Kalau sudah buat project baru, mulai lah membuat desain seperti
gambar berikut. Maaf ya desainnya agak jelek hehehe
4. Lalu buatlah splash screennya juga biar lebih keren, dengan cara klik add
new item, lalu pilih splash screen
5. Setelah tahap membuat desain selesai, masukanlah code-code/script
sesuai dengan fungsi button masing-masing.
PublicClassForm1
Dim onoff AsString = "on"
Dim wiederholen1 AsString = "True"
Dim wiederholen2 AsString = "True"
PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
AxWindowsMediaPlayer1.URL = ListBox1.Text
EndSub
PrivateSub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
OpenFileDialog1.ShowDialog()
TextBox1.Text = OpenFileDialog1.FileName
BindingSource1.Add(OpenFileDialog1.FileName)
ListBox1.Select()
EndSub
PrivateSub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button4.Click
OpenFileDialog2.ShowDialog()
TextBox2.Text = OpenFileDialog2.FileName
BindingSource2.Add(OpenFileDialog2.FileName)
ListBox2.Select()
EndSub
PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
AxWindowsMediaPlayer2.URL = ListBox2.Text
EndSub
PrivateSub TrackBar2_Scroll(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TrackBar2.Scroll
AxWindowsMediaPlayer2.settings.volume = TrackBar2.Value &"0"
EndSub
PrivateSub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TrackBar1.Scroll
AxWindowsMediaPlayer1.settings.volume = TrackBar1.Value &"0"
EndSub
PrivateSub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button11.Click
AxWindowsMediaPlayer1.URL = ListBox1.Text
AxWindowsMediaPlayer2.URL = ListBox2.Text
EndSub
PrivateSub TrackBar5_Scroll(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TrackBar5.Scroll
If onoff = "on"Then
If TrackBar5.Value = 10 Then
TrackBar2.Value = 10
TrackBar1.Value = 0
EndIf
If TrackBar5.Value = 9 Then
TrackBar2.Value = 9
TrackBar1.Value = 1
EndIf
If TrackBar5.Value = 8 Then
TrackBar2.Value = 8
TrackBar1.Value = 2
EndIf
If TrackBar5.Value = 7 Then
TrackBar2.Value = 7
TrackBar1.Value = 3
EndIf
If TrackBar5.Value = 6 Then
TrackBar2.Value = 6
TrackBar1.Value = 4
EndIf
If TrackBar5.Value = 5 Then
TrackBar2.Value = 5
TrackBar1.Value = 5
EndIf
If TrackBar5.Value = 4 Then
TrackBar2.Value = 4
TrackBar1.Value = 6
EndIf
If TrackBar5.Value = 3 Then
TrackBar2.Value = 3
TrackBar1.Value = 7
EndIf
If TrackBar5.Value = 2 Then
TrackBar2.Value = 2
TrackBar1.Value = 8
EndIf
If TrackBar5.Value = 1 Then
TrackBar2.Value = 1
TrackBar1.Value = 9
EndIf
If TrackBar5.Value = 0 Then
TrackBar2.Value = 0
TrackBar1.Value = 10
EndIf
AxWindowsMediaPlayer1.settings.volume = TrackBar1.Value &"0"
AxWindowsMediaPlayer2.settings.volume = TrackBar2.Value &"0"
EndIf
If onoff = "off"Then
If TrackBar5.Value = 0 Then
AxWindowsMediaPlayer1.settings.volume = 100
AxWindowsMediaPlayer2.settings.volume = 0
EndIf
If TrackBar5.Value = 1 Then
AxWindowsMediaPlayer1.settings.volume = 90
AxWindowsMediaPlayer2.settings.volume = 10
EndIf
If TrackBar5.Value = 2 Then
AxWindowsMediaPlayer1.settings.volume = 80
AxWindowsMediaPlayer2.settings.volume = 20
EndIf
If TrackBar5.Value = 3 Then
AxWindowsMediaPlayer1.settings.volume = 70
AxWindowsMediaPlayer2.settings.volume = 30
EndIf
If TrackBar5.Value = 4 Then
AxWindowsMediaPlayer1.settings.volume = 60
AxWindowsMediaPlayer2.settings.volume = 40
EndIf
If TrackBar5.Value = 5 Then
AxWindowsMediaPlayer1.settings.volume = 50
AxWindowsMediaPlayer2.settings.volume = 50
EndIf
If TrackBar5.Value = 6 Then
AxWindowsMediaPlayer1.settings.volume = 40
AxWindowsMediaPlayer2.settings.volume = 60
EndIf
If TrackBar5.Value = 7 Then
AxWindowsMediaPlayer1.settings.volume = 30
AxWindowsMediaPlayer2.settings.volume = 70
EndIf
If TrackBar5.Value = 8 Then
AxWindowsMediaPlayer1.settings.volume = 20
AxWindowsMediaPlayer2.settings.volume = 80
EndIf
If TrackBar5.Value = 9 Then
AxWindowsMediaPlayer1.settings.volume = 10
AxWindowsMediaPlayer2.settings.volume = 90
EndIf
If TrackBar5.Value = 10 Then
AxWindowsMediaPlayer1.settings.volume = 0
AxWindowsMediaPlayer2.settings.volume = 100
EndIf
EndIf
EndSub
PrivateSub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button13.Click
AxWindowsMediaPlayer2.URL = ""
EndSub
PrivateSub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button12.Click
AxWindowsMediaPlayer1.URL = ""
EndSub
PrivateSub TrackBar3_Scroll(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TrackBar3.Scroll
If TrackBar3.Value = 10 Then
AxWindowsMediaPlayer1.settings.rate = 5
EndIf
If TrackBar3.Value = 9 Then
AxWindowsMediaPlayer1.settings.rate = 4.5
EndIf
If TrackBar3.Value = 8 Then
AxWindowsMediaPlayer1.settings.rate = 3
EndIf
If TrackBar3.Value = 7 Then
AxWindowsMediaPlayer1.settings.rate = 2
EndIf
If TrackBar3.Value = 6 Then
AxWindowsMediaPlayer1.settings.rate = 1.5
EndIf
If TrackBar3.Value = 5 Then
AxWindowsMediaPlayer1.settings.rate = 1
EndIf
If TrackBar3.Value = 4 Then
AxWindowsMediaPlayer1.settings.rate = 0.7
EndIf
If TrackBar3.Value = 3 Then
AxWindowsMediaPlayer1.settings.rate = 0.5
EndIf
If TrackBar3.Value = 2 Then
AxWindowsMediaPlayer1.settings.rate = 0.3
EndIf
If TrackBar3.Value = 1 Then
AxWindowsMediaPlayer1.settings.rate = 0.2
EndIf
If TrackBar3.Value = 0 Then
AxWindowsMediaPlayer1.settings.rate = 0.01
EndIf
EndSub
PrivateSub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles CheckBox1.CheckedChanged
If CheckBox1.Checked = TrueThen
onoff = "on"
EndIf
If CheckBox1.Checked = FalseThen
onoff = "off"
EndIf
EndSub
PrivateSub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button14.Click
AxWindowsMediaPlayer1.URL = ""
AxWindowsMediaPlayer2.URL = ""
EndSub
PrivateSub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Timer1.Tick
If AxWindowsMediaPlayer1.URL = ""Then
Else
Label13.Text = AxWindowsMediaPlayer1.currentMedia.durationString
TrackBar6.Maximum = AxWindowsMediaPlayer1.currentMedia.duration
TrackBar6.Value = AxWindowsMediaPlayer1.Ctlcontrols.currentPosition
EndIf
If AxWindowsMediaPlayer2.URL = ""Then
Else
Label1.Text = AxWindowsMediaPlayer2.currentMedia.durationString
TrackBar7.Maximum = AxWindowsMediaPlayer2.currentMedia.duration
TrackBar7.Value = AxWindowsMediaPlayer2.Ctlcontrols.currentPosition
EndIf
EndSub
PrivateSub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
HandlesMyBase.Load
AxWindowsMediaPlayer1.URL = ""
AxWindowsMediaPlayer2.URL = ""
EndSub
PrivateSub TrackBar4_Scroll(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TrackBar4.Scroll
If TrackBar4.Value = 10 Then
AxWindowsMediaPlayer2.settings.rate = 5
EndIf
If TrackBar4.Value = 9 Then
AxWindowsMediaPlayer2.settings.rate = 4.5
EndIf
If TrackBar4.Value = 8 Then
AxWindowsMediaPlayer2.settings.rate = 3
EndIf
If TrackBar4.Value = 7 Then
AxWindowsMediaPlayer2.settings.rate = 2
EndIf
If TrackBar4.Value = 6 Then
AxWindowsMediaPlayer2.settings.rate = 1.5
EndIf
If TrackBar4.Value = 5 Then
AxWindowsMediaPlayer2.settings.rate = 1
EndIf
If TrackBar4.Value = 4 Then
AxWindowsMediaPlayer2.settings.rate = 0.7
EndIf
If TrackBar4.Value = 3 Then
AxWindowsMediaPlayer2.settings.rate = 0.5
EndIf
If TrackBar4.Value = 2 Then
AxWindowsMediaPlayer2.settings.rate = 0.3
EndIf
If TrackBar4.Value = 1 Then
AxWindowsMediaPlayer2.settings.rate = 0.2
EndIf
If TrackBar4.Value = 0 Then
AxWindowsMediaPlayer2.settings.rate = 0.01
EndIf
EndSub
PrivateSub TrackBar6_MouseDown(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles TrackBar6.MouseDown
Timer1.Enabled = False
EndSub
PrivateSub TrackBar6_MouseUp(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles TrackBar6.MouseUp
AxWindowsMediaPlayer1.Ctlcontrols.currentPosition = TrackBar6.Value
Timer1.Enabled = True
EndSub
PrivateSub CheckBox4_CheckedChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles CheckBox4.CheckedChanged
If CheckBox4.Checked = FalseThen wiederholen2 = "False"
If CheckBox4.Checked = TrueThen wiederholen2 = "True"
EndSub
PrivateSub TrackBar7_MouseDown(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles TrackBar7.MouseDown
Timer1.Enabled = False
EndSub
PrivateSub TrackBar7_MouseUp(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles TrackBar7.MouseUp
AxWindowsMediaPlayer2.Ctlcontrols.currentPosition = TrackBar7.Value
Timer1.Enabled = True
EndSub
PrivateSub CheckBox3_CheckedChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles CheckBox3.CheckedChanged
If CheckBox3.Checked = FalseThen wiederholen1 = "False"
If CheckBox3.Checked = TrueThen wiederholen1 = "True"
EndSub
PrivateSub TrackBar6_Scroll(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TrackBar6.Scroll
If wiederholen1 = "True"Then
If TrackBar6.Value = TrackBar6.Maximum Then
AxWindowsMediaPlayer1.URL = AxWindowsMediaPlayer1.URL
EndIf
EndIf
EndSub
PrivateSub TrackBar7_Scroll(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TrackBar7.Scroll
If wiederholen2 = "True"Then
If TrackBar7.Value = TrackBar7.Maximum Then
AxWindowsMediaPlayer2.URL = AxWindowsMediaPlayer2.URL
EndIf
EndIf
EndSub
EndClass
'© moroSoftware
6. Kalau script sudah di masukan, jalankan lah aplikasi dengan menekan f5,
kalau eror berarti ada kesalahan.
Jika berhasil, lakukan tahap pengetestan, seperti gambar berikut.
7. Gambar diatas, menunjukan berhasil.
Sekian tutorial yang saya buat. Kalo kurang jelas bisa Tanya saya
lewat email: moroajipangestu@gmail.com
Good Luck… ^_^

Weitere ähnliche Inhalte

Was ist angesagt?

Smarter Testing with Spock
Smarter Testing with SpockSmarter Testing with Spock
Smarter Testing with SpockDmitry Voloshko
 
The Ring programming language version 1.6 book - Part 28 of 189
The Ring programming language version 1.6 book - Part 28 of 189The Ring programming language version 1.6 book - Part 28 of 189
The Ring programming language version 1.6 book - Part 28 of 189Mahmoud Samir Fayed
 
OSGi and Eclipse RCP
OSGi and Eclipse RCPOSGi and Eclipse RCP
OSGi and Eclipse RCPEric Jain
 
Hello click click boom
Hello click click boomHello click click boom
Hello click click boomsymbian_mgl
 
201913046 wahyu septiansyah network programing
201913046 wahyu septiansyah network programing201913046 wahyu septiansyah network programing
201913046 wahyu septiansyah network programingwahyuseptiansyah
 
Remote Notifications
Remote NotificationsRemote Notifications
Remote NotificationsJosef Cacek
 
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)
JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(上)JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(上)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)Simon Su
 
QA Fest 2019. Saar Rachamim. Developing Tools, While Testing
QA Fest 2019. Saar Rachamim. Developing Tools, While TestingQA Fest 2019. Saar Rachamim. Developing Tools, While Testing
QA Fest 2019. Saar Rachamim. Developing Tools, While TestingQAFest
 
Easy REST APIs with Jersey and RestyGWT
Easy REST APIs with Jersey and RestyGWTEasy REST APIs with Jersey and RestyGWT
Easy REST APIs with Jersey and RestyGWTDavid Chandler
 
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...Alex Soto
 
Design patterns in the 21st Century
Design patterns in the 21st CenturyDesign patterns in the 21st Century
Design patterns in the 21st CenturySamir Talwar
 

Was ist angesagt? (19)

Smarter Testing with Spock
Smarter Testing with SpockSmarter Testing with Spock
Smarter Testing with Spock
 
The Ring programming language version 1.6 book - Part 28 of 189
The Ring programming language version 1.6 book - Part 28 of 189The Ring programming language version 1.6 book - Part 28 of 189
The Ring programming language version 1.6 book - Part 28 of 189
 
OSGi and Eclipse RCP
OSGi and Eclipse RCPOSGi and Eclipse RCP
OSGi and Eclipse RCP
 
Hello click click boom
Hello click click boomHello click click boom
Hello click click boom
 
201913046 wahyu septiansyah network programing
201913046 wahyu septiansyah network programing201913046 wahyu septiansyah network programing
201913046 wahyu septiansyah network programing
 
Remote Notifications
Remote NotificationsRemote Notifications
Remote Notifications
 
Server1
Server1Server1
Server1
 
JavaCro'15 - Remote controlling Parrot AR Drone with Spring Boot and Vaadin -...
JavaCro'15 - Remote controlling Parrot AR Drone with Spring Boot and Vaadin -...JavaCro'15 - Remote controlling Parrot AR Drone with Spring Boot and Vaadin -...
JavaCro'15 - Remote controlling Parrot AR Drone with Spring Boot and Vaadin -...
 
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)
JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(上)JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(上)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)
 
QA Fest 2019. Saar Rachamim. Developing Tools, While Testing
QA Fest 2019. Saar Rachamim. Developing Tools, While TestingQA Fest 2019. Saar Rachamim. Developing Tools, While Testing
QA Fest 2019. Saar Rachamim. Developing Tools, While Testing
 
54240326 copy
54240326   copy54240326   copy
54240326 copy
 
Django (Web Konferencia 2009)
Django (Web Konferencia 2009)Django (Web Konferencia 2009)
Django (Web Konferencia 2009)
 
Code red SUM
Code red SUMCode red SUM
Code red SUM
 
Easy Button
Easy ButtonEasy Button
Easy Button
 
Easy REST APIs with Jersey and RestyGWT
Easy REST APIs with Jersey and RestyGWTEasy REST APIs with Jersey and RestyGWT
Easy REST APIs with Jersey and RestyGWT
 
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
 
Finding Clojure
Finding ClojureFinding Clojure
Finding Clojure
 
Design patterns in the 21st Century
Design patterns in the 21st CenturyDesign patterns in the 21st Century
Design patterns in the 21st Century
 
Module06
Module06Module06
Module06
 

Andere mochten auch

Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...Desiaman Thelaumbanua
 
Visual Studio 2010 (ITFest)
Visual Studio 2010 (ITFest)Visual Studio 2010 (ITFest)
Visual Studio 2010 (ITFest)Dragos Hategan
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginnerSalim M
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming francopw
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computersimran153
 

Andere mochten auch (8)

2014 k5 simpeg makalah.
2014 k5 simpeg makalah.2014 k5 simpeg makalah.
2014 k5 simpeg makalah.
 
Tugas RPL SRS Erwan
Tugas RPL SRS ErwanTugas RPL SRS Erwan
Tugas RPL SRS Erwan
 
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
 
Visual Studio 2010 (ITFest)
Visual Studio 2010 (ITFest)Visual Studio 2010 (ITFest)
Visual Studio 2010 (ITFest)
 
Scope of software engineering
Scope of software engineeringScope of software engineering
Scope of software engineering
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginner
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computer
 

Ähnlich wie Cara membuat software dj

VISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdf
VISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdfVISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdf
VISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdfBALWANSAINI1
 
The Ring programming language version 1.6 book - Part 48 of 189
The Ring programming language version 1.6 book - Part 48 of 189The Ring programming language version 1.6 book - Part 48 of 189
The Ring programming language version 1.6 book - Part 48 of 189Mahmoud Samir Fayed
 
maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming Max Kleiner
 
The Ring programming language version 1.10 book - Part 92 of 212
The Ring programming language version 1.10 book - Part 92 of 212The Ring programming language version 1.10 book - Part 92 of 212
The Ring programming language version 1.10 book - Part 92 of 212Mahmoud Samir Fayed
 
The Ring programming language version 1.3 book - Part 7 of 88
The Ring programming language version 1.3 book - Part 7 of 88The Ring programming language version 1.3 book - Part 7 of 88
The Ring programming language version 1.3 book - Part 7 of 88Mahmoud Samir Fayed
 
Calabash-android
Calabash-androidCalabash-android
Calabash-androidAdnan8990
 
Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache FlexGert Poppe
 
Ruby motion勉強会 2012年7月
Ruby motion勉強会 2012年7月Ruby motion勉強会 2012年7月
Ruby motion勉強会 2012年7月Eihiro Saishu
 
The java swing_tutorial
The java swing_tutorialThe java swing_tutorial
The java swing_tutorialsumitjoshi01
 
The Ring programming language version 1.8 book - Part 95 of 202
The Ring programming language version 1.8 book - Part 95 of 202The Ring programming language version 1.8 book - Part 95 of 202
The Ring programming language version 1.8 book - Part 95 of 202Mahmoud Samir Fayed
 
2011 py con
2011 py con2011 py con
2011 py conEing Ong
 
Using prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile servicesUsing prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile servicesDavid Voyles
 
Developed your first Xamarin.Forms Application
Developed your first Xamarin.Forms ApplicationDeveloped your first Xamarin.Forms Application
Developed your first Xamarin.Forms ApplicationCheah Eng Soon
 
The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180 The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180 Mahmoud Samir Fayed
 
The Ring programming language version 1.6 book - Part 184 of 189
The Ring programming language version 1.6 book - Part 184 of 189The Ring programming language version 1.6 book - Part 184 of 189
The Ring programming language version 1.6 book - Part 184 of 189Mahmoud Samir Fayed
 
The Ring programming language version 1.5.3 book - Part 89 of 184
The Ring programming language version 1.5.3 book - Part 89 of 184The Ring programming language version 1.5.3 book - Part 89 of 184
The Ring programming language version 1.5.3 book - Part 89 of 184Mahmoud Samir Fayed
 
OpenWhisk Lab
OpenWhisk Lab OpenWhisk Lab
OpenWhisk Lab Dev_Events
 

Ähnlich wie Cara membuat software dj (20)

Keyword driven testing in qtp
Keyword driven testing in qtpKeyword driven testing in qtp
Keyword driven testing in qtp
 
VISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdf
VISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdfVISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdf
VISUAL BASIC PRATICAL FILE MSC COMPUTER SCIENCE.pdf
 
Qtp day 3
Qtp day 3Qtp day 3
Qtp day 3
 
The Ring programming language version 1.6 book - Part 48 of 189
The Ring programming language version 1.6 book - Part 48 of 189The Ring programming language version 1.6 book - Part 48 of 189
The Ring programming language version 1.6 book - Part 48 of 189
 
maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming
 
The Ring programming language version 1.10 book - Part 92 of 212
The Ring programming language version 1.10 book - Part 92 of 212The Ring programming language version 1.10 book - Part 92 of 212
The Ring programming language version 1.10 book - Part 92 of 212
 
The Ring programming language version 1.3 book - Part 7 of 88
The Ring programming language version 1.3 book - Part 7 of 88The Ring programming language version 1.3 book - Part 7 of 88
The Ring programming language version 1.3 book - Part 7 of 88
 
Calabash-android
Calabash-androidCalabash-android
Calabash-android
 
Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache Flex
 
Ruby motion勉強会 2012年7月
Ruby motion勉強会 2012年7月Ruby motion勉強会 2012年7月
Ruby motion勉強会 2012年7月
 
The java swing_tutorial
The java swing_tutorialThe java swing_tutorial
The java swing_tutorial
 
The java rogramming swing _tutorial for beinners(java programming language)
The java rogramming swing _tutorial for beinners(java programming language)The java rogramming swing _tutorial for beinners(java programming language)
The java rogramming swing _tutorial for beinners(java programming language)
 
The Ring programming language version 1.8 book - Part 95 of 202
The Ring programming language version 1.8 book - Part 95 of 202The Ring programming language version 1.8 book - Part 95 of 202
The Ring programming language version 1.8 book - Part 95 of 202
 
2011 py con
2011 py con2011 py con
2011 py con
 
Using prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile servicesUsing prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile services
 
Developed your first Xamarin.Forms Application
Developed your first Xamarin.Forms ApplicationDeveloped your first Xamarin.Forms Application
Developed your first Xamarin.Forms Application
 
The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180 The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180
 
The Ring programming language version 1.6 book - Part 184 of 189
The Ring programming language version 1.6 book - Part 184 of 189The Ring programming language version 1.6 book - Part 184 of 189
The Ring programming language version 1.6 book - Part 184 of 189
 
The Ring programming language version 1.5.3 book - Part 89 of 184
The Ring programming language version 1.5.3 book - Part 89 of 184The Ring programming language version 1.5.3 book - Part 89 of 184
The Ring programming language version 1.5.3 book - Part 89 of 184
 
OpenWhisk Lab
OpenWhisk Lab OpenWhisk Lab
OpenWhisk Lab
 

Kürzlich hochgeladen

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Kürzlich hochgeladen (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Cara membuat software dj

  • 1. CARA MEMBUAT ANTIVIRUS SEDERHANA MENGUNAKANVISUAL BASIC 2010 Naskah Publikasi disusun oleh Moro Aji Pangestu SMKN 1 DEPOK JURUSAN REKAYASA PERANGKAT LUNAK 2013/2014
  • 2. Microsoft Visual Basic Microsoft visual basic 2010 mempunyai banyak kelebihan dibandingkan software atau bahasa pemograman lainnya, diantara kelebihan dari visual basic adalah sebagai berikut : Kurva pembelajaran dan pengembangan yang lebih singkat dibandingkan bahasa pemrograman yang lain seperti C/C++, Delphi atau bahkan PowerBuilder sekalipun. Menghilangkan kompleksitas pemanggilan fungsi windows API, karena banyak fungsi – fungsi tersebut sudah di “embedded” kedalam syntax visual basic. Cocok digunakan untuk mengembangkan aplikasi / program yang bersifat “Rapid Application Development”. Dapat menggunakan OCX atau komponen yang disediakan oleh pihak ketiga (Third Party) sebagai tools pengembang. Menyediakan wizard yang sangat berguna untuk mempersingkat atau mempermudah pengembangan aplikasi
  • 3. Cara install visual basic 2010 1. Buka file yg telah di download lalu jalankan autoplay, maka akan terlihat gambar sebagai berikut. 2. Lalu pilih Microsoft visual basic 2010 express dan loading persiapan instalnya.
  • 4. 3. Lalu pilih I have read and accept the license terms dan klik next, lalu tunggulah proses instalasi yang lumayan lama, bisa sambil masak mie dulu. Hehehe 4. Setelah selesai silakan merestart pc/laptop anda untuk menyelesaikan penginstalan. 5. Tahap pengistalan selesai
  • 5. Tahap pembuatan 1. Setelah tahap penginstalan selesai. Buka Microsoft visual basic 2010 2. lalu buatlah project baru, seperti gambar berikut.
  • 6. 3. Kalau sudah buat project baru, mulai lah membuat desain seperti gambar berikut. Maaf ya desainnya agak jelek hehehe 4. Lalu buatlah splash screennya juga biar lebih keren, dengan cara klik add new item, lalu pilih splash screen
  • 7. 5. Setelah tahap membuat desain selesai, masukanlah code-code/script sesuai dengan fungsi button masing-masing. PublicClassForm1 Dim onoff AsString = "on" Dim wiederholen1 AsString = "True" Dim wiederholen2 AsString = "True" PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click AxWindowsMediaPlayer1.URL = ListBox1.Text EndSub PrivateSub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click OpenFileDialog1.ShowDialog() TextBox1.Text = OpenFileDialog1.FileName BindingSource1.Add(OpenFileDialog1.FileName) ListBox1.Select() EndSub PrivateSub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click OpenFileDialog2.ShowDialog() TextBox2.Text = OpenFileDialog2.FileName BindingSource2.Add(OpenFileDialog2.FileName) ListBox2.Select()
  • 8. EndSub PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click AxWindowsMediaPlayer2.URL = ListBox2.Text EndSub PrivateSub TrackBar2_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar2.Scroll AxWindowsMediaPlayer2.settings.volume = TrackBar2.Value &"0" EndSub PrivateSub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar1.Scroll AxWindowsMediaPlayer1.settings.volume = TrackBar1.Value &"0" EndSub PrivateSub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click AxWindowsMediaPlayer1.URL = ListBox1.Text AxWindowsMediaPlayer2.URL = ListBox2.Text EndSub PrivateSub TrackBar5_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar5.Scroll If onoff = "on"Then If TrackBar5.Value = 10 Then TrackBar2.Value = 10 TrackBar1.Value = 0 EndIf If TrackBar5.Value = 9 Then TrackBar2.Value = 9 TrackBar1.Value = 1 EndIf If TrackBar5.Value = 8 Then TrackBar2.Value = 8 TrackBar1.Value = 2 EndIf If TrackBar5.Value = 7 Then TrackBar2.Value = 7 TrackBar1.Value = 3 EndIf If TrackBar5.Value = 6 Then TrackBar2.Value = 6 TrackBar1.Value = 4 EndIf If TrackBar5.Value = 5 Then TrackBar2.Value = 5 TrackBar1.Value = 5 EndIf If TrackBar5.Value = 4 Then TrackBar2.Value = 4 TrackBar1.Value = 6 EndIf If TrackBar5.Value = 3 Then TrackBar2.Value = 3 TrackBar1.Value = 7 EndIf If TrackBar5.Value = 2 Then TrackBar2.Value = 2
  • 9. TrackBar1.Value = 8 EndIf If TrackBar5.Value = 1 Then TrackBar2.Value = 1 TrackBar1.Value = 9 EndIf If TrackBar5.Value = 0 Then TrackBar2.Value = 0 TrackBar1.Value = 10 EndIf AxWindowsMediaPlayer1.settings.volume = TrackBar1.Value &"0" AxWindowsMediaPlayer2.settings.volume = TrackBar2.Value &"0" EndIf If onoff = "off"Then If TrackBar5.Value = 0 Then AxWindowsMediaPlayer1.settings.volume = 100 AxWindowsMediaPlayer2.settings.volume = 0 EndIf If TrackBar5.Value = 1 Then AxWindowsMediaPlayer1.settings.volume = 90 AxWindowsMediaPlayer2.settings.volume = 10 EndIf If TrackBar5.Value = 2 Then AxWindowsMediaPlayer1.settings.volume = 80 AxWindowsMediaPlayer2.settings.volume = 20 EndIf If TrackBar5.Value = 3 Then AxWindowsMediaPlayer1.settings.volume = 70 AxWindowsMediaPlayer2.settings.volume = 30 EndIf If TrackBar5.Value = 4 Then AxWindowsMediaPlayer1.settings.volume = 60 AxWindowsMediaPlayer2.settings.volume = 40 EndIf If TrackBar5.Value = 5 Then AxWindowsMediaPlayer1.settings.volume = 50 AxWindowsMediaPlayer2.settings.volume = 50 EndIf If TrackBar5.Value = 6 Then AxWindowsMediaPlayer1.settings.volume = 40 AxWindowsMediaPlayer2.settings.volume = 60 EndIf If TrackBar5.Value = 7 Then AxWindowsMediaPlayer1.settings.volume = 30 AxWindowsMediaPlayer2.settings.volume = 70 EndIf If TrackBar5.Value = 8 Then AxWindowsMediaPlayer1.settings.volume = 20 AxWindowsMediaPlayer2.settings.volume = 80 EndIf If TrackBar5.Value = 9 Then AxWindowsMediaPlayer1.settings.volume = 10 AxWindowsMediaPlayer2.settings.volume = 90 EndIf If TrackBar5.Value = 10 Then AxWindowsMediaPlayer1.settings.volume = 0 AxWindowsMediaPlayer2.settings.volume = 100 EndIf EndIf EndSub
  • 10. PrivateSub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button13.Click AxWindowsMediaPlayer2.URL = "" EndSub PrivateSub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click AxWindowsMediaPlayer1.URL = "" EndSub PrivateSub TrackBar3_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar3.Scroll If TrackBar3.Value = 10 Then AxWindowsMediaPlayer1.settings.rate = 5 EndIf If TrackBar3.Value = 9 Then AxWindowsMediaPlayer1.settings.rate = 4.5 EndIf If TrackBar3.Value = 8 Then AxWindowsMediaPlayer1.settings.rate = 3 EndIf If TrackBar3.Value = 7 Then AxWindowsMediaPlayer1.settings.rate = 2 EndIf If TrackBar3.Value = 6 Then AxWindowsMediaPlayer1.settings.rate = 1.5 EndIf If TrackBar3.Value = 5 Then AxWindowsMediaPlayer1.settings.rate = 1 EndIf If TrackBar3.Value = 4 Then AxWindowsMediaPlayer1.settings.rate = 0.7 EndIf If TrackBar3.Value = 3 Then AxWindowsMediaPlayer1.settings.rate = 0.5 EndIf If TrackBar3.Value = 2 Then AxWindowsMediaPlayer1.settings.rate = 0.3 EndIf If TrackBar3.Value = 1 Then AxWindowsMediaPlayer1.settings.rate = 0.2 EndIf If TrackBar3.Value = 0 Then AxWindowsMediaPlayer1.settings.rate = 0.01 EndIf EndSub PrivateSub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If CheckBox1.Checked = TrueThen onoff = "on" EndIf If CheckBox1.Checked = FalseThen onoff = "off" EndIf EndSub PrivateSub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click AxWindowsMediaPlayer1.URL = "" AxWindowsMediaPlayer2.URL = ""
  • 11. EndSub PrivateSub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If AxWindowsMediaPlayer1.URL = ""Then Else Label13.Text = AxWindowsMediaPlayer1.currentMedia.durationString TrackBar6.Maximum = AxWindowsMediaPlayer1.currentMedia.duration TrackBar6.Value = AxWindowsMediaPlayer1.Ctlcontrols.currentPosition EndIf If AxWindowsMediaPlayer2.URL = ""Then Else Label1.Text = AxWindowsMediaPlayer2.currentMedia.durationString TrackBar7.Maximum = AxWindowsMediaPlayer2.currentMedia.duration TrackBar7.Value = AxWindowsMediaPlayer2.Ctlcontrols.currentPosition EndIf EndSub PrivateSub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load AxWindowsMediaPlayer1.URL = "" AxWindowsMediaPlayer2.URL = "" EndSub PrivateSub TrackBar4_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar4.Scroll If TrackBar4.Value = 10 Then AxWindowsMediaPlayer2.settings.rate = 5 EndIf If TrackBar4.Value = 9 Then AxWindowsMediaPlayer2.settings.rate = 4.5 EndIf If TrackBar4.Value = 8 Then AxWindowsMediaPlayer2.settings.rate = 3 EndIf If TrackBar4.Value = 7 Then AxWindowsMediaPlayer2.settings.rate = 2 EndIf If TrackBar4.Value = 6 Then AxWindowsMediaPlayer2.settings.rate = 1.5 EndIf If TrackBar4.Value = 5 Then AxWindowsMediaPlayer2.settings.rate = 1 EndIf If TrackBar4.Value = 4 Then AxWindowsMediaPlayer2.settings.rate = 0.7 EndIf If TrackBar4.Value = 3 Then AxWindowsMediaPlayer2.settings.rate = 0.5 EndIf If TrackBar4.Value = 2 Then AxWindowsMediaPlayer2.settings.rate = 0.3 EndIf If TrackBar4.Value = 1 Then AxWindowsMediaPlayer2.settings.rate = 0.2 EndIf If TrackBar4.Value = 0 Then AxWindowsMediaPlayer2.settings.rate = 0.01 EndIf
  • 12. EndSub PrivateSub TrackBar6_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TrackBar6.MouseDown Timer1.Enabled = False EndSub PrivateSub TrackBar6_MouseUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TrackBar6.MouseUp AxWindowsMediaPlayer1.Ctlcontrols.currentPosition = TrackBar6.Value Timer1.Enabled = True EndSub PrivateSub CheckBox4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox4.CheckedChanged If CheckBox4.Checked = FalseThen wiederholen2 = "False" If CheckBox4.Checked = TrueThen wiederholen2 = "True" EndSub PrivateSub TrackBar7_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TrackBar7.MouseDown Timer1.Enabled = False EndSub PrivateSub TrackBar7_MouseUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TrackBar7.MouseUp AxWindowsMediaPlayer2.Ctlcontrols.currentPosition = TrackBar7.Value Timer1.Enabled = True EndSub PrivateSub CheckBox3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox3.CheckedChanged If CheckBox3.Checked = FalseThen wiederholen1 = "False" If CheckBox3.Checked = TrueThen wiederholen1 = "True" EndSub PrivateSub TrackBar6_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar6.Scroll If wiederholen1 = "True"Then If TrackBar6.Value = TrackBar6.Maximum Then AxWindowsMediaPlayer1.URL = AxWindowsMediaPlayer1.URL EndIf EndIf EndSub PrivateSub TrackBar7_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar7.Scroll If wiederholen2 = "True"Then If TrackBar7.Value = TrackBar7.Maximum Then AxWindowsMediaPlayer2.URL = AxWindowsMediaPlayer2.URL EndIf EndIf EndSub EndClass '© moroSoftware 6. Kalau script sudah di masukan, jalankan lah aplikasi dengan menekan f5, kalau eror berarti ada kesalahan.
  • 13. Jika berhasil, lakukan tahap pengetestan, seperti gambar berikut.
  • 14. 7. Gambar diatas, menunjukan berhasil. Sekian tutorial yang saya buat. Kalo kurang jelas bisa Tanya saya lewat email: moroajipangestu@gmail.com Good Luck… ^_^