Compartir a través de


IE.LaunchInternetExplorer Method

Definition

Overloads

LaunchInternetExplorer()

Launches Internet Explorerand returns the processor ID.

LaunchInternetExplorer(String)

Launches Internet Explorer and returns the processor ID.

LaunchInternetExplorer()

Launches Internet Explorerand returns the processor ID.

public:
 static int LaunchInternetExplorer();
public static int LaunchInternetExplorer ();
static member LaunchInternetExplorer : unit -> int
Public Shared Function LaunchInternetExplorer () As Integer

Returns

Returns the Internet Explorer process ID if successful, or 0.

Applies to

LaunchInternetExplorer(String)

Launches Internet Explorer and returns the processor ID.

public:
 static int LaunchInternetExplorer(System::String ^ url);
public static int LaunchInternetExplorer (string url);
static member LaunchInternetExplorer : string -> int
Public Shared Function LaunchInternetExplorer (url As String) As Integer

Parameters

url
String

Specifies the url to navigate to. Providing null will navigate the browser to the user's homepage.

Returns

Returns the Internet Explorer process ID if successful, or 0.

Remarks

Requires Vista; an Exception will be thrown for platforms prior to it.

Applies to