OpenDefaultDownloadDialog

Description

Opens the default download dialog. This function will trigger the IsDefaultDownloadDialogStateChanged event.

Applies to

WebBrowser control

Syntax

controlname.OpenDefaultDownloadDialog()

Argument

Description

controlname

The name of the WebBrowser control.


Return value

Integer.

Returns 1 if the function succeeds and a negative value if an error occurs. If any argument's value is null, the method returns null.

Examples

This example opens the default download dialog.

int li_return

li_return = wb_1.OpenDefaultDownloadDialog()

See also

NavigateToString

CloseDefaultDownloadDialog