Recent content by Osborne

  1. O

    problem with multiple power bi connections causing error broker

    As Rob has posted the "the gateway" could be the cause, but if a Power BI issue then a bit of extra information. When we added Power BI we encountered the exact same problems reported in this thread despite the number of connections/servers/brokers settings being what we thought was high...
  2. O

    Question Show value when loading progressbar, in richTextBox1

    Can duplicate the problem and think I know what you require. Put this extra line in the setrichTextBox1value method: THIS-OBJECT:Refresh()..
  3. O

    Question Show value when loading progressbar, in richTextBox1

    That seems to suggest that something extra is happening that is clearing the rich text box. It could be the components are being reinitialized or the setrichTextBox1value method is being called again by something else which is passing a blank value. From what you have posted neither of these...
  4. O

    Question Show value when loading progressbar, in richTextBox1

    I am not sure of the actual problem as it appears you are showing the value in the rich text box:- THIS-OBJECT:richTextBox1:Text = ipvalue. Is the problem that you want to show all the previous values because currently it is only showing the previous value passed? If so, then does something...
  5. O

    I don't want window code rearranged

    Yes, as you can see from here, Thomas Wurl from Taste IT Consulting identified the problem and a fix and a case was opened but as yet still no official fix: https://community.progress.com/s/question/0D74Q000008HoP7SAK/detail
  6. O

    Get month name when input month number

    Cecil, for a .NET solution your example is a good one as it shows it can be achieved with just a single line of code: MESSAGE System.Globalization.CultureInfo:CurrentCulture:DateTimeFormat:GetMonthName(3) VIEW-AS ALERT-BOX INFORMATION. I had previously been using something similar to this...
  7. O

    Upgrade from 9.1E to 12.8 (Windows)

    As far as I know the operation of temp-tables has not changed much/at all between versions 9 and 12, and the error you are getting is expected as the temp-table names are both the same. It may have been allowed in version 9 but not later versions. Change the name for the new defined temp-table...
  8. O

    How to use font after creating it at runtime

    The only options I know of is as per this article: https://community.progress.com/s/article/18493 Or something similar to this very old code snippet from many years ago: DEFINE VARIABLE Font1 AS INTEGER INITIAL 1. DEFINE VARIABLE Font2 AS INTEGER INITIAL 2. DEFINE VARIABLE FontSelect AS...
  9. O

    Question How do I use Windows Hello Authentication (Windows.Security.Credentials)

    Yes, this seems to be hidden deep as there is no indication of where it can be found. I do not know if what is posted here is any help: https://stackoverflow.com/questions/44093544/how-to-install-windows-security-credentials-c-sharp-net-vs-2017
  10. O

    SELECT-NEXT-ROW returns true when on last row of browse

    These things are never easy! So I am guessing the problem is that the CTRL-TAB is only applying to the master window and not others? Is it possible in the master window you can get a handle to either the procedures, window or browse and if so set a CTRL-TAB specific trigger to the handle...
  11. O

    SELECT-NEXT-ROW returns true when on last row of browse

    For a generic context you could iterate through the browse columns and check that way: DEFINE VARIABLE brws-col-hdl AS HANDLE NO-UNDO. DEFINE VARIABLE browse-hdl AS HANDLE NO-UNDO. DEFINE VARIABLE i AS INTEGER NO-UNDO. browse-hdl = BROWSE bwsItem:HANDLE. DO i = 1 TO browse-hdl:NUM-COLUMNS...
  12. O

    SELECT-NEXT-ROW returns true when on last row of browse

    Never used SELECT-NEXT-ROW so not sure the best solution. One idea is to check what has focus and if a cell then remove focus. A really rough example only but hopefully it gives some ideas: ON CHOOSE OF cmdSelectNextRow IN FRAME fMain /* SELECT-NEXT-ROW */ DO: DEF VAR rv AS LOGICAL NO-UNDO...
  13. O

    OS-COMMAND Won't Run With a Variable Path

    Use the VALUE function: OS-COMMAND SILENT VALUE(cDir4Control + "HT\Website.bat").
  14. O

    Question How to receive a handle in an External Procedure

    As Cecil posted, I think LONG is what you are looking for. I have rarely interacted with DLL's but I have seen examples like these: PROCEDURE GetSysColor EXTERNAL "user32.dll": DEFINE INPUT PARAMETER nIndex AS LONG. DEFINE RETURN PARAMETER iWinColor AS HANDLE TO LONG. END. PROCEDURE...
  15. O

    Question Error “System.ObjectDisposedException: Cannot access a disposed object.”

    With what I had to do and what you have found it does seem to suggest that the FormClosing method requires some actions to solve.
Top