home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Elite Hackers Toolkit
/
TheEliteHackersToolkitVolume1_1998.rar
/
HACKERS.BIN
/
appcraks
/
TIMER.ZIP
/
FORM1.FRM
next >
Wrap
Text File
|
1997-11-12
|
3KB
|
105 lines
VERSION 5.00
Begin VB.Form Form1
Caption = "Multimedia-Timer"
ClientHeight = 3444
ClientLeft = 3552
ClientTop = 1476
ClientWidth = 7440
LinkTopic = "Form1"
ScaleHeight = 3444
ScaleWidth = 7440
Begin VB.Frame Frame2
Caption = "Multimedia-Timer"
Height = 1335
Left = 120
TabIndex = 3
Top = 1680
Width = 4575
Begin VB.Label Label2
Alignment = 2 'Center
BackColor = &H00000000&
Caption = "Multimedia:"
BeginProperty Font
Name = "System"
Size = 9.6
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 375
Left = 1080
TabIndex = 4
Top = 480
Width = 2055
End
End
Begin VB.Frame Frame1
Caption = "VB-Timer"
Height = 1335
Left = 120
TabIndex = 1
Top = 120
Width = 4575
Begin VB.Timer Timer1
Interval = 100
Left = 240
Top = 480
End
Begin VB.Label Label1
Alignment = 2 'Center
BackColor = &H00000000&
Caption = "VB-Timer:"
BeginProperty Font
Name = "System"
Size = 9.6
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 375
Left = 1080
TabIndex = 2
Top = 480
Width = 2055
End
End
Begin VB.CommandButton Command1
Caption = "Show Modal Form"
Height = 615
Left = 4920
TabIndex = 0
Top = 240
Width = 2055
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
MsgBox "Look at the VB-Timer please!"
End Sub
Private Sub Form_Load()
Show
FID = timeSetEvent(100, 0, AddressOf TimeCallback, 0, TIME_PERIODIC)
End Sub
Private Sub Form_Unload(Cancel As Integer)
If FID <> 0 Then timeKillEvent FID
End Sub
Private Sub Timer1_Timer()
Static i&
i = i + 1
Label1.Caption = i
End Sub