Properties


Application Property

Description

Returns the automation object supported by the application that contains the WebBrowser control if the object is accessible; otherwise, this property returns the WebBrowser control's automation object.

Syntax

object.Application

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp


Busy Property

Description

Returns a Boolean value specifying whether the WebBrowser control or Internet Explorer is engaged in a navigation or downloading operation.

Syntax

object.Busy

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Return Value

The Busy property returns these values:
Value Description
True A download or other operation is in progress.
False No download or other operation is in progress.

Applies To

WebBrowser, WebBrowserApp


Container Property

Description

Returns an object that evaluates to the container of the WebBrowser control, if any.

Syntax

object.Container

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp

See Also

Document


Document Property

Description

Returns the automation object of the active document, if any.

Syntax

object.Document

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp

See Also

Container


FullName Property

Description

Returns a string that evaluates to the fully qualified path of the executable file that contains the Internet Explorer application.

Syntax

object.FullName

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowserApp


FullScreen Property

Description

Returns or sets a value indicating whether Internet Explorer is in full-screen or normal window mode. In full-screen mode, the Internet Explorer main window is maximized and the status bar, toolbar, menu bar, and title bar are hidden.

Syntax

object.FullScreen [= value]

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.
value Optional. A Boolean expression that determines whether Internet Explorer is in full-screen or normal window mode. If True, the object is in full-screen mode; if False, it is in normal mode.

Applies To

WebBrowserApp


Height Property

Description

Returns or sets the vertical dimension, in pixels, of the frame window that contains the WebBrowser control.

Syntax

object.Height [= height]

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.
height Optional. A long integer value specifying the vertical dimension of the frame window, in pixels.

Applies To

WebBrowser, WebBrowserApp

See Also

Width


HWND Property

Description

Returns the handle of the Internet Explorer main window.

Syntax

object.HWND

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowserApp


Left Property

Description

Returns or sets the distance between the internal left edge of the WebBrowser control and the left edge of its container.

Syntax

object.Left [= distance]

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.
distance Optional. A long integer expression specifying the distance between the internal left edge of the WebBrowser control and the left edge of its container.

Remarks

The Left property is measured in units depending on the coordinate system of its container. The values for this property change as the object is moved by the user or by code.

Applies To

WebBrowser, WebBrowserApp


LocationName Property

Description

Returns a string that contains the name of the resource that the WebBrowser control is currently displaying. If the resource is an HTML page on the World Wide Web, the name is the title of that page. If the resource is a folder or file on the network or local computer, the name is the UNC or full path of the folder or file.

Syntax

object.LocationName

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp

See Also

LocationURL


LocationURL Property

Description

Returns a string that contains the URL of the resource that the WebBrowser control or Internet Explorer is currently displaying. If the resource is a folder or file on the network or local computer, the name is the UNC or full path of the folder or file.

Syntax

object.LocationURL

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp

See Also

LocationName


MenuBar Property

Description

Returns or sets a value that determines whether the Internet Explorer menu bar is visible or hidden.

Syntax

object.MenuBar [= value]

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.
value Optional. A Boolean expression that determines whether the menu bar is visible. If True, the menu bar is visible; if False, it is hidden.

Applies To

WebBrowserApp


Name Property

Description

Returns a string that evaluates to the name of the Internet Explorer application; that is, "Microsoft Internet Explorer."

Syntax

object.Name

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowserApp


Parent Property

Description

Returns the form on which the WebBrowser control is located, or the automation object supported by Internet Explorer.

Syntax

object.Parent

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp


Path Property

Description

Returns a string that evaluates to the full path of the Internet Explorer application.

Syntax

object.Path

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowserApp


StatusBar Property

Description

Returns or sets a value that determines whether the status bar is visible.

Syntax

object.StatusBar [= value]

PartDescription
object Required. An object expression that evaluates to a WebBrowserApp object.
value Optional. A Boolean expression that determines whether the status bar is visible. If True, the status bar is visible; if False, it is hidden.

Applies To

WebBrowserApp

See Also

StatusText, StatusTextChange, ToolBar, Visible


StatusText Property

Description

Returns or sets the text for the status bar.

Syntax

object.StatusText [= value]

PartDescription
object Required. An object expression that evaluates to a WebBrowserApp object.
value Optional. A string that evaluates to the text for the status bar.

Applies To

WebBrowserApp

See Also

StatusBar, StatusTextChange


ToolBar Property

Description

Returns or sets a value that determines whether the toolbar is visible.

Syntax

object.ToolBar [= value]

PartDescription
object Required. An object expression that evaluates to a WebBrowserApp object.
value Optional. A Boolean expression that determines whether the toolbar is visible. If True, the toolbar is visible; if False, it is hidden.

Applies To

WebBrowserApp

See Also

StatusBar, Visible


Top Property

Description

Returns or sets the distance between the internal top edge of the WebBrowser control and the top edge of its container.

Syntax

object.Top [= value]

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.
value Optional. A long integer expression specifying distance.

Remarks

The Top property is measured in units depending on the coordinate system of its container. The values for this property change as the object is moved by the user or by code.

Applies To

WebBrowser, WebBrowserApp


TopLevelContainer Property

Description

Returns a Boolean value indicating whether the given object is a top-level container.

Syntax

object.TopLevelContainer

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp


Type Property

Description

Returns a string expression that specifies the type name of the contained document object.

Syntax

object.Type

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.

Applies To

WebBrowser, WebBrowserApp


Visible Property

Description

Returns or sets a value indicating whether Internet Explorer is visible or hidden.

Syntax

object.Visible [= value]

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.
value Optional. A Boolean expression specifying the visible state of Internet Explorer. If True, the window is visible; if False, it is hidden.

Applies To

WebBrowserApp


Width Property

Description

Returns or sets the horizontal dimension, in pixels, of the frame window that contains the WebBrowser control.

Syntax

object.Width [= width]

PartDescription
object Required. An object expression that evaluates to an object in the Applies To list.
width Optional. A long integer value specifying the horizontal dimension of the frame window, in pixels.

Applies To

WebBrowser, WebBrowserApp

See Also

Height

© 1996 Microsoft Corporation