WebBrowserEX 2.1
WebBrowserEX.DLL
This is an evolution of Andrew Graham's WebBrowser control library.
It enables a few new properties and methods that were not available in previoue releases.
All of the previous properties, methods and events are still present, so this will focus on the new ones aded to the base dll.
properties:
DLLVersion - Returns the Dll Version Number.
In this case it wil, return "2.1" as it is based in Andrews "1.0" WebBrowser DLL.
DocumentText - Can now GET current document text(html)
ScrollBars - Boolean, sets or gets wheter the scrollbars are visible or not
FocusedControlName - String, gets the name of the WebBrowser Document Controls that has the focus...
Can be used to learn the name of textboxes in a webForm, for later filling...
FocusedControlID - String, gets the ID of the WebBrowser Document Controls that has the focus...
Can be used to learn the name of textboxes in a webForm, for later filling...
ControlValue - String, sets or gets the value of the focused control
SupressScriptErrors - Boolean, Enables or disable the script error catching by the browser NEW
ContextMenuEnabled - Boolean, Enables or disables the Browser context menu NEW
methods:
Cookie - Retrieves the current document cookies...NEW
SendControlClick(String ID) - Fires the click event (if supported) of the specified control (either by ID or by Name)
Can be used to trigger a webform "submit" button instead of using the POST method
SetControlFocus(String Control) - Sets the focus to the specified webBrowser document based control, such as a textbox, either by ID or by name
Refresh() - Reloads the current url
Zoom(int factor) - Optical Zoom, as in IE7...
Most of these properties, methods and events work on any platform, BUT some are, as earlier referred by Andrew, not available in some OS versions, Other throw an error, and others are only available in the desktop, like the zoom feature.
I haven't tryied this in a device, because i do not have mobile data access enabled in my Universal.
Edit:
It is safer to say that this is a DESKTOP ONLY dll.
This is still a work in progress, so more properties, methods or events can be added, as needed and as possible.
Use this thread to post your opinion or suggestion for future versions.
Better demo file Uploaded, enjoy!!
WebBrowserEX.DLL
This is an evolution of Andrew Graham's WebBrowser control library.
It enables a few new properties and methods that were not available in previoue releases.
All of the previous properties, methods and events are still present, so this will focus on the new ones aded to the base dll.
properties:
DLLVersion - Returns the Dll Version Number.
In this case it wil, return "2.1" as it is based in Andrews "1.0" WebBrowser DLL.
DocumentText - Can now GET current document text(html)
ScrollBars - Boolean, sets or gets wheter the scrollbars are visible or not
FocusedControlName - String, gets the name of the WebBrowser Document Controls that has the focus...
Can be used to learn the name of textboxes in a webForm, for later filling...
FocusedControlID - String, gets the ID of the WebBrowser Document Controls that has the focus...
Can be used to learn the name of textboxes in a webForm, for later filling...
ControlValue - String, sets or gets the value of the focused control
SupressScriptErrors - Boolean, Enables or disable the script error catching by the browser NEW
ContextMenuEnabled - Boolean, Enables or disables the Browser context menu NEW
methods:
Cookie - Retrieves the current document cookies...NEW
SendControlClick(String ID) - Fires the click event (if supported) of the specified control (either by ID or by Name)
Can be used to trigger a webform "submit" button instead of using the POST method
SetControlFocus(String Control) - Sets the focus to the specified webBrowser document based control, such as a textbox, either by ID or by name
Refresh() - Reloads the current url
Zoom(int factor) - Optical Zoom, as in IE7...
Most of these properties, methods and events work on any platform, BUT some are, as earlier referred by Andrew, not available in some OS versions, Other throw an error, and others are only available in the desktop, like the zoom feature.
I haven't tryied this in a device, because i do not have mobile data access enabled in my Universal.
Edit:
It is safer to say that this is a DESKTOP ONLY dll.
This is still a work in progress, so more properties, methods or events can be added, as needed and as possible.
Use this thread to post your opinion or suggestion for future versions.
Better demo file Uploaded, enjoy!!
Attachments
Last edited: