ShowWebBrowser Command

Displays the URL you specify in a Web browser window either within the integrated development environment (IDE) or external to the IDE.

View.ShowWebBrowser URL [/new][/ext]

Arguments

  • URL
    Required. URL (Uniform Resource Locator) for the Web site.

Switches

  • /new
    Optional. Specifies that the page appears in a new instance of the Web browser.

  • /ext
    Optional. Specifies that the page appears in the default Web browser outside of the IDE.

Remarks

The alias for the ShowWebBrowser command is navigate or nav.

Example

The following example displays the MSDN Online home page in a Web browser outside of the IDE. If an instance of the Web browser is already open, it is used; otherwise a new instance is launched.

>View.ShowWebBrowser https://msdn.microsoft.com /ext

See Also

Reference

Visual Studio Commands with Arguments

Command Window

Find/Command Box

Predefined Visual Studio Command Aliases