-
Mar 11th, 2023, 05:27 AM
#1
Thread Starter
Lively Member
OrdoWebview2 ActiveX WebView2 Browser Control (Replacement of the MS browser control)
OrdoWebView2 ActiveX Control component
OrdoWebview2 is an ActiveX control (ocx). It replaces the aging VB6 webview control based on a deprecated Internet Explorer!
Microsoft's WebView2 control is a new component allowing you to include an Edge explorer, based on Chromium, in your own developments.
OrdoWebView2 uses Olaf Schmitt's RC6 framework
In fact, OrdoWebview2 is an ActiveX control interface to facilitate the task of developers who are more accustomed to an ActiveX control interface than to the manipulation of the RC6 Framework.
The installation kit, downloadable here, installs the Ocx, the RC6 framework (which is deployed side-by-side without registration) and a fixed version of Microsoft's WebView2 control.
It is of course possible to use the Evergreen version of WebView2 which is constantly updated.
This component is released as freeware and can be downloaded from https://freeware.ordoconcept.net/OrdoWebview2.php
Last edited by saturnian; Sep 20th, 2023 at 02:34 AM.
-
Aug 3rd, 2023, 11:36 AM
#2
Thread Starter
Lively Member
Re: OrdoWebview2 ActiveX WebView2 Browser Control (Replacement of the MS browser cont
a new version of the OrdoWebview2 component has been available since September
Version 2.0.6 (2023-09-16)
The control use :
- RC6 version 6.0.15
- WebView2
- Fixed version 117 : Windows 10, 11, Server 2016, Server 2019, Server 2022
- Fixed version 109 : Windows 7, 8, 8.1, Server 2012, Server 2008 R2
New Properties
New Methods :
SetShieldLevel : limits browsing to the domain contained in the URL entered, more or less drastically. Acts as a kind of addblocker.
GetShieldLevel : returns shield level.
GetShieldException : returns shield exceptions.
NavigateToFile : Load a file on disk and display it in the OrdoWebView2 browser.
FileSelect : Displays a file selector and loads the selected file from disk and displays it in the OrdoWebView2 browser
FileExist : Returns True if the file entered as parameter is present on disk
Add_WebResourceRequestedFilter : Adds a URI and resource context filter for the WebResourceRequested event
Remove_WebResourceRequestedFilter : Removes a matching WebResource filter that was previously added for the WebResourceRequested event.
Remove_All_WebResourceRequestedFilter : Removes all WebResource filters that was previously added for the WebResourceRequested event.
GetWebResourceRequestedFilter : returns the list of defined filters.
GetLocaleID : Returns a Long value that indicates the user's locale (language and country) ID.
New Events
ShieldChanged fired when the shield level is changed by the SetShieldLevel method.
WebResourceRequested : raised when OrdoWebView2 is performing a URL request to a matching URL and resource context filter that was added with Add_WebResourceRequestedFilter
Version 2.0.5
The control use :
- RC6 version 6.0.14
- WebView2
- Fixed version 114 : Windows 10, 11, Server 2016, Server 2019, Server 2022
- Fixed version 109 : Windows 7, 8, 8.1, Server 2012, Server 2008 R2
New Properties
New Methods :
- InitEx : extended version of the Init method. Allows you to :
- initiate browsing in private mode
- choose the user data directory of the browser.
- Set browser command line switches
- ...
- GetInnerText : returns the text content of the control, but also the cookies of the page, all the links of the page...
- GetInnerHTML : returns the HTML content of the control, but also the cookies of the page, all the links of the page...
New Events
- NavigationStarting : raised when the WebView main frame is requesting permission to navigate to a different URI.
Version 2.0.4
The control use :
- RC6 version 6.0.12
- WebView2 Fixed version 110
New Properties
New Methods :
- SetZoomFactor : sets the zoom factor for the page displayed in the control...
- RunJs : runs JavaScript code from the javaScript parameter in the current top-level document rendered in the Control (Replace JsRun)
- RunJsAsync : asynchronously runs JavaScript code from the javaScript parameter in the current top-level document rendered in the Control (Replace JsRunAsync)
New Events
- ZoomChanged : raised when the user change the browser zoom factor.
Last edited by saturnian; Oct 4th, 2023 at 05:23 AM.
-
Sep 20th, 2023, 04:11 AM
#3
Thread Starter
Lively Member
Re: OrdoWebview2 ActiveX WebView2 Browser Control (Replacement of the MS browser cont
A new version is released : 2.0.6 See post #2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|