win7如何注册msscript.ocx



1.运行- Regsvr32 msscript.ocx
2.运行- regedt32.exe
3.在注册表编辑器中定位到 HKCR\Typelib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\0\Win32节点
4.右键该节点,选择“权限”
5.Administrators权限改为完全控制
6.更改该节点的默认值,改为C:\Windows\system32\msscript.ocx,去掉默认的引号。

Maybe this might be a crazy idea, but we can import those registry settings. I exported mine below. Just copy into a .reg file and run it.

 

http://board.homeseer.com/showthread.php?p=872627

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}]

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0]
@="Microsoft Script Control 1.0"

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\0]

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\0\win32]
@="C:\\Windows\\system32\\msscript.ocx"

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\FLAGS]
@="0"

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\HELPDIR]
@="C:\\Windows\\system32"


1.运行- Regsvr32 msscript.ocx
2.运行- regedt32.exe
3.在注册表编辑器中定位到 HKCR\Typelib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\0\Win32节点
4.右键该节点,选择“权限”
5.Administrators权限改为完全控制
6.更改该节点的默认值,改为C:\Windows\system32\msscript.ocx,去掉默认的引号。

Maybe this might be a crazy idea, but we can import those registry settings. I exported mine below. Just copy into a .reg file and run it.

 

http://board.homeseer.com/showthread.php?p=872627

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}]

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0]
@="Microsoft Script Control 1.0"

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\0]

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\0\win32]
@="C:\\Windows\\system32\\msscript.ocx"

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\FLAGS]
@="0"

[HKEY_CLASSES_ROOT\TypeLib\{0E59F1D2-1FBE-11D0-8FF2-00A0D10038BC}\1.0\HELPDIR]
@="C:\\Windows\\system32"


你可能感兴趣的:(C#)