nativeBrowser - web automation property

Returns the native Internet Explorer browser object ( IWebBrowser2 ) represented by the current web automation library Browser object.

Applies to:
Browser
  var native = browserObj.nativeBrowser;
Arguments:
None.
Remarks:
With this IE automation property, get access to all methods and properties of the native IWebBrowser2 browser object from C#, VB.Net, VBScript web macros.
Example:
// Call StatusText native property.
var coreObj    = new ActiveXObject("OpenTwebst.Core");
var newBrowser = coreObj.StartBrowser("http://www.codecentrix.com/");
var nativeBrws = newBrowser.nativeBrowser;

nativeBrws.StatusText = "Status bar modified by web macro!";
		
See also:
Browser | nativeElement | nativeFrame

© 2017 CodeCentrix Software. All rights reserved.