Recent content by Cecil

  1. Cecil

    Resolved WebView2: How do I get the value of the element

    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...
  2. Cecil

    Calling function from .NET WebBrowser

    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.
  3. Cecil

    Resolved WinForms - Listbox list items paired values

    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...
  4. Cecil

    Resolved WinForms - Listbox list items paired values

    Thanks. That sort of helped. Shame there is no C#/VB.NET to ABL converter. It was still a bit of a rosetta stone excise in converting VB.NET to ABL
  5. Cecil

    Resolved WinForms - Listbox list items paired values

    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...
  6. Cecil

    Resolved WebView2: How do I get the value of the element

    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...
  7. Cecil

    Calling function from .NET WebBrowser

    Success: I also need to include in my propath WebView2Loader.dll.
  8. Cecil

    Calling function from .NET WebBrowser

    It’s almost like that the object is not getting instantiated correctly runtime.
  9. Cecil

    Calling function from .NET WebBrowser

    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...
  10. Cecil

    Example on how to calculate the week number of the year from a date

    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 )...
  11. Cecil

    Example on how to calculate the week number of the year from a date

    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...
  12. Cecil

    Example on how to calculate the week number of the year from a date

    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...
  13. Cecil

    Question Direct connect vs client/server.

    I agree with you. Shared Memory for TTY CHUI clients.
  14. Cecil

    Question Direct connect vs client/server.

    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...
  15. Cecil

    Server to Client

    Which version of progress are you using. Because there is a 64 bit of the PStimer.
Top