Search found 130 matches

by Piotr D
Mon Apr 29, 2024 11:21 pm
Forum: Xbase++ 2.0
Topic: XbpHtmlViewer2 with XML/XSL file
Replies: 0
Views: 23

XbpHtmlViewer2 with XML/XSL file

Hi, with old XbpHtmlViewer which use old IE aciveX, when displaying XML file with XSL transformate file, al work fine. In Windows 10 and above, IE is deprecated, when I display these file with Edge, it's don't work. File is not displayed. However, it is possible to switch on in Edge "Allow sites to ...
by Piotr D
Tue Mar 12, 2024 12:26 am
Forum: eXpress++ Support
Topic: How can I change the PICTURE "99,999" from a numeric field to this PICTURE "9,999.9"
Replies: 2
Views: 614

Re: How can I change the PICTURE "99,999" from a numeric field to this PICTURE "9,999.9"

Hi Nolberto,
the simplest way is to double the DCGET like:

@ 1,1 DCGET nVar PICT "999,99" HIDE {|| nChoice=2}
@ 1,1 DCGET nVar PICT "9,999.99" HIDE {||nChoice=1}

Regards,
Piotr
by Piotr D
Mon Oct 16, 2023 1:24 am
Forum: Xbase++ 2.0
Topic: Error in XbpToolbar
Replies: 11
Views: 4049

Re: Error in XbpToolbar

But MsComCtrl.OCX is still needed to use with XbpRtf() (also DCRTF).
by Piotr D
Sat Oct 14, 2023 12:50 pm
Forum: Xbase++ 2.0
Topic: Error in XbpToolbar
Replies: 11
Views: 4049

Re: Error in XbpToolbar

Yes, Jimmy,
as you see, most people use XbpToolbar class, which is from XbpActiveXControl superclass.

Regards
Piotr
by Piotr D
Thu Oct 12, 2023 5:16 am
Forum: Xbase++ 2.0
Topic: Error in XbpToolbar
Replies: 11
Views: 4049

Re: Error in XbpToolbar

Solved! The problem is identical like in 2012, described: http://support.microsoft.com/kb/2597986 Runnig this batch as administrator: REM delete bad register reg delete hkcr\typelib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0 /f if exist %systemroot%\SysWOW64\cscript.exe goto 64 %systemroot%\system32...
by Piotr D
Thu Oct 12, 2023 1:15 am
Forum: Xbase++ 2.0
Topic: Error in XbpToolbar
Replies: 11
Views: 4049

Error in XbpToolbar

Hi, one of my customer report an error. This is only on computer with Office2022 (upgrade from Office2013). On another computers works fine. The line in program with error is: ::oToolbar:LoadImageSet( XBPTOOLBAR_STDIMAGES_SMALL ) ::oToolbar:ButtonClick := {|oButton| ::ToolButtonClick(oButton)} oButt...
by Piotr D
Sun Aug 27, 2023 11:05 pm
Forum: eXpress++ Support
Topic: FacturaE
Replies: 2
Views: 1672

Re: FacturaE

For digital signing I use Chilkat library (ActiveX). It's very helpful and gives additional tools when building a signature.
Regards
Piotr
by Piotr D
Tue Aug 15, 2023 11:23 pm
Forum: Xbase++ 2.0
Topic: Malfunction round()
Replies: 5
Views: 2379

Re: Malfunction round()

Hi all,
I found another solution. This easy trick solve the problem :)
instead Round(x,n) ---> Round(Val(Str(x)),n)

Regards
Piotr
by Piotr D
Tue Aug 15, 2023 2:53 am
Forum: Xbase++ 2.0
Topic: Malfunction round()
Replies: 5
Views: 2379

Re: Malfunction round()

Hi all,
I found that these problem was described under PDR 6678. When I add in ARC file under VERSION:
"FPU_ControlWord" = "626"

this problem was solved.

Regards
Piotr
by Piotr D
Tue Aug 15, 2023 2:08 am
Forum: Xbase++ 2.0
Topic: Malfunction round()
Replies: 5
Views: 2379

Re: Malfunction round()

Wolfgang,
these function don't solve problem. For example:
x=14.144966
Round(x,2) will be 14.14
and RoundZ(x) will be 14.45.

To get the correct result of multiple multiplication of a non-integer values, we need round after each multiplication.

Piotr