Solving TRIM installation errors

How to repair certain errors during TRIM installation

 
Encountered errors during installation of SRIM (to run TRIM) on Windows 11:
Error n. 1:

To solve the problem with missing version of Visual Basic 5, open ‘SRIM-Setup’ folder within the extracted SRIM directory and install VB5 using MSVBvm50.exe.

 

Error n. 2:

To solve the error with missing ‚richtx32.ocx‘, download it from: 
https://www.majorgeeks.com/files/details/richtx32_ocx.html
Or copy from the folder ‚SRIM-Setup‘ file ‚RichTx32.ocx‚ into 
C:\Windows\SysWOW64 and rename it to ‚richtx32.ocx‘Open the Command Prompt as Administrator. Do not use Windows Terminal or PowerShell. Type in the following:

regsvr32.exe %systemroot%\syswow64\RICHTX32.OCX
 
Error n. 3:
To solve a ‚blinking‘ main screen when lunching ‚TRIM‘, change in Windows settings in Region the format to the ‚Angličtina (Spojené státy)‘ 
Error n. 4:
To solve the error with missing comdlg32.ocxcopy ‚ComDlg32.ocx from the folder ‚SRIM-Setup‘ into C:\Windows\SysWOW64 and rename it to comdlg32.ocx. Then run the command line as administrator and write there: 

regsvr32 C:\Windows\SysWOW64\comdlg32.ocx
Error n. 5:
To solve the error with missing MSFLXGRD.ocxcopy ‚MSFlxGrd.ocx from the folder ‚SRIM-Setup‘ into C:\Windows\SysWOW64 and rename it to MSFLXGRD.ocx. Then run the command line as administrator and write there: 

regsvr32 C:\Windows\SysWOW64\MSFLXGRD.ocx
 
After solving all these 5 errors, it should be possible to run TRIM simulations on Windows 11.