home *** CD-ROM | disk | FTP | other *** search
-
- Sub Main ()
- Screen.MousePointer = 11
- 'JOHN - Browser should be changed to use Lurker Path or Message directory
- ' FilePath$ = InputBox$("Enter the complete path to the directory where LURKER.MAK resides (with a trailing backslash)", GioHeader, "c:\lurker\")
- ' If FilePath$ = "" Then End
- Lurker.Hide
- 'JOHN - Let's not load Browser until it's needed.
- ' Browser.Hide
- Startup.Show
- Startup.Timer1.Interval = 5000
- Startup.Timer1.Enabled = -1
- Screen.MousePointer = 0
- 'JOHN - Use time while splash screen's up to load global variables
- GSioLurkerPath = FioReadLurkerPath()
- If GSioLurkerPath <> GioDEFAULT Then
- GSioLurkerIni = GSioLurkerPath + "Lurker.Ini"
- GSioActiveUser = FioUserGetActive()
- GSioUserIni = FioUserGetIni(GSioActiveUser)
- Debug.Print GSioLurkerPath
- Debug.Print GSioLurkerIni
- Debug.Print GSioActiveUser
- Debug.Print GSioUserIni
- 'Need to get active Host here, also
- Lurker.laUser.Caption = GSioActiveUser
- 'Lurker.laHost.Caption = GSioActiveHost
- GetForums Lurker.lbForums
- End If
-
- While Not Lurker.Visible
- Junk% = DoEvents()
- Wend
-
- If GSioLurkerPath = GioDEFAULT Then
- ConfigureLurker
- End If
- End Sub
-
-