Search results

  1. Cecil

    Force a pdf download in Webspeed

    Use the copy-lob statement to read the file and write to memptr. THen use the memprt to write to the webstream. set-size(memptrPDF) = 0. COPY-LOB FROM FILE infile TO object memptrPDF. {&OUT-LONG} memptrPDF. set-size(memptrPDF) = 0.
  2. Cecil

    Force a pdf download in Webspeed

    Try this. I've incaptulated the in procedure "outputeader". REF: https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/aswsp%2Foutputheader.html%23 <SCRIPT LANGUAGE="SpeedScript"> {src/web/method/wrap-cgi.i} DEFINE STREAM infile. DEFINE VARIABLE vdata AS RAW NO-UNDO...
  3. Cecil

    Question How do I pass the required parameters for this .NET class object?

    Sorry, I had to give up on developing a .NET/serial port API. Openedge is just not multi threaded and won’t work directly with .NET using the serial communication. :( Possible solution is to write a custom .NET wrapper which will basically convert the multi threaded process to single threaded.
  4. Cecil

    Error Problem in reading XML using dataset

    Did you change the cFile variable to point to your XML file location?
  5. Cecil

    Error Problem in reading XML using dataset

    A method I use is to convert the XML to XSD. Then use the xsdto4gl OpenEdge utility.
  6. Cecil

    Error Problem in reading XML using dataset

    11 minutes of coding...Minimal testing...Zero optimization i.e. Indices Since you are using XML as a data source, I opted for XML-NODE-NAME attribute rather than the SERIALIZE-NAME. Let us know how you got on. DEFINE VARIABLE lReturn AS LOGICAL NO-UNDO. DEFINE VARIABLE cSourceType...
  7. Cecil

    Error Problem in reading XML using dataset

    If I have time this evening I can look at it and come up with suggestions. Is it possible for the XML to change it structure or the XML provided to you from some other external source?
  8. Cecil

    Why space when formatting a logical value.

    Thanks Tom. I have never noticed this until today. I could argue that this is a bug, but what’s the point as it is possibly the “expected behaviour”. I just will have to go and edit every string function that is formating a logical value.
  9. Cecil

    Why space when formatting a logical value.

  10. Cecil

    color change xml

    Unfortunately, you are unable to set the colour of the button using BGColor attribute. Create custom images for the background https://community.progress.com/community_groups/openedge_general/f/26/t/35268
  11. Cecil

    PDFInclude paid version

    I'm a big fan of wkhtmltopdf output your document to an html file and include CSS, web fonts and your graphics JPEG/PNG/SVG. Features Including: Cover Sheet Table of Content Page Numbering Windows or Linux command line interface High Res. Also, it free!!! Plays nicely with with WebSpeed...
  12. Cecil

    Progress kbase acting strange?

    TomBascom you are the "Knowledge Base".
  13. Cecil

    Question Extent fields and date calculation failure. Looking for the original thread.

    Also, just to add a curve ball, the issue only happens in the application and cannot be reproduced from the IDE.
  14. Cecil

    Question Extent fields and date calculation failure. Looking for the original thread.

    Found it. EXTENT argument is a field in a DB query. Terminates from session - Forum - OpenEdge Development - Progress Community
  15. Cecil

    Question Using WebSpeed as a REATful API Web Service Famework

    Well I could be wasting my time . I found this today. progress/Spark-Toolkit
  16. Cecil

    Question Extent fields and date calculation failure. Looking for the original thread.

    I *think* the real problem is having an inline calculation inside the extent [ ] position value when being using inside a query statement. We have the workaround solution which is just better coding style, but we would like to know if this is a known issue from Progress.
  17. Cecil

    Question Extent fields and date calculation failure. Looking for the original thread.

    Hi all. Sorry in advance for not giving more information, I'm trying to do write this post from memory I remember seeing a thread either on the progresstalk.com or community.progress.com last year relating to 11.7.x and extent fields not working correctly in a query statement. As I remember...
  18. Cecil

    Question Using WebSpeed as a REATful API Web Service Famework

    This is working on classic/traditional webspeed. The issue is licensing. The added cost to move to PAS has been the bottle neck to upgrading.
  19. Cecil

    Debugging in a CHUI

    Can you use "-debugalert", or is that not going to work?
  20. Cecil

    Question Using WebSpeed as a REATful API Web Service Famework

    I'm working on a personal project using WebSpeed to emulate a RESTful Web Service and it's working quite well. It replicates the OpenEdge REST service with having a simple framework. Also, the HTTP BASIC & DIGEST authentication is also handled by the framework. My question is...is there...
Top