Click to return to the Reusing Browser Technology home page    
Width Property     ClientToWindow Method     Reference for Visual Basi...    
Web Workshop  |  Reusing Browser Technology

WebBrowser Methods


This section describes the methods associated with the WebBrowser control.

ClientToWindow Converts the client coordinates of a point to window coordinates. Client coordinates are relative to the upper-left corner of the client area; window coordinates are relative to the upper-left corner of a window.
ExecWB Executes a command on an OLE object and returns the status of the command execution using the IOLECommandTarget interface.
GetProperty Retrieves the current value of a property associated with the given object.
GoBack Navigates backward one item in the history list.
GoForward Navigates forward one item in the history list.
GoHome Navigates to the current home or start page, as specified in the Microsoft® Internet Explorer Options dialog box and Internet Control Panel.
GoSearch Navigates to the current search page, as specified in the Microsoft® Internet Explorer Options dialog box and Internet Control Panel.
Navigate Navigates to the resource identified by a Universal Resource Locator (URL) or to the file identified by a full path.
Navigate2 Navigates to the resource identified by a Universal Resource Locator (URL) or to the file identified by a full path. The Navigate2 method extends the Navigate method to support browsing on special folders—such as Desktop and My Computer—that are represented by a pointer to an item identifier list (PIDL). However, this is not applicable to the Visual Basic® programming language. For information on this functionality, see the Using the WebBrowser Control from C/C++ section.
PutProperty Sets the value of a property associated with the given object.
QueryStatusWB Queries an OLE object and returns the status of commands using the IOLECommandTarget interface.
Quit Closes the Microsoft® Internet Explorer application.
Refresh Reloads the page currently displayed in the WebBrowser control.
Refresh2 Reloads the page currently displayed in the WebBrowser control. Unlike the Refresh method, this method contains a parameter that specifies the refresh level.
ShowBrowserBar Shows or hides a specified browser bar.
Stop Cancels any pending navigation or download operation and stops any dynamic page elements, such as background sounds and animations.


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.