home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 5385
- ClientLeft = 2085
- ClientTop = 1320
- ClientWidth = 7395
- Height = 5790
- Left = 2025
- LinkTopic = "Form1"
- ScaleHeight = 5385
- ScaleWidth = 7395
- Top = 975
- Width = 7515
- Begin VB.CommandButton go
- Caption = "GO"
- Height = 375
- Left = 4440
- TabIndex = 1
- Top = 1080
- Width = 975
- End
- Begin VB.TextBox txtURL
- Height = 375
- Left = 1800
- TabIndex = 0
- Top = 1080
- Width = 2175
- End
- Begin VB.Label Label
- Caption = "This example uses Microsoft Internet and Shell Controls"
- BeginProperty Font
- name = "Arial"
- charset = 0
- weight = 400
- size = 9.75
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H000000FF&
- Height = 375
- Left = 480
- TabIndex = 4
- Top = 360
- Width = 5175
- End
- Begin VB.Label Label1
- Caption = "URL Address"
- Height = 375
- Left = 360
- TabIndex = 3
- Top = 1080
- Width = 975
- End
- Begin SHDocVwCtl.ShellExplorer ShellExplorer1
- Height = 2895
- Left = 360
- OleObjectBlob = "Form1.frx":0000
- TabIndex = 2
- Top = 1560
- Width = 4455
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- End Sub
- Private Sub Command2_Click()
- ShellExplorer1.Application.GoBack
- End Sub
- Private Sub Command3_Click()
- ShellExplorer1.Application.GoForward
- End Sub
- Private Sub Form_Load()
- txtURL.Text = "c:\test\test1.htm"
- Form_Resize
- End Sub
- Private Sub Form_Resize()
- If WindowState <> 1 Then
- ShellExplorer1.Left = 0
- ShellExplorer1.Width = Width - 100
- ShellExplorer1.Height = Height - ShellExplorer1.Top - 370
- End If
- End Sub
- Private Sub Text1_Change()
- End Sub
- Private Sub go_Click()
- ShellExplorer1.Location = txtURL.Text
- End Sub
- Private Sub Label1_Click()
- End Sub
- Private Sub ShellExplorer1_OnBeginNavigate(ByVal HLink As Object, Cancel As Boolean)
- End Sub
- Private Sub T_Click()
- End Sub
- Private Sub txtURL_Change()
- End Sub
-