CARA MEMBUAT ANTIVIRUS SEDERHANAMENGUNAKANVISUAL BASIC 2010Naskah Publikasidisusun olehMoro Aji PangestuSMKN 1 DEPOKJURUSA...
Microsoft Visual BasicMicrosoft visual basic 2010 mempunyai banyak kelebihan dibandingkansoftware atau bahasa pemograman l...
Cara install visual basic 20101. Buka file yg telah di download lalu jalankan autoplay, maka akan terlihatgambar sebagai b...
3. Lalu pilih I have read and accept the license terms dan klik next, lalutunggulah proses instalasi yang lumayan lama, bi...
Tahap pembuatan1. Setelah tahap penginstalan selesai. Buka Microsoft visual basic 20102. lalu buatlah project baru, sepert...
3. Kalau sudah buat project baru, mulai lah membuat desain sepertigambar berikut. Maaf ya desainnya agak jelek hehehe4. La...
5. Setelah tahap membuat desain selesai, masukanlah code-code/scriptsesuai dengan fungsi button masing-masing.PublicClassF...
EndSubPrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button2.ClickAxWindowsMe...
TrackBar1.Value = 8EndIfIf TrackBar5.Value = 1 ThenTrackBar2.Value = 1TrackBar1.Value = 9EndIfIf TrackBar5.Value = 0 ThenT...
PrivateSub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button13.ClickAxWindowsMediaP...
EndSubPrivateSub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Timer1.TickIf AxWindowsMed...
EndSubPrivateSub TrackBar6_MouseDown(ByVal sender As System.Object, ByVal e AsSystem.Windows.Forms.MouseEventArgs) Handles...
Jika berhasil, lakukan tahap pengetestan, seperti gambar berikut.
7. Gambar diatas, menunjukan berhasil.Sekian tutorial yang saya buat. Kalo kurang jelas bisa Tanya sayalewat email: moroaj...
Upcoming SlideShare
Loading in...5
×

Cara membuat software dj

1,457

Published on

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,457
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "Cara membuat software dj"

  1. 1. CARA MEMBUAT ANTIVIRUS SEDERHANAMENGUNAKANVISUAL BASIC 2010Naskah Publikasidisusun olehMoro Aji PangestuSMKN 1 DEPOKJURUSAN REKAYASA PERANGKAT LUNAK2013/2014
  2. 2. Microsoft Visual BasicMicrosoft visual basic 2010 mempunyai banyak kelebihan dibandingkansoftware atau bahasa pemograman lainnya, diantara kelebihan dari visual basicadalah sebagai berikut :Kurva pembelajaran dan pengembangan yang lebih singkat dibandingkanbahasa pemrograman yang lain seperti C/C++, Delphi atau bahkanPowerBuilder sekalipun.Menghilangkan kompleksitas pemanggilan fungsi windows API, karenabanyak fungsi – fungsi tersebut sudah di “embedded” kedalam syntaxvisual basic.Cocok digunakan untuk mengembangkan aplikasi / program yangbersifat “Rapid Application Development”.Dapat menggunakan OCX atau komponen yang disediakan oleh pihakketiga (Third Party) sebagai tools pengembang.Menyediakan wizard yang sangat berguna untuk mempersingkat ataumempermudah pengembangan aplikasi
  3. 3. Cara install visual basic 20101. Buka file yg telah di download lalu jalankan autoplay, maka akan terlihatgambar sebagai berikut.2. Lalu pilih Microsoft visual basic 2010 express dan loading persiapaninstalnya.
  4. 4. 3. Lalu pilih I have read and accept the license terms dan klik next, lalutunggulah proses instalasi yang lumayan lama, bisa sambil masak miedulu. Hehehe4. Setelah selesai silakan merestart pc/laptop anda untuk menyelesaikanpenginstalan.5. Tahap pengistalan selesai
  5. 5. Tahap pembuatan1. Setelah tahap penginstalan selesai. Buka Microsoft visual basic 20102. lalu buatlah project baru, seperti gambar berikut.
  6. 6. 3. Kalau sudah buat project baru, mulai lah membuat desain sepertigambar berikut. Maaf ya desainnya agak jelek hehehe4. Lalu buatlah splash screennya juga biar lebih keren, dengan cara klik addnew item, lalu pilih splash screen
  7. 7. 5. Setelah tahap membuat desain selesai, masukanlah code-code/scriptsesuai dengan fungsi button masing-masing.PublicClassForm1Dim 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.ClickAxWindowsMediaPlayer1.URL = ListBox1.TextEndSubPrivateSub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button3.ClickOpenFileDialog1.ShowDialog()TextBox1.Text = OpenFileDialog1.FileNameBindingSource1.Add(OpenFileDialog1.FileName)ListBox1.Select()EndSubPrivateSub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button4.ClickOpenFileDialog2.ShowDialog()TextBox2.Text = OpenFileDialog2.FileNameBindingSource2.Add(OpenFileDialog2.FileName)ListBox2.Select()
  8. 8. EndSubPrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button2.ClickAxWindowsMediaPlayer2.URL = ListBox2.TextEndSubPrivateSub TrackBar2_Scroll(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles TrackBar2.ScrollAxWindowsMediaPlayer2.settings.volume = TrackBar2.Value &"0"EndSubPrivateSub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles TrackBar1.ScrollAxWindowsMediaPlayer1.settings.volume = TrackBar1.Value &"0"EndSubPrivateSub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button11.ClickAxWindowsMediaPlayer1.URL = ListBox1.TextAxWindowsMediaPlayer2.URL = ListBox2.TextEndSubPrivateSub TrackBar5_Scroll(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles TrackBar5.ScrollIf onoff = "on"ThenIf TrackBar5.Value = 10 ThenTrackBar2.Value = 10TrackBar1.Value = 0EndIfIf TrackBar5.Value = 9 ThenTrackBar2.Value = 9TrackBar1.Value = 1EndIfIf TrackBar5.Value = 8 ThenTrackBar2.Value = 8TrackBar1.Value = 2EndIfIf TrackBar5.Value = 7 ThenTrackBar2.Value = 7TrackBar1.Value = 3EndIfIf TrackBar5.Value = 6 ThenTrackBar2.Value = 6TrackBar1.Value = 4EndIfIf TrackBar5.Value = 5 ThenTrackBar2.Value = 5TrackBar1.Value = 5EndIfIf TrackBar5.Value = 4 ThenTrackBar2.Value = 4TrackBar1.Value = 6EndIfIf TrackBar5.Value = 3 ThenTrackBar2.Value = 3TrackBar1.Value = 7EndIfIf TrackBar5.Value = 2 ThenTrackBar2.Value = 2
  9. 9. TrackBar1.Value = 8EndIfIf TrackBar5.Value = 1 ThenTrackBar2.Value = 1TrackBar1.Value = 9EndIfIf TrackBar5.Value = 0 ThenTrackBar2.Value = 0TrackBar1.Value = 10EndIfAxWindowsMediaPlayer1.settings.volume = TrackBar1.Value &"0"AxWindowsMediaPlayer2.settings.volume = TrackBar2.Value &"0"EndIfIf onoff = "off"ThenIf TrackBar5.Value = 0 ThenAxWindowsMediaPlayer1.settings.volume = 100AxWindowsMediaPlayer2.settings.volume = 0EndIfIf TrackBar5.Value = 1 ThenAxWindowsMediaPlayer1.settings.volume = 90AxWindowsMediaPlayer2.settings.volume = 10EndIfIf TrackBar5.Value = 2 ThenAxWindowsMediaPlayer1.settings.volume = 80AxWindowsMediaPlayer2.settings.volume = 20EndIfIf TrackBar5.Value = 3 ThenAxWindowsMediaPlayer1.settings.volume = 70AxWindowsMediaPlayer2.settings.volume = 30EndIfIf TrackBar5.Value = 4 ThenAxWindowsMediaPlayer1.settings.volume = 60AxWindowsMediaPlayer2.settings.volume = 40EndIfIf TrackBar5.Value = 5 ThenAxWindowsMediaPlayer1.settings.volume = 50AxWindowsMediaPlayer2.settings.volume = 50EndIfIf TrackBar5.Value = 6 ThenAxWindowsMediaPlayer1.settings.volume = 40AxWindowsMediaPlayer2.settings.volume = 60EndIfIf TrackBar5.Value = 7 ThenAxWindowsMediaPlayer1.settings.volume = 30AxWindowsMediaPlayer2.settings.volume = 70EndIfIf TrackBar5.Value = 8 ThenAxWindowsMediaPlayer1.settings.volume = 20AxWindowsMediaPlayer2.settings.volume = 80EndIfIf TrackBar5.Value = 9 ThenAxWindowsMediaPlayer1.settings.volume = 10AxWindowsMediaPlayer2.settings.volume = 90EndIfIf TrackBar5.Value = 10 ThenAxWindowsMediaPlayer1.settings.volume = 0AxWindowsMediaPlayer2.settings.volume = 100EndIfEndIfEndSub
  10. 10. PrivateSub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button13.ClickAxWindowsMediaPlayer2.URL = ""EndSubPrivateSub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button12.ClickAxWindowsMediaPlayer1.URL = ""EndSubPrivateSub TrackBar3_Scroll(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles TrackBar3.ScrollIf TrackBar3.Value = 10 ThenAxWindowsMediaPlayer1.settings.rate = 5EndIfIf TrackBar3.Value = 9 ThenAxWindowsMediaPlayer1.settings.rate = 4.5EndIfIf TrackBar3.Value = 8 ThenAxWindowsMediaPlayer1.settings.rate = 3EndIfIf TrackBar3.Value = 7 ThenAxWindowsMediaPlayer1.settings.rate = 2EndIfIf TrackBar3.Value = 6 ThenAxWindowsMediaPlayer1.settings.rate = 1.5EndIfIf TrackBar3.Value = 5 ThenAxWindowsMediaPlayer1.settings.rate = 1EndIfIf TrackBar3.Value = 4 ThenAxWindowsMediaPlayer1.settings.rate = 0.7EndIfIf TrackBar3.Value = 3 ThenAxWindowsMediaPlayer1.settings.rate = 0.5EndIfIf TrackBar3.Value = 2 ThenAxWindowsMediaPlayer1.settings.rate = 0.3EndIfIf TrackBar3.Value = 1 ThenAxWindowsMediaPlayer1.settings.rate = 0.2EndIfIf TrackBar3.Value = 0 ThenAxWindowsMediaPlayer1.settings.rate = 0.01EndIfEndSubPrivateSub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles CheckBox1.CheckedChangedIf CheckBox1.Checked = TrueThenonoff = "on"EndIfIf CheckBox1.Checked = FalseThenonoff = "off"EndIfEndSubPrivateSub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button14.ClickAxWindowsMediaPlayer1.URL = ""AxWindowsMediaPlayer2.URL = ""
  11. 11. EndSubPrivateSub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Timer1.TickIf AxWindowsMediaPlayer1.URL = ""ThenElseLabel13.Text = AxWindowsMediaPlayer1.currentMedia.durationStringTrackBar6.Maximum = AxWindowsMediaPlayer1.currentMedia.durationTrackBar6.Value = AxWindowsMediaPlayer1.Ctlcontrols.currentPositionEndIfIf AxWindowsMediaPlayer2.URL = ""ThenElseLabel1.Text = AxWindowsMediaPlayer2.currentMedia.durationStringTrackBar7.Maximum = AxWindowsMediaPlayer2.currentMedia.durationTrackBar7.Value = AxWindowsMediaPlayer2.Ctlcontrols.currentPositionEndIfEndSubPrivateSub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)HandlesMyBase.LoadAxWindowsMediaPlayer1.URL = ""AxWindowsMediaPlayer2.URL = ""EndSubPrivateSub TrackBar4_Scroll(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles TrackBar4.ScrollIf TrackBar4.Value = 10 ThenAxWindowsMediaPlayer2.settings.rate = 5EndIfIf TrackBar4.Value = 9 ThenAxWindowsMediaPlayer2.settings.rate = 4.5EndIfIf TrackBar4.Value = 8 ThenAxWindowsMediaPlayer2.settings.rate = 3EndIfIf TrackBar4.Value = 7 ThenAxWindowsMediaPlayer2.settings.rate = 2EndIfIf TrackBar4.Value = 6 ThenAxWindowsMediaPlayer2.settings.rate = 1.5EndIfIf TrackBar4.Value = 5 ThenAxWindowsMediaPlayer2.settings.rate = 1EndIfIf TrackBar4.Value = 4 ThenAxWindowsMediaPlayer2.settings.rate = 0.7EndIfIf TrackBar4.Value = 3 ThenAxWindowsMediaPlayer2.settings.rate = 0.5EndIfIf TrackBar4.Value = 2 ThenAxWindowsMediaPlayer2.settings.rate = 0.3EndIfIf TrackBar4.Value = 1 ThenAxWindowsMediaPlayer2.settings.rate = 0.2EndIfIf TrackBar4.Value = 0 ThenAxWindowsMediaPlayer2.settings.rate = 0.01EndIf
  12. 12. EndSubPrivateSub TrackBar6_MouseDown(ByVal sender As System.Object, ByVal e AsSystem.Windows.Forms.MouseEventArgs) Handles TrackBar6.MouseDownTimer1.Enabled = FalseEndSubPrivateSub TrackBar6_MouseUp(ByVal sender As System.Object, ByVal e AsSystem.Windows.Forms.MouseEventArgs) Handles TrackBar6.MouseUpAxWindowsMediaPlayer1.Ctlcontrols.currentPosition = TrackBar6.ValueTimer1.Enabled = TrueEndSubPrivateSub CheckBox4_CheckedChanged(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles CheckBox4.CheckedChangedIf CheckBox4.Checked = FalseThen wiederholen2 = "False"If CheckBox4.Checked = TrueThen wiederholen2 = "True"EndSubPrivateSub TrackBar7_MouseDown(ByVal sender As System.Object, ByVal e AsSystem.Windows.Forms.MouseEventArgs) Handles TrackBar7.MouseDownTimer1.Enabled = FalseEndSubPrivateSub TrackBar7_MouseUp(ByVal sender As System.Object, ByVal e AsSystem.Windows.Forms.MouseEventArgs) Handles TrackBar7.MouseUpAxWindowsMediaPlayer2.Ctlcontrols.currentPosition = TrackBar7.ValueTimer1.Enabled = TrueEndSubPrivateSub CheckBox3_CheckedChanged(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles CheckBox3.CheckedChangedIf CheckBox3.Checked = FalseThen wiederholen1 = "False"If CheckBox3.Checked = TrueThen wiederholen1 = "True"EndSubPrivateSub TrackBar6_Scroll(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles TrackBar6.ScrollIf wiederholen1 = "True"ThenIf TrackBar6.Value = TrackBar6.Maximum ThenAxWindowsMediaPlayer1.URL = AxWindowsMediaPlayer1.URLEndIfEndIfEndSubPrivateSub TrackBar7_Scroll(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles TrackBar7.ScrollIf wiederholen2 = "True"ThenIf TrackBar7.Value = TrackBar7.Maximum ThenAxWindowsMediaPlayer2.URL = AxWindowsMediaPlayer2.URLEndIfEndIfEndSubEndClass© moroSoftware6. Kalau script sudah di masukan, jalankan lah aplikasi dengan menekan f5,kalau eror berarti ada kesalahan.
  13. 13. Jika berhasil, lakukan tahap pengetestan, seperti gambar berikut.
  14. 14. 7. Gambar diatas, menunjukan berhasil.Sekian tutorial yang saya buat. Kalo kurang jelas bisa Tanya sayalewat email: moroajipangestu@gmail.comGood Luck… ^_^

×