Message = "You cannot forcibly convert a COM Object of the type" msscriptcontrol. scriptcontrolclass "to the interface type" msscriptcontrol. iscriptcontrol ". The reason for this operation failure is that calling QueryInterface for the COM component of the interface whose IID is {0e59f1d3-1fbe-11d0-8ff2-00a0d10038bc} fails due to the following error: the library is not registered. (The exception is from hresult: 0x8002801d (type_e_libnotregistered )). "
Solution:
1. Run-regsvr32 msscript. ocx
2. Run-regedt32.exe
3. In the Registry Editor, locate the hkcr \ typelib \ {0e59f1d2-1fbe-11d0-8ff2-00a0d10038bc} \ 1.0 \ 0 \ Win32 node.
4. Right-click the node and select "permission"
5. Change the administrative permissions to full control.
6. Change the default value of the node to c: \ windows \ system32 \ msscript. ocx, and remove the default quotation marks.
7. http://wenku.baidu.com/view/c9331d28bd64783e09122b97.html
8. CMD --> regsvr32 D: \ vbssplitter. ocx