Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-21-2013, 10:52 PM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Programming › Visual Basic v
« Previous 1 ... 6 7 8 9 10 ... 14 Next »

[Tutor] pencampuran

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
Tutor pencampuran
05-09-2012, 04:46 PM (This post was last modified: 05-09-2012 05:26 PM by genta.)
Post: #1
genta Online
soutboxer
Posts: 962
Joined: Jan 2012
Reputation: 67
Thumbs Down pencampuran
asalmualaikum cuteboy ...salam logodc
ijin bikin thread lg seneng .....ne bekas tugas ane minggu kemarin yg udah bikin stress smaleman kali aja dapet bermanfaat apabila hanya menjadi sampah sialhkan di hapus aja pasrah

langsung aja ne kurang lebih soaly seperti ini
buat satu program harus ada formlogin,mdi form,media player,shutdown,restart dan form berkedip dalam 1 program kurang lebih seperti itu soaly kalau gak salah hammer
1.membuat form berkedipy dulu
menggunakan
Code:
2 form = form 1 dan form2
1 command buton
1 timer
trus ganti
Code:
command1 = caption = form berkedip
form2 = name =frmflash
timer =name= tmrflash
left =1320
top=600
[Image: dm-TP14.jpg]
2 .membuat form login
-pilih project------add form-----login dialog-----open-----
lanjut
- label1 ama text usernamey apus
kurang lebih seperti ini
[Image: dm-XNI7.jpg]
3.membuat mdi form
pilih

--project-----add mdiform-----open.
lalu klik kanan pada mdi form
trus kita isi caption dan namey dengan

file
open
image
song
media player
api
shutdown
restart

caption dan name harus sama trus tiap tab gunakan tanda panah
kurang lebih seperti ini
[Image: di-TJAS.jpg]
4.membuat shutdown
Code:
1 label
1 frame
3 option button
3 command buton
[Image: dm-E8JZ.jpg]
5 membuat media player
untuk medi playery ane ngambil dr sini
http://devilzc0de.org/forum/thread-13608.html malu
jadinya seperti ini
[Image: dm-TY07.jpg]
ne codingany
1.form login
Code:
Option Explicit

Public LoginSucceeded As Boolean

Private Sub cmdCancel_Click()
  
    LoginSucceeded = False
    Me.Hide
End Sub

Private Sub cmdOK_Click()

    If txtPassword = "deadsquad" Then
        LoginSucceeded = True
        MDIForm1.Show
            
    Else
        MsgBox "Invalid Password, try again!", , "Login"
        txtPassword.SetFocus
        SendKeys "{Home}+{End}"
    End If
End Sub


Private Sub lblLabels_Click(Index As Integer)

End Sub
2.form1
Code:
Private Sub Command1_Click()
frmflash.Show
End Sub
3.form flash
Code:
Option Explicit

Private Declare Function FlashWindow Lib "user32" ( _
   ByVal hwnd As Long, _
   ByVal bInvert As Long) As Long

Private Sub Form_Load()
  tmrflash.Interval = 1000 / 5
  tmrflash.Enabled = True
End Sub

Private Sub tmrFlash_Timer()
  Dim Ret As Long
  Ret = FlashWindow(hwnd, CLng(True))
End Sub
3.mdi form
Code:
Private Sub API_Click()
Form3.Show
End Sub



Private Sub mediaplayer_Click()
Form1.Show
End Sub

Private Sub restart_Click()
Shell "shutdown -r"
End Sub

Private Sub shutdown_Click()
Form2.Show
End Sub
5.form shut down
Code:
Private Sub Command1_Click()
If Option1.Value = False And Option2.Value = False And Option3.Value = False Then
MsgBox ("pilih waktu !"), vbInformation, "warning"
End If
If Option1.Value = True Then
Shell ("shutdown -s -t 120")
ElseIf Option2.Value = True Then
Shell ("shutdown -s -t 3600")
ElseIf Option2.Value = True Then
Shell ("shutdown -s -t 7200")
End If
End Sub

Private Sub Command2_Click()
Shell ("shutdown -a")
End Sub

Private Sub Command3_Click()
End
End Sub

terimakasih kepada dc,om ubuntux dan mbah google yg udah ngebantu tugas ane seneng .......cukup sekian untuk kali ini

wasalmualaikum mohon
Find all posts by this user
Quote this message in a reply
05-09-2012, 06:11 PM
Post: #2
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,272
Joined: Dec 2009
Reputation: 184
RE: pencampuran
kayak tugas kampus gw nohope
Find all posts by this user
Quote this message in a reply
05-09-2012, 06:51 PM
Post: #3
genta Online
soutboxer
Posts: 962
Joined: Jan 2012
Reputation: 67
RE: pencampuran
(05-09-2012 06:11 PM)chaer.newbie Wrote:  kayak tugas kampus gw nohope
emank tugasy kya gini jg gtu om bingung
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-21-2013, 10:52 PM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE