LaunchBrowserDialog Method

Launches a dialog box in which a user can enter a URL.

See Also | Example

Signature

RetVal = object.LaunchBrowserDialog (SelectedURL,

DialogTitle, OpenButtonCaption, StartPageURL, RegistryRootKey, OpenButtonAlwaysEnabled)

Object

Utility
The object or objects this method applies to.

SelectedURL

String; output-only
The URL selected.

DialogTitle

String; input-only
The title to be displayed in the dialog box.

OpenButtonCaption

String; input-only
The caption for the OK/Open button.

StartPageURL

String; input-only
An initial URL to be displayed.

ReigstryRootKey

String; input-only
Product root key for storing persistent dialog box information. This key specifies where information about the size, position, and other preferences information of the dialog box can be stored across sessions. Input an empty string to disregard this functionality.

OpenButtonAlwaysEnabled

Boolean; input-only

TRUE: The Open button is enabled, allowing a file or link to be selected.

FALSE: The Open button is disabled and is only enabled when the user selects a file for download.

RetVal

Boolean

TRUE: The dialog box was opened successfully.

FALSE: The dialog box did not open successfully.

Remarks

The last parameter, OpenButtonAlwaysEnabled, determines whether the user can select HTML links in addition to files that can be downloaded.

 

   Comments?