Microsoft VBScript runtime error

A Microsoft VBScript runtime error occurs.ERROR MESSAGES: The following error is reported and there are no objects. : 'CommonDialog1'

Answer:

The unlicensed ActiveX control used in the function in which the error occurred is not registered or the registry may be corrupted.Follow the user guide "Chapter 18 Operation of Windows Client Applications" - "Deploy ActiveX Control to Application" to register.