Search results

  1. J

    Question Save mails produced by smtpmail.p

    I'd go with the MIME format. MIME - Wikipedia
  2. J

    Answered Saving a structuref procedure take to much time

    the file has "compile on save" set. would it be somewhat related to compilation? if you remove this flag, is it still slow?
  3. J

    Question More ergonomic view

    Salut Vivien What technology are you using for the GUI development? Is it the basic Progress UI defined through the Appbuilder or something else? Could also be ADM1 or ADM2, or "outside" of the Progress world, like a .Net UI? If yes then there is a browse object there (not treeview-browse, only...
  4. J

    Class

    Hi Your local sales representative should be able to offer you classes or give you pointers Regards
  5. J

    PDF Reports with progress ABL

    Why not use pdfInclude then?
  6. J

    how to convert a output file or text file to pdf using openedge progress without using pdf include

    great! for any question about pdfInclude do not hesitate to send them to me :)
  7. J

    Get Image Dimensions

    I finally found the method I wrote: METHOD STATIC PUBLIC VOID getPictureInfo ( pImage AS CHARACTER ,OUTPUT opcType AS CHARACTER ,OUTPUT opiWidth AS INTEGER ,OUTPUT opiHeight AS INTEGER): DEFINE VARIABLE mImage AS MEMPTR NO-UNDO. DEFINE VARIABLE iPos AS...
  8. J

    Get Image Dimensions

    Great! It's a pity the .Net/AVM bridge is only available on Windows (much more now that .Net core has been made available as free software and works e.g. on Linux); cannot use it myself as I'm doing portable code which must work accross OSes.
  9. J

    Get Image Dimensions

    Hello Baltazar Not that I know of. You have to parse the header (according to the image format, jpeg, png, gif, bmp...) and extract the dimensions from there. What type of image do you need to have the dimensions for? ++ JC
  10. J

    how to convert a output file or text file to pdf using openedge progress without using pdf include

    Hi To read a file, you do a repeat loop, and import the lines one by one. like that: INPUT FROM c:/path/file.csv. REPEAT IMPORT cLine. /* here do something with the value of cLine, e.g. you can split it into the fields in the csv line using ENTRY for example */ END. INPUT CLOSE. Please...
  11. J

    how to convert a output file or text file to pdf using openedge progress without using pdf include

    you have in samples/super an example of table generation. you can copy it and modify it. The code is commented so you will be able to understand and adapt it. in order to fill the temp-table, you can read from your file instead of doing "FOR EACH Customer". See the query just below "/* Build my...
  12. J

    how to convert a output file or text file to pdf using openedge progress without using pdf include

    great! now please tell in a few words what is your expected result in the pdf. you want the contents of the csv file as-is, or a "pretty" table?
  13. J

    how to convert a output file or text file to pdf using openedge progress without using pdf include

    So please first run and have the samples/super/hello.p working - you have to add the pdfinclude folder to PROPATH. This will produce a pdf with the hello world sentence. then come back here ;)
  14. J

    how to convert a output file or text file to pdf using openedge progress without using pdf include

    Hi Just changing the file extention will not change its content, so if it is originally a csv, this won't magically transform it into a pdf. Are you already using pdfInclude? Did you try downloading the v3.3 from oehive? As it is a csv, I guess you want to transform the data in the csv file into...
  15. J

    how to convert a output file or text file to pdf using openedge progress without using pdf include

    if you have any problem using pdfInclude then I can help ;)
  16. J

    Question AES CBC encryption

    Hi For pdf encryption in pdfInclude I'm using just: mEncrypted = ENCRYPT(p_Original, rEncryptKey, rInitVector, "AES_CBC_256"). // or "AES_CBC_128" for 128 bits keys with none of the "security-policy" settings above, and this works. So somewhat this must conform to the standards... How is your...
  17. J

    Kill all windows except menu

    Well almost there ;) If you can identify all your windows, e.g. if they are in their own directory, let's say "mywin", I'd go with something like (not tested): DEFINE VARIABLE hProc AS HANDLE NO-UNDO. DEFINE VARIABLE hNextProc AS HANDLE NO-UNDO. hProc = SESSION:FIRST-PROCEDURE. hNextProc...
  18. J

    Kill all windows except menu

    Would something using hProc = session:first-procedure and hProc = hProc:next-sibling, filtering on the hProc:file-name, then DELETE PROCEDURE hProc when it matches, work?
  19. J

    Share-lock Significance

    Same use of share-lock here, to implement mutexes. Should be documented in the KB :D (may be it is)
Back
Top