2023/01/06 release 1.1.236 * New functionality: * AntView interface Properties - SynchronousTimeOut Methods - AddWebResourceRequestedFilter - CreateWebResourceRequest - CreateWebResourceResponse - CreateWebViewSync - NavigateSync - NavigateToStringSync - RemoveWebResourceRequestedFilter Events - OnAcceleratorKeyPressed - OnWebResourceRequested * AntViewDocument interface Methods - RequestCurrentText - RequestCurrentTextSync - RequestPrint - RequestPrintSync Events - OnRequestCurrentText - OnRequestPrintCompleted * AntViewNewWindowRequestedEventArgs interface Properties - Deferral - New AntViewDeferral interface to be able to postpone destroying of objects so you can complete tasks Method - Complete Events - OnDestroy - New AntViewPhysicalKeyStatus to assist with OnAcceleratorKeyPressed Properties - IsControlKeyDown - IsExtendedKey - IsKeyReleased - IsMenuKeyDown - IsShiftKeyDown - RepeatCount - ScanCode - WasKeyDown Events - OnDestroy - New AntViewWebResourceRequestedEventArgs interface to assist with OnWebResourceRequested and Filters Properties - Deferral - Request - ResourceContext - Response Events - OnDestroy - New AntViewWebResourceResponse interface to assist with AntViewWebResourceRequestedEventArgs interface Properties - Headers - ReasonPhrase - StatusCode - DefaultInterface Events - OnDestroy * Bugfix/Changed behavior - Fix installer issue trying to register 64 bit version of AntView when running on a 32 bit operating system. - The logging functionality now supports more detailed logging by setting LogMode to level 2. At level 2 more details are logged such as URL's and all the triggered events. It does not include sensitive information such as certificates or html contents (unless you NavigateToString). - The help documentation has been revised to include more details and be easier to navigate. 2022/07/14 release 1.1.200 * New functionality: * AntView interface - OnDOMContentLoaded/OnDOMContentLoadedHex - OnFrameCreated - New AntViewFrame interface for directly interacting with iframes. Properties: - Destroyed - IDispatchPointer - Name Methods: - BrowserDispatch - ExecuteScript - PostWebMessageAsJson - PostWebMessageAsString Events: - OnContentLoading - OnContentLoadingHex - OnDestroy - OnDestroyed - OnDOMContentLoaded - OnDOMContentLoadedHex - OnExecuteScript - OnNameChanged - OnNavigationCompleted - OnNavigationCompletedHex - OnNavigationStarting - OnWebMessageReceived - Added AntViewNavigationStartEventArgs2 for extending the navigation structure data: - AdditionalAllowedFrameAncestors, which is used by iframes. * AntViewDocument interface - FrameDispatch, this method allows you to connect the document interface to an iframe object. * AntViewDownloadOperation interface - OnDestroy event * AntViewWebResourceResponseView interface - OnDestroy event * Bugfix/Changed behavior - The Synchronous methods from the document interface cannot be run from within an event due to the nature of how it works. This now returns an error indicating the reason instead of just locking up. - Fixed AntViewNavigationStartEventArgs.RequestHeaders - returning a boolean value via runAnonymousFunction would crash the control. This has been fixed by also supporting boolean return value and casting that to a string. Also extended exception handling on this so that the control no longer crashes if it cannot cast the result to a string. - OnPermissionRequested was broken as state did not work as expected. 2022/05/27 release 1.1.174 * New functionality: - The AntViewDocument interface now has synchronous wrapper functions for each asynchronous function available. This makes it easier to use as well as opens this functionality to environments such as PowerBuilder and OpenText Gupta Team Developer. - RequestElementValueByIdSync - RequestElementValueByNameSync - RequestCurrentHtmlSync - SetElementValueByIdSync - SetElementValueByNameSync - RequestFormSubmitByIdSync - RequestFormSubmitByNameSync - RunAnonymousFunctionSync - SynchronousTimeOut property * Bugfix/Changed behavior - Setting UserAgent property is now also cached, so that you can set it before the WebView2 control has been created. - NavigateWithWebResourceRequest now supports setting headers * Demo - Added a PowerBuilder demo. 2022/05/11 release 1.1.164 beta Changes, the following 3 items are described in "Important Changes in AntView 1.1" on the website. ( https://antview.dev/releases/important-changes-in-antview-1-1/ ) - Changed the default value of the CreateWebViewOnCreate property from "True" to "False". - Changed OnNavigationCompleted and OnFrameNavigationCompleted event as it was missing the NavigationId parameter. - Changed all IUnknown method parameters from IUnknown to the exact interface so that VB6 can use that. * New functionality: - Added an extra set of methods & events for VB6 as it does not have Int64 support. Other environments such as Visual FoxPro and PowerBuilder also benefit from this. For the events you have to set the EventsUseHexadecimal property to switch to use VB6 compatible events. * OnNavigationCompletedHex * OnFrameNavigationCompletedHex * EventsUseHexadecimal * NextFocusWindowHandleUInt * PreviousFocusWindowHandleUInt - Also for VB6 added an alternative method for the CurrentBrowser property in the AntViewDocument interface via new method BrowserDispatch, which then can be connected via the new property IDispatchPointer. - New properties * DownloadDialogCornerAlignment * AdditionalBrowserArguments * AllowSingleSignOnUsingOSPrimaryAccount * Language * TargetCompatibleBrowserVersion - New methods * MoveFocus - New events: * OnDownloadStarting (download management) * OnNewWindowRequested (new window event handling) * OnPermissionRequested (permission request handling) * OnClientCertificateRequested (client certificate support) * OnProcessFailed (failure handling) * OnPrintToPdfCompleted (Pdf printing completed) * manually assigning focus (MoveFocus) - a global object to use for setting global settings: * CreateWebViewOnCreate * EventsUseHexadecimal * UnlockControl * UserDataFolder * WebView2LoaderPath * DownloadDialogCornerAlignment * AdditionalBrowserArguments * AllowSingleSignOnUsingOSPrimaryAccount * Language * TargetCompatibleBrowserVersion * Demo - We now have created a new excel file per demo and added dynamic resizing on startup so that the demo looks good at 100% DPI as well as at 150% DPI. - Added a Visual Basic 6 demo. 2022/03/08 release 1.0.111 * Bug Fix: - Fix for fullscreen switch, when you switch back it would show a title bar in the control, this was not the intention. * New functionality Properties: - Get/Set WebView2LoaderPath property, this way you can provide a different path for where the webview2Loader.dll resides - Get/Set BrowserAcceleratorKeysEnabled property, enable/disable browser specific accelerator keys - Get/Set GeneralAutofillEnabled property, autosave/autofill general forms enabled/disabled - Get/Set PasswordAutosaveEnabled property, save passwords in a form automatically or not Methods: - PrintToPdf, allows you to print the contents of the current document to a pdf file. * Demo - The DataFlex demo shows how-to use PrintToPdf in EdgeWebBrowserDemo.vw - The DataFlex demo now has prettier buttons. - The Excel demo was designed for high DPI (at 150% DPI) and that made it look really weird on 100% DPI. Screens have been adjusted to 100% DPI. - The Excel demo has a new form that shows how-to dynamically create the browser control. - There's a very early example on how-to use the control in Visual Fox Pro. * Various - We're now bundling the WebView2loader.dll version 1108.44, we strongly recommend to use this newer dll. - When the WebView2loader dll is loaded, it will now check on loading if the bitness matches. If the control tries to load a 64 bit DLL in a 32 bit process it will now show a clear error message. Same for trying to load a 32 bit DLL in a 64 bit process. - When you enable logging it will now log more details and on errors it will log the windows error. - Several properties were ignored if set/get before the WebView2 control was loaded. This is now addressed for the following properties: DefaultContextMenusEnabled, BrowserAcceleratorKeysEnabled, BuiltInErrorPageEnabled, DefaultScriptDialogsEnabled, DevToolsEnabled, ScriptEnabled, StatusBarEnabled, WebMessageEnabled, ZoomControlEnabled. - A demo license is now only installed when using the installer. This helps to make it more clear if the control is properly licensed during deploy. 2021/11/29 release 1.0.88 * Bug Fix: - Fix a double free on OnWebMessageReceived under certain circumstances when the user sends a JSON message. - Fix for Visual Basic. Moved all "WebView not instantiated" errors to LastErrorMessage instead of throwing an error and return false for the properties or empty string. This fixes an issue with not being able to save changes in VB6. * New functionality: Properties: - Get/Set UserAgent property - Get LastErrorMessage property - VersionString property - get AntView VersionString Methods: - OpenDevToolsWindow - Open the developer tools window programmatically - AddDevToolsProtocolEventReceived - add an event to listen for in the DevTools Protocol - RemoveDevToolsProtocolEventReceived - remove an event to listen for in the DevTools Protocol - CallDevToolsProtocolMethod - send an event via the DevTools Protocol. Events: - OnDevToolsProtocolEventReceived - receiving an event via the DevTools Protocol. - OnCallDevToolsProtocolMethod - event that returns the result asynchronously after using CallDevToolsProtocolMethod Other new functionality: - Added an icon for Antview that is used in the ToolBox of VB6 and other development tools. - On the developer machine where AntView was installed, the control will now first load the WebView2Loader.dll from the default installation location of AntView. This way it will always match the supplied set by us and you don’t need to worry about copying in WebView2Loader.dll into your development environment. You do still need to take care of the DLL dependency during deployment. This also means that during development it will automatically load the dll with the correct bitness. - A logging feature has been added for troubleshooting purposes. This is only active after activation via a registry setting. See the documentation (Deployment -> Troubleshooting) for details. * Installer: - During install, the installer will look for Excel AntViewAx.exd cache files of the interface and try to delete those. This should make it easier to use new functionality added to the control when you update. * Demo: - Typo in the DataFlex WebMessage Demo, Post JSON button is using PostWebMessageAsString instead of PostWebMessageAsJson - WebMessage demo: Serialize the JSON in the html before displaying it. - The Excel demo now also has a webmessage example. - Added MapLocalFolderToHostName example to the WebBrowserDemo. 2021/11/10 release 1.0.74 * Bug Fix: Fixed a hang when using Tab or Shift+Tab to navigate out of the Antview control. * New functionality: - OnWebMessageReceived - PostWebMessageAsJson - PostWebMessageAsString - SetVirtualHostNameToFolderMapping - ClearVirtualHostNameToFolderMapping - PreviousFocusWindowHandle - NextFocusWindowHandle * Installer: Don't install the examples under user account, but instead under all users as it caused issues on some windows server versions when not installing as administrator, after UAC the examples got installed in a non accessible area. * Help documentation: - Generate Source package in Dataflex - Deployment * Demo - Small improvements to the DataFlex demo. A new view that displays how webmessage works and an example for how-to set custom focus behavior when you navigate out of the control with Tab or Shift-Tab key. 2021/09/06 release 1.0.68 - AntViewDocument interface did not check if EventSink was wired before calling an event. This has been fixed (this was only an issue for Excel) - Added DefaultUserDataFolderLocation property, the default location is now set to be under the user temp folder. For more details see: https://doc.antview.dev/hs61.htm - The Events OnExecuteScript and OnCreateWebviewCompleted used data type HRESULT and as that's an unsigned long, VBA would not work. Changed it to variable names HResult and passing as long instead. (this change has no effect for DataFlex) - Updated the installer script, uninstall now unregisters the activex controls. - Improvements to the help documentation. - Small improvements to the DataFlex demo. For example, displaying time left on the demo license, fix url by inserting protocol if the user types a website in the browser demo. Reset output to zero in the exchangeResult demo. - Added a new demo for Microsoft Excel, where the demo's run via Visual Basic for Applications. 2021/08/25 release 1.0.63 - Updated the installer script as it did not put the help file in the correct spot in the start menu (expected was AntView .. reality was Vimarun .. oops). So now you can find the windows help file too. 2021/08/24 release 1.0.62 - Added functions for licensing, DemoDaysLeft, UnlockStatus, UnlockControl. - Changed EDGEWEBVIEW2_WEB_ERROR_STATUS_ error constants to wes, eg. EDGEWEBVIEW2_WEB_ERROR_STATUS_UNKNOWN is now wesUnknown, which is more in line with the rest of the code. - Added event onScriptDialogOpening. - The UserDataFolder logic now uses the default Microsoft logic for creating a default caching folder. This means that by default it will create a folder named {app.exe}.WebView2 folder. This is because 2 separate applications hosting the WebView2 control cannot share the same caching folder. This is configurable (see the help). - Removed beta logic - Changed the product name from AntEdgeWebBrowser to AntView as the former is too hard to pronounce. - Renamed EdgeWebBrowser itself to AntView - For all the classes the "EdgeWebView2" part in their names has been renamed to "AntView". - Last minute name changes on a few functions to make them a closer match with the native .net interface from Microsoft. This should make it easier to find help online and not get confused by different naming schemes. - Removed LoadHtml function, as it did not set the referer contrary to promise, so it is better to use NavigateToString instead. - The OnExecuteScriptResult event is now called OnExecuteScript (shorter=better) - Added new logo & website - Wrote installer - Wrote first version of help - Updated demo's to use new name of the control, fixed a localisation issue in the ExchangeRates demo view. 2021/07/25 release 1.0.44, Tech Preview 2 The following changes have been made since version 1.0.33 TP expiration date: August 21, 2021 Changes in the demo: - new exchange rate view - new ratings control view - load from string view now disables right click options and developer mode (Function key F12) Changes in the control: Major new feature: - The document interface now has a function for using anonymous javascript functions. This makes it easy to pass parameters to your javascript functionality and to track the asynchronous events that pass back the results. Added support for the following events: - OnContainsFullScreenElementChanged - OnContentLoading - OnFrameNavigationCompleted - OnFrameNavigationStarting - OnSourceChanged - OnWindowClosedRequested - OnZoomFactorChanged - OnSetElementValueByName - OnRequestElementValueByName - OnRequestFormSubmitByName - OnRunAnonymousFunction Added support for the following properties: - WindowClosedRequestEnabled - CreateWebViewOnCreate - UserDataFolder, so you can change the location of the cache folder - WebResourceResponseReceivedEnabled property so you can determine if all responses are parsed by default or not (default is not) - AnonymousFunctionReturnParams, set it to pass back the parameters to your result event as well (default false) Added support for the following methods: - CreateWebView - CloseWebView - CloseBrowserProcess - RequestFormSubmitByName - RunAnonymousFunction changed: - EdgeBrowserWebResourceResponseReceived, added extra error checking - RequestFormSubmit to RequestFormSubmitById - OnSetElementValue to OnSetElementValueById - OnRequestElementValue to OnRequestElementValueById - OnRequestFormSubmit to OnRequestFormSubmitById - OnCreateWebviewCompleted, added parameter result removed: - OnStringContent, this turned out to be a cause of instability for our control and while it certainly was cool to see every text file contents loaded in your URL to come flow past, I doubt it has much practical use. For now it has been removed as a non reliable feature is not a good feature.