Hello all,
Using Windows 11 x64, and I must maintain an old project.
I can't open dialogs with that OCX control embedded, but the application compiles and links properly and I can even execute the built exe without issues.
I have already copied MSCHRT20.OCX into C:\Windows\SysWOW64, launched an administrator privileged console window and executed "regsvr32 MSCHRT20.OCX" to register that OCX control.
Using an older Visual Studio version (2019) I can open the dialogs where that OCX is included without any problems.
If I build the program, I can execute it and see the control working.
But I can't modify the dialog because I can't open it from VS2022.
Summarizing:
- I have registered the MSCHRT20.OCX control.
- In VS2019 I can make changes and I have no issues.
- In VS2022 I can't open the dialogs on the resource view as it says:
---------------------------
Microsoft Visual Studio
---------------------------
The ActiveX control "Microsoft Chart Control, version 6.0 (OLEDB)" is not registered on this computer.
Register the control and try again.
---------------------------
OK
---------------------------
If the problem is that the control is not registered... why does it work with an older version of VS?
How would you get it working in the newer VS2022?
Thank you in advance!
What I have tried:
Registering the control.
Searching the Internet for information about the warning messagebox.
Ask for help here.