Hi, Pedro.
It's exactly the same result.
Convert PDF to Base64
Re: Convert PDF to Base64
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Convert PDF to Base64
2.0.1400
But there is no different behaviour in older versions of 2.0.
But there is no different behaviour in older versions of 2.0.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Convert PDF to Base64
Tom,
You're right.
Bin2Base64 works well.
My problem was this line of code.
Msgbox () is unable to display the string with the result.
Many thanks.
Note : Here in my country we have to start sending the invoices by EDI (Electronic Delivery Invoice) and this function is necessary to attach the Pdf to the file in UBL2.1.
You're right.
Bin2Base64 works well.
My problem was this line of code.
Code: Select all
cB64 := Bin2Base64( cStream )
MsgBox( 'CB64 ' + cB64 ,'PDF to Base64')
Many thanks.
Note : Here in my country we have to start sending the invoices by EDI (Electronic Delivery Invoice) and this function is necessary to attach the Pdf to the file in UBL2.1.
Pedro Alexandre
Re: Convert PDF to Base64
Hi Gradosic
I could not find the function - ToBase64() in OT4XB.DLL.
It is not equally available in the dll i downloaded from your link
I use ot4xb.dll a lot.
Thanks
Joe
I could not find the function - ToBase64() in OT4XB.DLL.
It is not equally available in the dll i downloaded from your link
I use ot4xb.dll a lot.
Thanks
Joe
Re: Convert PDF to Base64
hi,
https://blog.xbwin.com/
---
like Joe i can´t find ToBase64() in Ot4xb ...
i recommend only to use Files, with Source, direct from Pablo Botellagradosic wrote: ↑Tue Apr 20, 2021 4:12 am It's ot4xb library, you can find it on https://www.dll-files.com/ot4xb.dll.html..
https://blog.xbwin.com/
---
like Joe i can´t find ToBase64() in Ot4xb ...
greetings by OHR
Jimmy
Jimmy
Re: Convert PDF to Base64
There is no ToBase64() in OT4XB. That is/was an ASINET-function.
Use Bin2Base64() from Xbase++ directly or xbBase64Encode() from Xb2.Net.
Use Bin2Base64() from Xbase++ directly or xbBase64Encode() from Xb2.Net.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Convert PDF to Base64
Thanks Tom and Jimmy, that clarification is very necessary.
The xb2Net function works perfectly.
Joe
The xb2Net function works perfectly.
Joe