home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- BackColor = &H000080FF&
- Caption = "Scary Time"
- ClientHeight = 3120
- ClientLeft = 2535
- ClientTop = 2115
- ClientWidth = 4320
- ControlBox = 0 'False
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3525
- Icon = SCARY.FRX:0000
- Left = 2475
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- ScaleHeight = 3120
- ScaleWidth = 4320
- Top = 1770
- Width = 4440
- Begin Timer Timer1
- Interval = 1000
- Left = 2760
- Top = 840
- End
- Begin PictureBox Picture1
- BackColor = &H000080FF&
- BorderStyle = 0 'None
- ForeColor = &H000080FF&
- Height = 255
- Left = 0
- ScaleHeight = 255
- ScaleWidth = 9495
- TabIndex = 3
- Top = -120
- Width = 9495
- End
- Begin Label Label2
- Alignment = 2 'Center
- BackColor = &H000080FF&
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Futura Md BT"
- FontSize = 30
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 735
- Left = 360
- TabIndex = 1
- Top = 1800
- Width = 3735
- End
- Begin Label Label1
- Alignment = 2 'Center
- BackColor = &H000080FF&
- Caption = "Dial Time at 853-1212"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Futura Md BT"
- FontSize = 30
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1335
- Left = 120
- TabIndex = 0
- Top = 120
- Visible = 0 'False
- Width = 4170
- End
- Begin Label Label3
- Alignment = 2 'Center
- BackColor = &H000080FF&
- Caption = "Happy Halloween"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Futura Md BT"
- FontSize = 30
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1695
- Left = 0
- TabIndex = 2
- Top = 120
- Width = 4215
- End
- Begin Menu SetOptions
- Caption = "&Options"
- Visible = 0 'False
- Begin Menu SetClock
- Caption = "&Set The Clock"
- End
- Begin Menu ShowNum
- Caption = "&What's The Number?"
- End
- Begin Menu HideNum
- Caption = "&Can't See The clock!"
- Visible = 0 'False
- End
- Begin Menu AboutCom
- Caption = "&About The Author"
- End
- Begin Menu ByeCom
- Caption = "&Exit"
- End
- End
- Begin Menu HelpCom
- Caption = "&Help"
- Visible = 0 'False
- End
- Sub AboutCom_Click ()
- About
- End Sub
- Sub ByeCom_Click ()
- End Sub
- Sub HelpCom_Click ()
- scary2.Show
- form1.Hide
- SetOptions.visible = 0
- HelpCom.visible = 0
- End Sub
- Sub HideNum_Click ()
- label1.visible = 0
- label2.visible = -1
- label3.visible = -1
- ShowNum.visible = -1
- HideNum.visible = 0
- SetOptions.visible = 0
- HelpCom.visible = 0
- End Sub
- Sub Picture1_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
- SetOptions.visible = -1
- HelpCom.visible = -1
- End Sub
- Sub Picture1_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
- SetOptions.visible = -1
- HelpCom.visible = -1
- End Sub
- Sub SetClock_Click ()
- Msg$ = "I will Call up the Control Panel."
- MsgBox Msg$
- Y = Shell("control.exe", 1)
- SetOptions.visible = 0
- HelpCom.visible = 0
- End Sub
- Sub ShowNum_Click ()
- label1.visible = -1
- label2.visible = 0
- label3.visible = -0
- ShowNum.visible = 0
- HideNum.visible = -1
- SetOptions.visible = 0
- HelpCom.visible = 0
- End Sub
- Sub Timer1_Timer ()
- Dim MyTime As String
- Dim Hours As Integer
- MyTime = Time$
- Hours = Val(MyTime)
- If Hours > 12 Then Mid$(MyTime, 1, 2) = Str$(Hours - 12)
- label2.caption = MyTime
- End Sub
-