Caption = "SERVER IP ADDRESS><PORT><PROXY TYPE><LOCATION"
Enabled = 0 'False
Index = 0
End
Begin VB.Menu mnuIeDirect
Caption = "IE &direct connection"
End
Begin VB.Menu mnusep1
Caption = "-"
End
Begin VB.Menu mnuSubWhatIsMyIp
Caption = "www.whatismyip.com"
End
Begin VB.Menu mnuExit
Caption = "close && &exit"
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim WithEvents cTray As clsTray
Dim WithEvents cNav As cNavigateTo
Dim creg As cRegistry
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub UpdateProxyList()
cNav.CreateProxyDoc
End Sub
Private Sub cNav_OperationTimedOut()
MsgBox "Attempt to download proxy list timed out." & vbCrLf & _
"Check to make sure you have a valid connection" & vbCrLf & _
"to the internet." & vbCrLf & _
"This program will now unload."
Unload Me
End Sub
Private Sub cNav_ProxyInfo(proxyAddress As String, proxyPort As String, proxyType As String, proxyLocation As String)