home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- BackColor = &H80000001&
- Caption = "Remind Me"
- ClientHeight = 3690
- ClientLeft = 4740
- ClientTop = 3615
- ClientWidth = 7200
- ForeColor = &H8000000D&
- LinkTopic = "Form1"
- Moveable = 0 'False
- Picture = "Form1.frx":0000
- ScaleHeight = 3690
- ScaleWidth = 7200
- ShowInTaskbar = 0 'False
- Begin VB.CommandButton Command3
- Caption = "Start over"
- Height = 495
- Left = 2280
- TabIndex = 7
- Top = 2880
- Width = 1695
- End
- Begin VB.Timer Timer2
- Interval = 100
- Left = 1800
- Top = 3000
- End
- Begin VB.Timer Timer1
- Interval = 1000
- Left = 4200
- Top = 2880
- End
- Begin VB.CommandButton Command2
- Caption = "Back"
- Height = 495
- Left = 4680
- TabIndex = 4
- Top = 2880
- Width = 1575
- End
- Begin VB.CommandButton Command1
- Caption = "activate"
- Height = 495
- Left = 120
- TabIndex = 3
- Top = 2880
- Width = 1575
- End
- Begin VB.TextBox Text2
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 13.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 120
- TabIndex = 2
- Top = 2160
- Width = 6975
- End
- Begin VB.TextBox Text1
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 24
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 615
- Left = 120
- TabIndex = 0
- Top = 840
- Width = 2415
- End
- Begin VB.CheckBox Check1
- Caption = "Check1"
- Height = 195
- Left = 3000
- TabIndex = 9
- Top = 2400
- Width = 495
- End
- Begin VB.Label Label4
- BackColor = &H80000012&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "Arial"
- Size = 39.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0000FFFF&
- Height = 855
- Left = 3480
- TabIndex = 6
- Top = 600
- Width = 3135
- End
- Begin VB.Label Label2
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Insert a message."
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0000FFFF&
- Height = 255
- Left = 120
- TabIndex = 5
- Top = 1800
- Width = 3375
- End
- Begin VB.Label Label1
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Insert time."
- ForeColor = &H0000FFFF&
- Height = 375
- Left = 120
- TabIndex = 1
- Top = 360
- Width = 2415
- End
- Begin VB.Label Label5
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "You must..."
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0000FFFF&
- Height = 375
- Left = 120
- TabIndex = 8
- Top = 1800
- Visible = 0 'False
- Width = 3135
- End
- Begin VB.Label Label6
- BackColor = &H80000012&
- BackStyle = 0 'Transparent
- Caption = "It's"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0000FFFF&
- Height = 495
- Left = 120
- TabIndex = 10
- Top = 360
- Visible = 0 'False
- Width = 2295
- End
- Begin VB.Image Image1
- Height = 4320
- Left = 0
- Top = 0
- Width = 9000
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Check1_Click()
- Select Case Check1.Value
- Case Checked
- SetWindowPos hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
- Case Unchecked
- SetWindowPos hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
- End Select
- End Sub
- Private Sub Command1_Click()
- Form1.WindowState = 1
- Timer1.Enabled = True
- End Sub
- Private Sub Command2_Click()
- Label2.Visible = True
- Label5.Visible = False
- Label1.Visible = True
- Label6.Visible = False
- Text1.Text = ""
- Text2.Text = ""
- Form2.Show
- Unload Me
- End Sub
- Private Sub Command3_Click()
- Text1.Text = ""
- Text2.Text = ""
- Label2.Visible = True
- Label5.Visible = False
- Label1.Visible = True
- Label6.Visible = False
- End Sub
- Private Sub Form_Load()
- Check1.Value = Checked
- End Sub
- Private Sub Timer1_Timer()
- CurrentTime = Format(Time, "hh:mm")
- If CurrentTime = Text1.Text Then
- Beep
- Select Case Check1.Value
- Case Checked
- SetWindowPos hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
- Case Unchecked
- SetWindowPos hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
- End Select
- Form1.Show
- Label2.Visible = False
- Label5.Visible = True
- Label1.Visible = False
- Label6.Visible = True
- Select Case Check1.Value
-
- End Select
-
- Timer1.Enabled = False
- Form1.WindowState = 0
- End If
- End Sub
- Private Sub Timer2_Timer()
- Label4.Caption = Time
- End Sub
-