home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form alarm
- AutoRedraw = -1 'True
- BackColor = &H00008000&
- BorderStyle = 0 'None
- ClientHeight = 6915
- ClientLeft = 4635
- ClientTop = 1350
- ClientWidth = 8400
- ControlBox = 0 'False
- FillColor = &H00008000&
- Height = 7320
- Icon = ALARM.FRX:0000
- KeyPreview = -1 'True
- Left = 4575
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 461
- ScaleMode = 3 'Pixel
- ScaleWidth = 560
- Top = 1005
- Width = 8520
- Begin CommandButton showinfo
- Caption = "Info"
- Height = 495
- Left = 8880
- TabIndex = 15
- Top = 6600
- Width = 615
- End
- Begin OptionButton saveornot
- BackColor = &H00008000&
- Caption = "Ignore It"
- ForeColor = &H000000FF&
- Height = 255
- Index = 1
- Left = 7320
- TabIndex = 14
- Top = 360
- Value = -1 'True
- Width = 1455
- End
- Begin OptionButton saveornot
- BackColor = &H00008000&
- Caption = "Save To Disk"
- ForeColor = &H000000FF&
- Height = 255
- Index = 0
- Left = 7320
- TabIndex = 13
- Top = 120
- Width = 1455
- End
- Begin TextBox alarmalert
- BackColor = &H00008000&
- ForeColor = &H000000FF&
- Height = 285
- Left = 6000
- TabIndex = 6
- Text = "All Ok"
- Top = 360
- Width = 1215
- End
- Begin TextBox whatisbad
- BackColor = &H00008000&
- ForeColor = &H000000FF&
- Height = 285
- Left = 3720
- TabIndex = 5
- Text = "10"
- Top = 360
- Width = 1215
- End
- Begin TextBox status
- BackColor = &H00008000&
- ForeColor = &H000000FF&
- Height = 285
- Left = 120
- TabIndex = 4
- Text = "Initialize"
- Top = 360
- Width = 1215
- End
- Begin TextBox scandelay
- BackColor = &H00008000&
- ForeColor = &H000000FF&
- Height = 285
- Left = 1320
- TabIndex = 3
- Text = "1"
- Top = 360
- Width = 1215
- End
- Begin TextBox pixelstep
- BackColor = &H00008000&
- ForeColor = &H000000FF&
- Height = 285
- Left = 2520
- TabIndex = 2
- Text = "10"
- Top = 360
- Width = 1215
- End
- Begin CommandButton alarmexit
- Caption = "Exit"
- Height = 495
- Left = 8880
- TabIndex = 0
- Top = 120
- Width = 615
- End
- Begin Timer alarmtimer
- Enabled = 0 'False
- Interval = 1000
- Left = 8880
- Top = 840
- End
- Begin TextBox scanresult
- BackColor = &H00008000&
- ForeColor = &H000000FF&
- Height = 285
- Left = 4920
- TabIndex = 1
- Top = 360
- Width = 1095
- End
- Begin Label Label7
- Alignment = 2 'Center
- BorderStyle = 1 'Fixed Single
- Height = 2535
- Left = 1080
- TabIndex = 16
- Top = 4680
- Visible = 0 'False
- Width = 7335
- End
- Begin Label Label6
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- BorderStyle = 1 'Fixed Single
- Caption = "Alarm Alert"
- ForeColor = &H000000FF&
- Height = 255
- Left = 6000
- TabIndex = 12
- Top = 120
- Width = 1215
- End
- Begin Label Label5
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- BorderStyle = 1 'Fixed Single
- Caption = "What is Bad"
- ForeColor = &H000000FF&
- Height = 255
- Left = 3720
- TabIndex = 11
- Top = 120
- Width = 1215
- End
- Begin Label Label4
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- BorderStyle = 1 'Fixed Single
- Caption = "Status"
- ForeColor = &H000000FF&
- Height = 255
- Left = 120
- TabIndex = 10
- Top = 120
- Width = 1215
- End
- Begin Label Label3
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- BorderStyle = 1 'Fixed Single
- Caption = "Scan Delay"
- ForeColor = &H000000FF&
- Height = 255
- Left = 1320
- TabIndex = 9
- Top = 120
- Width = 1215
- End
- Begin Label Label2
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- BorderStyle = 1 'Fixed Single
- Caption = "Pixel Step"
- ForeColor = &H000000FF&
- Height = 255
- Left = 2520
- TabIndex = 8
- Top = 120
- Width = 1215
- End
- Begin Label Label1
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- BorderStyle = 1 'Fixed Single
- Caption = "Scan Result"
- ForeColor = &H000000FF&
- Height = 255
- Left = 4920
- TabIndex = 7
- Top = 120
- Width = 1095
- End
- Sub alarmexit_Click ()
- 'exit selected - so call the exit routine
- alarmend
- End Sub
- Sub alarmtimer_Timer ()
- 'timer event - so check the frames for bad guys
- scancaptures
- End Sub
- Sub Form_Load ()
- 'form load event - so initialize things
- initializealarm
- End Sub
- Sub scandelay_Change ()
- 'scan_delay_was_changed event - so adjust the timer
- Call setinterval
- End Sub
- Sub showinfo_Click ()
- 'info button clicked - so tell them what it's all about
- info
- End Sub
-