I am writing this to document my experience in case anyone else has the same problem.
On February 8, I was working on a .NET Framework 4.8.1 app that uses CreateObject to instantiate PowerPoint.Application. The app worked fine when I quit for the day.
As I went to shutdown my PC for the night, Windows Update told me that I had to restart because an update had been installed.
These updates were installed by Windows Update on Feb 8, 2024.
2024-01 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5034123)
2024-01 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 23H2 for x64 (KB5033920)
2024-01 .NET 6.0.26 Security Update for Client (KB5033733)
On the morning of Feb 9, I started up my PC then opened Visual Studio and started my app to do some more testing. The CreateObject statement in the app failed – “cannot create ActiveX component.”
After much troubleshooting, I solved the problem by uninstalling and re-installing Office 2019.