Share via


_Application.FeatureInstall Property

Returns or sets how Microsoft PowerPoint handles calls to methods and properties that require features not yet installed. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property FeatureInstall As MsoFeatureInstall
    Get
    Set
'Usage
Dim instance As _Application
Dim value As MsoFeatureInstall

value = instance.FeatureInstall

instance.FeatureInstall = value
MsoFeatureInstall FeatureInstall { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoFeatureInstall

Remarks

You can use the msoFeatureInstallOnDemandWithUI constant to prevent users from believing that the application is not responding while a feature is being installed. Use the msoFeatureInstallNone constant with error trapping routines to exclude end-user feature installation.

Note

If you refer to an uninstalled presentation design template in a string, a run-time error is generated. The template is not installed automatically regardless of your FeatureInstall property setting. To use the ApplyTemplate(String) method for a template that is not currently installed, you first must install the additional design templates. To do so, install the Additional Design Templates for PowerPoint by running the Microsoft Office installation program (available by clicking the Add/Remove Programs icon in Windows Control Panel).

The value of the FeatureInstall property can be one of these MsoFeatureInstall constants.

Constant

Description

msoFeatureInstallNone

The default. A trappable run-time automation error is generated when uninstalled features are called.

msoFeatureInstallOnDemand

A dialog box is displayed prompting the user to install new features.

msoFeatureInstallOnDemandWithUI

A progress meter is displayed during installation. The user is not prompted to install new features.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.PowerPoint Namespace