go
Expand Minimize
1 out of 5 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.