home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Intelligence
- Caption = "Please Wait"
- ClientHeight = 2445
- ClientLeft = 3090
- ClientTop = 3060
- ClientWidth = 3825
- ControlBox = 0 'False
- Height = 2850
- Left = 3030
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2445
- ScaleWidth = 3825
- Top = 2715
- Width = 3945
- Begin CommandButton Command1
- Caption = "OK"
- Default = -1 'True
- Height = 375
- Left = 1560
- TabIndex = 3
- Top = 2040
- Visible = 0 'False
- Width = 735
- End
- Begin Timer Timer2
- Interval = 1000
- Left = 3240
- Top = 1920
- End
- Begin Timer Timer1
- Enabled = 0 'False
- Interval = 10000
- Left = 120
- Top = 1920
- End
- Begin TextBox accesscode
- Height = 375
- Left = 1200
- TabIndex = 2
- Top = 1560
- Visible = 0 'False
- Width = 1455
- End
- Begin Label Label2
- Alignment = 2 'Center
- Caption = "Gathering Intelligence Data"
- Height = 375
- Left = 600
- TabIndex = 1
- Top = 840
- Width = 2655
- End
- Begin Label Label1
- Alignment = 2 'Center
- Height = 255
- Left = 600
- TabIndex = 0
- Top = 240
- Width = 2655
- End
- Declare Function Flashwindow% Lib "user" (ByVal hWnd%, ByVal bInvert%)
- Sub command1_click ()
- If LCase$(accesscode.Text) = "fbifile" Then
- i% = sndplaysound("accden.wav", 1)
- MsgBox "Access Denied"
- Exit Sub
- End If
- Unload intelligence
- End Sub
- Sub Form_Activate ()
- i% = sndplaysound("gather.wav", 1)
- End Sub
- Sub Form_Unload (Cancel As Integer)
- timer2.enabled = 0
- fbifile.BTN_View.Visible = -1
- End Sub
- Sub Timer1_Timer ()
- If label2.Caption = "Compiling Data" Then GoTo secondtime
- label2.Caption = "Compiling Data"
- 'this plays the WAV:
- i% = sndplaysound("compile.wav", 1)
- 'the flags work as follows:
- '0 wait until sound finishes before returning
- '1 return immediately - sound can be stopped with
- ' i% =sndplaysound(0&, 0)
- '2 play no default if it can't find the WAV
- '4 play sound over and over, must be combined with 1 by calling the flag
- ' i% =sndplaysound(snd_async or snd_loop, 0) it can also be stopped with '(0%,0)
- '5 returns false immediately if sound is already playing.
- Timer1.enabled = 0
- Timer1.enabled = -1
- Exit Sub
- secondtime:
- intelligence.Caption = ""
- label1.Caption = "Profile Complete"
- label2.Caption = "Enter Security Access Code"
- 'this plays the WAV:
- i% = sndplaysound("access.wav", 1)
- accesscode.Visible = -1
- command1.Visible = -1
- Timer1.enabled = 0
- timer2.enabled = 0
- End Sub
- Sub Timer2_Timer ()
- Succ% = Flashwindow%(intelligence.hWnd, 1)
- End Sub
-