Resolved!
I needed a time waist routine to check when the task has been completed.
@VisualDesigner.
method private void webView21_NavigationCompleted( input sender as System.Object, input e as Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs ):
define variable...
I copied WebView2Loader.dll into the working directory with the other three dll:
Microsoft.Web.WebView2.Core.dll
Microsoft.Web.WebView2.WinForms.dll
Microsoft.Web.WebView2.Wpf.dll
I did try and add WebView2Loader.dll to the assembly.xml, but it errored so I guess that was not required.
If anyone is interested here is my working code.
A snippet of the code see attached for a full example.
method private void InitializeComponent( ):
...
/* */
/* lbItems */
/* */
this-object:lbItems:FormattingEnabled = true...
The native behaviour of a MS List box is to allow single list items.
I have found a solution on statckoverflow, but I unsure how to translate the C# into ABL.
https://stackoverflow.com/questions/28874596/bind-listkeyvaluepair-to-combobox...
I would like to get the value of an element in a web page using WebView2 web control.
I have been successful in setting an HTML element's value.
I have the above code working, but I just can't figure out how to get the actual value.
I have tried using the result property (which is meant to...
I had another crack at the MS WinView2 in the Developer Studio 11.7.11 (64bit). Using the following instructions:
https://knowledgebase.progress.com/articles/Knowledge/How-to-add-the-Microsoft-WebView2-assembly-to-OpenEdge-Developer-Studio
But it shows nothing and no errors. Has anyone been...
This seems to do the trick. It seems that you need to do a hack.
// SOURCE https://docs.microsoft.com/en-us/dotnet/api/system.globalization.calendar.getweekofyear?view=net-6.0
using System.*.
using System.Globalization.*.
function getWeekNumber returns integer (input pDateTime as datetime )...
Same code as above, but it overrides the system's default 'CalendarWeekRule'.
// SOURCE https://docs.microsoft.com/en-us/dotnet/api/system.globalization.calendar.getweekofyear?view=net-6.0
using System.*.
using System.Globalization.*.
function getWeekNumber returns integer (input pDateTime...
If you are using Windows as your OS then you can use the .NET inbuilt methods for getting the week number.
// SOURCE https://docs.microsoft.com/en-us/dotnet/api/system.globalization.calendar.getweekofyear?view=net-6.0
using System.*.
using System.Globalization.*.
function getWeekNumber...
Years ago we did some performance testing found the shared memory was ~33% quicker.
We then adopted the AppServer an much as possible.
I have work at an enterprise organisation where the desktop application we exclusively Appserver which meant that we could utilise OpenEdge 10.1B WebClients...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.