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)}
oButton := ::oToolbar:AddItem()
oButton:Image := STD_IMAGE_FILEOPEN <-- line 263
Has anyone encounered this problem? mscomctl.ocx is registered on this computer. This toolbar is created for an XbpRtf object.
Regards
Piotr
Error in XbpToolbar
Error in XbpToolbar
- Attachments
-
- Error.png (7.84 KiB) Viewed 2103 times
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\regsvr32 /u mscomctl.ocx
%systemroot%\system32\regsvr32 mscomctl.ocx
exit
:64
%systemroot%\sysWOW64\regsvr32 /u mscomctl.ocx
%systemroot%\sysWOW64\regsvr32 mscomctl.ocx
Exit
and all works fine.
Regards
Piotr
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\regsvr32 /u mscomctl.ocx
%systemroot%\system32\regsvr32 mscomctl.ocx
exit
:64
%systemroot%\sysWOW64\regsvr32 /u mscomctl.ocx
%systemroot%\sysWOW64\regsvr32 mscomctl.ocx
Exit
and all works fine.
Regards
Piotr
Re: Error in XbpToolbar
jo,
i wonder that People still use M$ComCtl.OCX which is not Part of OS any more while have "Security" Problem
i wonder that People still use M$ComCtl.OCX which is not Part of OS any more while have "Security" Problem
greetings by OHR
Jimmy
Jimmy
Re: Error in XbpToolbar
Yes, Jimmy,
as you see, most people use XbpToolbar class, which is from XbpActiveXControl superclass.
Regards
Piotr
as you see, most people use XbpToolbar class, which is from XbpActiveXControl superclass.
Regards
Piotr
Re: Error in XbpToolbar
hi,
it is a (bad) Joke that Alaska still provide XbpToolbar() and XbpStatusbar() which are using MsComCtrl.OCX
i have wrote those Controls as "native" Version in my DXE LIB, which i have send Roger some Years ago
it use Ot4Xb so Roger have never release it with Express++
now using Xbase++ v2.x somebody can try to re-write it for "pure" Xbase++
so if somebody is interest, write me a Private Email so i can send Source of Control
it is a (bad) Joke that Alaska still provide XbpToolbar() and XbpStatusbar() which are using MsComCtrl.OCX
i have wrote those Controls as "native" Version in my DXE LIB, which i have send Roger some Years ago
it use Ot4Xb so Roger have never release it with Express++
now using Xbase++ v2.x somebody can try to re-write it for "pure" Xbase++
so if somebody is interest, write me a Private Email so i can send Source of Control
greetings by OHR
Jimmy
Jimmy
Re: Error in XbpToolbar
Anyone who is using eXpress++ had had DCTOOLBAR and DCSTATUSBAR for about 20 years now and this is all Xbase++ code.
The eXpress train is coming - and it has more cars.
Re: Error in XbpToolbar
But MsComCtrl.OCX is still needed to use with XbpRtf() (also DCRTF).
Re: Error in XbpToolbar
Yes it is. I didn't want to put a big investment of time into RTF.But MsComCtrl.OCX is still needed to use with XbpRtf() (also DCRTF).
The eXpress train is coming - and it has more cars.
Re: Error in XbpToolbar
Two times I incorporated third party features into eXpress++ and both times the developer failed to support his product.it use Ot4Xb so Roger have never release it with Express++
That is why I only incorporate features that are available in Xbase++ libraries.
The eXpress train is coming - and it has more cars.
Re: Error in XbpToolbar
hi,
btw, as i know MsComCtl.OCX use RTF v1.0
as i say i have almost every native Control in DXE LIB,
my DXE_RTF use "Riched20.dll"
if you like i can send you the Source of Class DXE_RTF()
p.s. only 1 x Source of 1 Control per User
Yes ... it is a Problem of Alaska while they never wrote a never Version as "native" Control of RTF
btw, as i know MsComCtl.OCX use RTF v1.0
as i say i have almost every native Control in DXE LIB,
my DXE_RTF use "Riched20.dll"
if you like i can send you the Source of Class DXE_RTF()
p.s. only 1 x Source of 1 Control per User
greetings by OHR
Jimmy
Jimmy