IWebBrowser2::Path Property
Deprecated. Retrieves the system folder of the Windows Internet Explorer executable.
Syntax
HRESULT IWebBrowser2::get_Path(BSTR *Path);
Parameters
- Path
Pointer to a variable of type BSTR that receives the local file system path without executable name. The caller frees this buffer with the SysFreeString function.
Return Value
Returns one of the following values.
S_OK The operation completed successfully. E_FAIL The operation failed. E_OUTOFMEMORY There is insufficient memory to complete the operation.
Remarks
Internet Explorer 8 and later. Always returns an empty string.
The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.
See Also