Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
manually registering srpcontrols64.ocx on windows 11 pc
Registering SRPControls64.ocx on win10 PC is OK, but try on windows 11 PC I get the following issue.
Registering the SRPEditor64.ox does not give an error.
Any clues?
I actually do all the registering of controls OI & SRP & 3rd party in a proc ( if 'run as admin) and this is the only issue thrown up.
Running the 'SRP_Controls_Install.exe' registration works.

Registering the SRPEditor64.ox does not give an error.
Any clues?
I actually do all the registering of controls OI & SRP & 3rd party in a proc ( if 'run as admin) and this is the only issue thrown up.
Running the 'SRP_Controls_Install.exe' registration works.

Comments
So, from a proc how do I get around that?
my code is:
ControlsOCXFolder ="c:\revsoft\oiclient10" RTI_OS_Directory( "CREATE", ControlsOCXFolder) //PBC stuff// directory = "ocxfilesForPBC" ControlsToReg64 = RTI_OS_Directory( "GETFILES", directory) Loop While ControlsToReg64 OcxFileName =ControlsToReg64[1,@fm] ControlsToReg64[1,col2()] ='' osread OcxFile from directory:'\':OcxFileName Then oswrite OcxFile to ControlsOCXFolder:"\":OcxFileName End repeat if msWin_IsUserAnAdmin() then ControlsToReg64 = RTI_OS_Directory( "GETFILES", directory) Loop While ControlsToReg64 OcxFileName =ControlsToReg64[1,@fm] ControlsToReg64[1,col2()] ='' yield() OcxFileNameExt =OcxFileName[-1,"B."] if OcxFileNameExt _eqc 'ocx' or OcxFileNameExt _eqc 'dll' then utility("RUNWIN","regsvr32 ":ControlsOCXFolder:"\":OcxFileName:" /s /u ",-1) utility("RUNWIN","regsvr32 ":ControlsOCXFolder:"\":OcxFileName:" ",-1) end Repeat t
Everything points to this being a working directory problem. For whatever reason, Windows 11 behaves differently than Windows 10. Kevin might have some pearls of wisdom to share tomorrow when he gets to his desk.
I do wonder if you could resolve the problem using SRP_Run_Command instead. It allows you to set the working directory.
Great idea, I will try that and report back.
We have also seen times when you need to invoke the 64bit version of regsvr32.exe which can be found under %windir%\SysWoW64\regsvr32.exe. I have only tried this manually or from a batch script but I don't see why you couldn't call full paths for both the regsvr32 and the SRPControls64.ocx.
vcredist_x64.exe worked
Me too, but that is truely what happened.
Obviously was not installed as the active x info issue (see latestest post) only worked after install.
I would be interested to hear what happens for you whenyou come aross a clean win 11 pc without the vcredist_x64.exe installed.