Export (0) Print
Expand All
go
Expand Minimize

ShowBrowserUI method

Opens the specified browser dialog box.

Syntax

var retval = external.ShowBrowserUI(bstrName, pvarIn);

Parameters

bstrName [in]

Type: String

A String that specifies a browser dialog box, using one of the following values.

LanguageDialog

Opens the Language Preference dialog box.

OrganizeFavorites

Opens the Organize Favorites dialog box.

PrivacySettings

Internet Explorer 6 and later. Opens the Privacy Preferences dialog box.

ProgramAccessAndDefaults

Windows XP SP1 and later. Opens the Set Program Access and Defaults dialog box.

pvarIn [in]
C++A pointer to a Variant that is specific to the UI.
JavaScriptNull value.

Return value

Type: Variant

Variant. Return value is determined by the dialog box.

Standards information

There are no standards that apply here.

Remarks

In Microsoft Internet Explorer 5, a new "PrivacySetting" option allows access to the Privacy Preferences dialog box.

Examples

This example uses the ShowBrowserUI method to open a particular dialog box when a button is clicked.


<button onclick="window.external.ShowBrowserUI('LanguageDialog', null)">Show Language Dialog</button>
<button onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)">Show Organize Favorites</button>

See also

external

 

 

Show:
© 2014 Microsoft