I think ActiveX was pretty much COM-Objects embedded in a web-browser. This was Microsoft's competing product to Java Applets, and it was only ever supported in Internet Explorer, and only on Microsoft Windows. Not even Microsoft Edge supports ActiveX, so its a "dead" technology. The same goes for Java Applets.
So, if you want to develop web applications, then it's all HTML5 + JavaScript nowadays!
As far as "traditional" Desktop applications are concerned: If you want to develop for Windows-only, then probably Microsoft.NET with the Windows Presentation Foundation (WPF) is the "modern" way to go. If you want your application to be cross-platform, or if Microsoft.NET is not your thing, then definitely look at the available cross-platform GUI toolkits, such as Qt, WxWidgets or GTK+. I have much love for Qt framework ❤️
Thank you very much Kigar64551 and George P for your advise. I asked this question because I already knew Chrome and Edge had deprecated the use of ActiveX controls.
Then based on your advice I'll use WPF to turn an old monolithic application into a new modular Windows-only project.
Very thankful.
You do know that Visual Studio, NOT Visual Studio Code, has components for doing cross-platform coding using C++, right? Android and Linux support components along with a Google Android emulator is available for a manual install.
There is no need to do Windows-only.
Whether you can craft an app that can run on multiple platforms, I can't say, honestly. I don't do that type of thang.
Installing those cross-platform components, of course, requires manually installing the C++ workload (and possibly other Win C++ components).
To modify your VS install simply rerun the VS installer and select the "Modify" button. Select the components tab and have a go at what's available.