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...
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...
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.
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
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...
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...
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 ;)
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...
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...
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...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.