Search found 124 matches: decode

Return to advanced search

Re: Convert

Dear Rao, Just out of curiosity, I haven't really delved into the question yet. But would JSON encode and decode also be an option? Best regards, Otto Even to encode into Json, we first need to convert the codeblock into a "text" string. How? The only function available ...
by nageswaragunupudi
Thu Sep 07, 2023 5:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert
Replies: 7
Views: 567

Re: Convert

Dear Rao,
Just out of curiosity, I haven't really delved into the question yet. But would JSON encode and decode also be an option?
Best regards,
Otto
by Otto
Wed Sep 06, 2023 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert
Replies: 7
Views: 567

Re: Reading QRCodes

... Then I read the content from file cFiletxt IF FILE( cFileTxt )   cLettura := MemoRead( cFileTxt )ENDIF  Dear Otto zbarimg scan and decode image that I pass in command line this is my last do_scan.bat "c:\Program Files (x86)\ZBar\bin\zbarimg" "P:\Misuratori Fiscali\QR ...
by MarcoBoschi
Tue May 23, 2023 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reading QRCodes
Replies: 8
Views: 539

Help with complex JSON

Hello Everyone, I have been having a heck of a time trying to decode the JSON code below. I am trying process the vessel calls in the ReadDataNew function below. When trying to process the data JSON at the end of this message, I get a BOUND error. I hoping ...
by cdmmaui
Tue Mar 21, 2023 1:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 1214

Re: Decode JSON - revisited

Thank you both for your responses. Enrico, your solution worked perfectly. JSON is so widely used now we all need to understand it fully. I find companies, however, output their responses in various JSON formats, so I will be studying the principles more closely. Antonino, I appreciate those alterna...
by TimStone
Wed Feb 15, 2023 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Decode JSON - revisited
Replies: 3
Views: 330

Re: Decode JSON - revisited

it works with [] operator too: ? hChgData["transactionResponse"]["cashier"] or ? hChgData["transactionResponse","cashier"] with hashes the $ operator works too: ? "transactionResponse" $ hChgData IMHO it is pretty cool for a b...
by AntoninoP
Wed Feb 15, 2023 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Decode JSON - revisited
Replies: 3
Views: 330

Re: Decode JSON - revisited

Try this:

Code: Select all  Expand view
? HB_HGET( HB_HGET( hChgData, "transactionResponse" ), "cashier" )
by Enrico Maria Giordano
Wed Feb 15, 2023 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Decode JSON - revisited
Replies: 3
Views: 330

Decode JSON - revisited

...     With other web responses I Decode the result ( into a hash ), and then use HB_HGET( ) to obtain the results. // Obtain and save the results   -or-   Parse the results by linehb_JsonDecode( ...
by TimStone
Wed Feb 15, 2023 12:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Decode JSON - revisited
Replies: 3
Views: 330

Re: Base64 to PDF

I use: cPdf = HB_BASE64DECODE( cTxt ) MEMOWRIT( "Test.Pdf", cPdf, .F. ) [/code] I don't get the correct pdf? if the same cTxt I decode in https://base64.guru/converter/decode/pdf I get the correct PDF. Best regards, Miloš look at the first post So I think the problem has nothing ...
by cnavarro
Wed Nov 16, 2022 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Base64 to PDF
Replies: 14
Views: 1062

Base64 to PDF

... I don't get the correct pdf? if the same cTxt I decode in https://base64.guru/converter/decode/pdf I get the correct PDF. Best regards, Miloš
by mtajkov
Tue Nov 15, 2022 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Base64 to PDF
Replies: 14
Views: 1062

Requirements for Hash Variables

I have written code to read a Json file, Decode it to an object and update a sql table. Works great, moved it to another program where it should reside and it can't read the hash variables. What are the requirements as far as CH files and are ...
by byron.hopp
Fri Aug 19, 2022 6:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Requirements for Hash Variables
Replies: 2
Views: 262

JSON with HTTPS: post

... with most of my vendors. cURL is the website, and once opened, I send the Parameters ( cData ). cRet contains the value which I pass as a hash to decode. There is NO PROBLEM with this, except with one vendor. They just changed their API, and although this method worked before, it is not now working. ...
by TimStone
Mon May 23, 2022 5:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: JSON with HTTPS: post
Replies: 28
Views: 1976

Re: How code obfuscation helps protect application data

... with and populated LOCAL cPassword := "12345678" SELECT 0 USE customers DBINFO( DBI_PASSWORD, cPassord ) can a skilled hacker to decode the content of customers.dbf ? perhaps even knowing the clipper world (dbfcdx = clipper) by downloading the source he can understand how encryption ...
by MarcoBoschi
Tue May 17, 2022 10:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How code obfuscation helps protect application data
Replies: 11
Views: 1368

Print to .PDF modifications FWHARU Help

... Print to .pdf with FWHARU. I have been asked to create 2 new additional managers in the Project Manager approval process. I have done my best to decode your BRILLIANT work .. but without any success. I sent you an e-mail a couple of says ago asking for your help ( code included ) .. what I need ...
by Rick Lipkin
Fri Apr 29, 2022 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print to .PDF modifications FWHARU Help
Replies: 2
Views: 262

Re: how to scan a barcode presents in a jpeg file

... a full example in C++, but we can simplify it very much: https://stackoverflow.com/questions/56068886/how-to-configure-c-zbar-scanner-to-decode-only-qr-code-data-type
by Antonio Linares
Thu Jan 20, 2022 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to scan a barcode presents in a jpeg file
Replies: 11
Views: 643
Next

Return to advanced search