home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form goForm
- BorderStyle = 1 'Fixed Single
- Caption = "Where Do You Want To Go Today?"
- ClientHeight = 2790
- ClientLeft = 1950
- ClientTop = 1725
- ClientWidth = 4815
- Height = 3210
- Left = 1890
- LinkTopic = "Form1"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2790
- ScaleWidth = 4815
- Top = 1365
- Width = 4935
- Begin VB.Frame Frame2
- Caption = "Open A Local File"
- Height = 1005
- Left = 90
- TabIndex = 3
- Top = 1680
- Width = 4605
- Begin VB.CommandButton Command2
- Caption = "Open File..."
- Height = 450
- Left = 840
- TabIndex = 4
- Top = 330
- Width = 3135
- End
- End
- Begin VB.Frame Frame1
- Caption = "URL To Visit"
- Height = 1470
- Left = 75
- TabIndex = 0
- Top = 75
- Width = 4635
- Begin VB.CommandButton Command1
- Caption = "Go..."
- Default = -1 'True
- Height = 405
- Left = 1170
- TabIndex = 2
- Top = 870
- Width = 2295
- End
- Begin VB.TextBox userURL
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 400
- size = 12
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 420
- Left = 210
- TabIndex = 1
- Text = "http://www."
- Top = 300
- Width = 4215
- End
- End
- Begin MSComDlg.CommonDialog openHTML
- Left = 0
- Top = 2880
- _Version = 65536
- _ExtentX = 847
- _ExtentY = 847
- _StockProps = 0
- DialogTitle = "Open HTML File"
- FileName = "*.htm*"
- Filter = "*.htm*|HTML Files"
- End
- Attribute VB_Name = "goForm"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- If debugMode Then
- Debug.Print "Requesting:" & userURL
- End If
- webForm.WebBrowser(webForm.TabStrip1.Tabs.Count).Location = userURL
- Unload goForm
- End Sub
- Private Sub Command2_Click()
- openHTML.ShowOpen
- If openHTML.FileName <> "" Then webForm.WebBrowser(webForm.TabStrip1.Tabs.Count).Location = "file:///" & openHTML.FileName
- Unload goForm
- End Sub
- Private Sub Form_Load()
- CenterForm Me
- End Sub
-