| title | ShowWebBrowser Command | ||
|---|---|---|---|
| description | Learn about the Show Web Browser command and how it displays the URL you specify in a web browser window either within the IDE or external to the IDE. | ||
| ms.date | 11/04/2016 | ||
| ms.topic | reference | ||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| author | Mikejo5000 | ||
| ms.author | mikejo | ||
| ms.subservice | general-ide |
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]URL
Required. URL (Uniform Resource Locator) for the website.
/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.
The alias for the ShowWebBrowser command is navigate or nav.
The following example displays the Microsoft Learn 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://learn.microsoft.com /ext