PROYECTO No 2
Click here to load reader
-
Upload
milenka796 -
Category
Education
-
view
3.078 -
download
2
Transcript of PROYECTO No 2
Proyecto de Visual Basic N°2
Alumna expositora: Milenka Uceda
Form 1:
Programando el Comando Timer 1Private Sub Timer1_Timer()
Timer1.Tag = Mid(Timer1.Tag, 2) + Left(Timer1.Tag, 1)
Form1.Caption = Timer1.Tag
End Sub
Programando el Comando Timer 2Private Sub Timer2_Timer()
Timer2.Tag = Mid(Timer2.Tag, 2) + Left(Timer2.Tag, 1)
Label1.Caption = Timer2.Tag
End Sub
Programando el Comando Timer 3
Private Sub Timer3_Timer()
Label2.Caption = Time
End Sub
Programando el Comando Timer 4Private Sub Timer4_Timer()
Image1.Left = Image1.Left + 100
If (Image1.Left) > ScaleWidth Then Image1.Left = -500
End Sub
Programando el Comando Timer 5Private Sub Timer5_Timer()
Static x As Integer
If x = 2 Then x = -1
x = x + 1
Image2.Picture = Image3(x).Picture
End Sub
Timer 1
Interval:200
Tag: Promoción 2012
Timer 2
Interval:200
Tag: La hora del sistema es
Timer 3
Interval:1000
Timer 3
Interval:50
Timer 3
Interval:300