Shell.Application property

Contains the object's Application object.

This property is read-only.

Syntax

objApplication = Shell.Application

Property Application As Object

Property value

A variable of type IDispatch that receives the Application object.

Remarks

The Application property returns the automation object supported by the application that contains the WebBrowser control, if that object is accessible. Otherwise, this property returns the WebBrowser control's automation object.

Use this property with the Set and CreateObject commands or with the GetObject command to create and manipulate an instance of the Windows Internet Explorer application.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (version 4.71 or later)