Platforms to show: All Mac Windows Linux Cross-Platform

Back to IEWebBrowserMBS class.

IEWebBrowserMBS.Constructor(DesktopHTMLViewer as DesktopHTMLViewer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Constructor to get the browser for a HTMLViewer easily.

See also:

IEWebBrowserMBS.Constructor(HTMLViewer as HTMLViewer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Constructor to get the browser for a HTMLViewer easily.

See also:

IEWebBrowserMBS.GoBack

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Navigates backward one item in the history list.

IEWebBrowserMBS.GoForward

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Navigates forward one item in the history list.

IEWebBrowserMBS.GoHome

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Navigates to the current home or start page.

The user can indicate the URL to use for the home page from the Internet Options dialog box, which is accessible from the Tools menu of Windows Internet Explorer, or in the Control Panel.
Internet Explorer 7 and later. This method navigates to the first URL in the home tabs group.

IEWebBrowserMBS.GoSearch

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Navigates to the current search page.

The user can indicate the URL to use for the search page with the Internet Options dialog box, which is accessible from the Tools menu of Windows Internet Explorer, or in the Control Panel.
Internet Explorer 7 and later. GoSearch navigates to the default search provider. For more information, see Windows Search Guide.

IEWebBrowserMBS.Navigate(URL as string, Flags as Integer = 0, TargetFrameName as String = "", PostData as String = "", Headers as String = "")

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Navigates to a resource identified by a URL or to a file identified by a full path.

URL: The URL, full path, or Universal Naming Convention (UNC) location and name of the resource to display.
Flags: The combination of Navigate* constants.
TargetFrameName: Optional, the name of the frame in which to display the resource.
PostData: The post data that is sent to the server as part of a HTTP POST transaction. A POST transaction is typically used to send data gathered by an HTML form. If this parameter does not specify any post data, this method issues an HTTP GET transaction. This parameter is ignored if the URL is not an HTTP URL.
Headers: The text list that contains additional HTTP headers to send to the server. These headers are added to the default headers. For example, headers can specify the action required of the server, the type of data being passed to the server, or a status code. This parameter is ignored if the URL is not an HTTP URL.

The possible values for the TargetFrameName parameter are:
_blankLoad the link into a new unnamed window.
_parentLoad the link into the immediate parent of the document the link is in.
_selfLoad the link into the same window the link was clicked in.
_topLoad the link into the full body of the current window.
WindowNameA named HTML frame. If no frame or window exists that matches the specified target name, a new window is opened for the specified link.

IEWebBrowserMBS.Refresh

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Reloads the file that is currently displayed in the object.

This method is the same as clicking the Refresh button or pressing F5 in Windows Internet Explorer.
To save time and network bandwidth, the WebBrowser control and InternetExplorer application store pages from recently visited sites in cached memory on the user's hard disk. When you revisit a Web site, the page is reloaded from the local disk instead of being downloaded again from the server. To ensure that you are viewing the most current version of the page, you can force a fresh download by using the Refresh method. This method adds the "Pragma: No-cache" HTTP header to the request.

See also:

IEWebBrowserMBS.Refresh(Level as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Reloads the file that is currently displayed with the specified refresh level.

See also:

IEWebBrowserMBS.ShowDebugBar(NoScale as Boolean = false, x as Integer = 0, y as Integer = 0, width as Integer = 0, Height as Integer = 0, TopMost as Boolean = false) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.3 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Shows the DebugBar for the web viewer on Windows.

With DebugBar you can inspect HTML elements, see scripts and modify elements on the fly.
There is a JavaScript console to quickly edit something if needed.

Please download and install DebugBar extension for Internet Explorer:
https://www.debugbar.com

You may need to buy a license for it to use all features.

Known issues:

  • The toolbar has a gear button, where you can pick locations. Choosing a location there may crash the application.
  • If application runs on a screen with >100% scaling, the picker may not work correctly unless you pass 1 for Flags parameter, but then icons may be smaller.
  • HTTPs tab shows no data.
  • You may need to click reload in the DebugBar (orange arrow in toolbar) when switching to another page.
  • Running JavaScript works, but doesn't show errors or results.
  • The inspect element in context menu command does not work.

Returns true on success or false on failure.

NoScale: disable scaling on >100% screen.
TopMost: Put the window always on top of other windows.
X, Y, width and height allow to position the window. Default is near center of screen with 600x400 in size.

Some examples using this method:

IEWebBrowserMBS.Stop

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Stops loading.

Returns true on success and false on failure.

IEWebBrowserMBS.Zoom(factor as integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Zooms the web content.

Factor can be 50 for 50%.
Returns true on success.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...