Recent content by JamesBowen

  1. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    Does Progress Developer Studio have a debug logs or something similar?
  2. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    Stupid question, but do I need to reference all the dependent .net assembly .dlls in the assemblies.xml? I've noticed that if you install a package using nuget option, it will also install all the dependent .dlls as-well.
  3. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    Adding -clrnetcore made no difference.
  4. JamesBowen

    How to get the HTTP response from cURL?

    Hi, I know that you have soled your issue, but I thought I would share my solution. This is just a fragment of the code but, hopefully it will give you some incite. AuthorizationHeader = SUBSTITUTE('Authorization: &1 &2':U...
  5. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    Purpose: Default handler for the HTTP GET method. The request being serviced and an optional status code is returned. A zero or null value means this method will deal with all errors...
  6. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    Where do I place the start up parameter for -clrnetcore? is this a global startup parameter for Developer Studio, or for the project instance?
  7. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    I'm looking at replacing the COM Automation of using MS Excel and using the ClosedXML. .net library. It looks like is going to do everything I need but I just can seem to get to all the listed namespaces, properties and methods in the class browser. Is the some sort of hidden trick when...
  8. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    This is the reason why. SetHeader() method was only expecting one parameter. FYI: OE 12.8.6
  9. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    I've figured it out. Not sure if this is the correct method, but it worked. DEFINE VARIABLE oResHeader AS OpenEdge.Net.HTTP.HttpHeader NO-UNDO. oResHeader = NEW OpenEdge.Net.HTTP.HttpHeader("Location","OAuthFailure.html"). oResponse:StatusCode...
  10. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    I've spent the last few hours trying to figure out how to do a simple URL redirect from the PASOE WebHandler. In the Classic WebSpeed I would do somthing like this: <SCRIPT LANGUAGE="SpeedScript"> PROCEDURE output-headers: OUTPUT-HTTP-HEADER("Status","302")...
  11. JamesBowen

    How to swap two variables : r/ProgrammerHumor

    Wait… what just happened? FUNCTION bitXOR RETURNS INTEGER (INPUT X AS INTEGER, INPUT Y AS INTEGER): DEFINE VARIABLE b1 AS INTEGER NO-UNDO. DEFINE VARIABLE b2 AS INTEGER NO-UNDO. DEFINE VARIABLE n AS INTEGER NO-UNDO. DEFINE VARIABLE Z AS INTEGER NO-UNDO. DO n = 1 TO 32...
  12. JamesBowen

    Scroll Bars in a window's frame (from v9.1e)

    I'm not saying this is the answer, but it might point you in the right direction. Place this code in the MAIN-BLOCK after the "RUN enable_UI.": Frame DEFAULT-FRAME:VIRTUAL-WIDTH-PIXELS = C-WIN:Width-pixels - System.Windows.Forms.SystemInformation:BorderSize:Width. Frame...
  13. JamesBowen

    Progress Instant Messaging Service

    I've toyed around with the idea of having a real-time messaging in a GUI App using MQTT. But, I lost interest due to lack of business requirement and really wanted to use an opensource .NET assembly the that had done all the hard work for me But, unfortunately due to the lack of multi-threading...
  14. JamesBowen

    11.7 vs. 12.8 OpenEdge.Net.HTTP client via proxy

    My mistake... I was using the 11.7 code. The "WriteStartLine" override method worked! BTW.. I also try using HAR tracing and crashed when output the when connecting to a proxy server. Separate issue to this.
  15. JamesBowen

    11.7 vs. 12.8 OpenEdge.Net.HTTP client via proxy

    This is my code and I think I've followed your instructions, but unfortunately I getting this error (See Bellow). /*------------------------------------------------------------------------ File : DefaultRequestFilterOverride Purpose : Syntax : Description ...
Back
Top