ActiveX crash in Visual LANSA editor after applying Windows 10 update
|Date:||3 December 2018|
|Product/Release:||Visual LANSA - All supported versions|
|Abstract:||Crash when accessing an ActiveX ProgId in Visual LANSA Editor after Windows 10 update|
|Submitted By:||LANSA Technical Support|
If you are using ActiveX and experiencing a crash while trying the scenario below, then you need to make a small change in your windows registry to avoid the crash.
Create a new ActiveX component.
Try to set the "ProgId" parameter from “Details” tab by clicking on "ProgId" prompter.
The IDE crashes trying to load the prompter and the list of ProgIds.
The problem is due to a non-standard key in the registry related to “Microsoft 3D viewer”. Windows update is installing this during updates to 3D Paint and other 3D related applications.
Removing this errant key does not disable the use of the 3D viewer and it will not damage your system, however the key may get re-enabled in future Windows updates. When this happens, you will need to re-do the steps below.
Find "PackagedCom" Key
Select it and Press F2 on the key name to rename. Put an "_x" at the end of key.
Deselect the key name by clicking somewhere else (on white space for example)
Close regedit and go back to IDE.
ActiveX loading "ProgId" should complete without any error.