Search found 129 matches

by Piotr D
Mon Aug 14, 2023 3:25 am
Forum: Xbase++ 2.0
Topic: Malfunction round()
Replies: 5
Views: 2079

Malfunction round()

Hi,
in some cases the function Round() gives wrong result. For example:
0.82*0.15*115.00 = 14.145
but round() of these value:
Round(0.82*0.15*115.00 ,2) gives 14.14 instead 14.15 !!!

Piotr
by Piotr D
Thu Jul 20, 2023 11:44 pm
Forum: eXpress++ Support
Topic: I NEED A UNIQUE NUMBER GENERATOR FUNCTION
Replies: 8
Views: 2741

Re: I NEED A UNIQUE NUMBER GENERATOR FUNCTION

Hi Joe, it depends on the scale of application of this uniqueness. If it's global, you need to use UUID. In Xbase++ you have UuidCreate() and UuidToChar() which convert binary uuid to characters (0-9 and a-f), then you need (self) convert a-f characters to value (with function ASC()) - but this will...
by Piotr D
Mon Jun 26, 2023 11:57 pm
Forum: eXpress++ Support
Topic: XML Signature
Replies: 17
Views: 8575

Re: XML Signature

Diego,
please install these setup.exe and runtime.msi from Alaska logged as administrator and logged as end user. This will solve your problem.

Piotr
by Piotr D
Sun May 14, 2023 10:38 pm
Forum: Zen and the art of Software Maintenance
Topic: Another Birthday!
Replies: 4
Views: 3622

Re: Another Birthday!

All the best, Roger, and most of all good health!
by Piotr D
Fri Mar 24, 2023 2:43 am
Forum: eXpress++ Support
Topic: CHILKAT
Replies: 6
Views: 2683

Re: CHILKAT

Hi Miguelon, you can try something like this: zip:=CreateObject("Chilkat_9_5_0.Zip") zip:NewZip(cArcFile) zip:PasswordProtect:=1 zip:EncryptPassword:=m_sigha() * capture callback slots zip:=zip:dynamicCast("ActiveXObject") FOR i := 1 TO LEN(aFileList) IF oPrzerwanoSignal:wait(1) // waiting for user'...
by Piotr D
Sun Jan 22, 2023 11:33 pm
Forum: Xbase++ Support
Topic: Information about EXE version
Replies: 5
Views: 2933

Re: Information about EXE version

Jimmy,
thanks for your tips. What I need is not only display this information but read into variable, like LoadResource(1,XPP_MOD_EXE,RES_VERSION). I will try

Piotr
by Piotr D
Fri Jan 20, 2023 1:45 am
Forum: Xbase++ Support
Topic: Information about EXE version
Replies: 5
Views: 2933

Information about EXE version

Hi,
how can I read from one Xbase application information about version of another Xbase application on the sam folder (another EXE file, compiled with ARC file with VERSION information)?

Piotr
by Piotr D
Tue Nov 22, 2022 11:49 pm
Forum: Xbase++ 2.0
Topic: How generate PDF as variable?
Replies: 2
Views: 2310

Re: How generate PDF as variable?

Hi Roger,
thanks for you tip - this way I know. But I search any way without creating a file. I find a DynamicPDF library, who can do it, but it's too expensive only for this purpose.

Regards
Piotr
by Piotr D
Tue Nov 22, 2022 6:29 am
Forum: Xbase++ 2.0
Topic: How generate PDF as variable?
Replies: 2
Views: 2310

How generate PDF as variable?

Hi,
how can I generate PDF without saving to a file? I need the content of PDF's as variable, while it must be base64 encoded.

Regards
Piotr
by Piotr D
Thu Aug 04, 2022 11:40 pm
Forum: Xbase++ 2.0
Topic: Validate XML with XSD schema
Replies: 10
Views: 7667

Re: Validate XML with XSD schema

Dear Diego, unable to find a library for Xbase to handle thisk task, I asked a friend to write a C# program. There are ready-made functions in C# to handle this task. The ready program is called by passing the XML file and the address of the XSD file as parameters. I get the validation effect back. ...