home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{E4D5D928-FD35-4D0A-92CD-F3CE02D68455}#1.1#0"; "ahtmlle2.ocx"
- Begin VB.Form frmSimpleBrowser
- BorderStyle = 3 'Fixed Dialog
- Caption = "Simple Browser Example"
- ClientHeight = 6405
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 8565
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Icon = "Browser.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 427
- ScaleMode = 3 'Pixel
- ScaleWidth = 571
- StartUpPosition = 2 'CenterScreen
- Begin HTMLCtlsLE.HTMLView Browser
- Height = 5505
- Left = 180
- TabIndex = 1
- Top = 180
- Width = 8250
- _ExtentX = 14552
- _ExtentY = 9710
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Text = ""
- End
- Begin VB.CommandButton cmdClose
- Cancel = -1 'True
- Caption = "Close"
- Default = -1 'True
- Height = 330
- Left = 7290
- TabIndex = 0
- Top = 5850
- Width = 1140
- End
- Attribute VB_Name = "frmSimpleBrowser"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- '##AUTHOR Richard James Moss
- '##CREATION_DATE 08/08/2001 11:40
- '##BLOCK_DESCRIPTION Loads a document
- '##UPDATE_NOTE
- Public Sub Load(ByVal Filename As String)
- Attribute Load.VB_Description = "Loads a document"
- Browser.Load Filename
- Show 1
- End Sub '(Public) Sub Load ()
- Private Sub cmdClose_Click()
- Unload Me
- End Sub
-