home *** CD-ROM | disk | FTP | other *** search
/ Using Visual Basic 5 (Platinum Edition) / vb5.iso / Code / ch40 / PlatWebBr / WebBrowser_Demo.frm (.txt) < prev   
Encoding:
Visual Basic Form  |  1997-07-04  |  1.6 KB  |  53 lines

  1. VERSION 5.00
  2. Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.0#0"; "shdocvw.dll"
  3. Begin VB.Form WebBrowser_Demo 
  4.    Caption         =   "WebBrowser Control Demo"
  5.    ClientHeight    =   4860
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   7575
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   4860
  11.    ScaleWidth      =   7575
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin SHDocVwCtl.WebBrowser WebBrowser1 
  14.       Height          =   4020
  15.       Left            =   120
  16.       TabIndex        =   2
  17.       Top             =   660
  18.       Width           =   7350
  19.       Object.Height          =   268
  20.       Object.Width           =   490
  21.       AutoSize        =   0
  22.       ViewMode        =   1
  23.       AutoSizePercentage=   0
  24.       AutoArrange     =   -1  'True
  25.       NoClientEdge    =   -1  'True
  26.       AlignLeft       =   0   'False
  27.    End
  28.    Begin VB.CommandButton Command1 
  29.       Caption         =   "Navigate"
  30.       Height          =   375
  31.       Left            =   120
  32.       TabIndex        =   1
  33.       Top             =   120
  34.       Width           =   1095
  35.    End
  36.    Begin VB.TextBox Text1 
  37.       Height          =   375
  38.       Left            =   1320
  39.       TabIndex        =   0
  40.       Text            =   "Text1"
  41.       Top             =   120
  42.       Width           =   6135
  43.    End
  44. Attribute VB_Name = "WebBrowser_Demo"
  45. Attribute VB_GlobalNameSpace = False
  46. Attribute VB_Creatable = False
  47. Attribute VB_PredeclaredId = True
  48. Attribute VB_Exposed = False
  49. Option Explicit
  50. Private Sub Command1_Click()
  51.     WebBrowser1.Navigate Text1.Text
  52. End Sub
  53.