请教高手!(控件路径问题)(50分)

  • 主题发起人 主题发起人 zhangbincat
  • 开始时间 开始时间
Z

zhangbincat

Unregistered / Unconfirmed
GUEST, unregistred user!
如何从注册表中读出控件的路径
 
给个注册表片段做参考:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}]
@="Microsoft Communications Control, version 6.0"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Control]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Implemented Categories]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Implemented Categories/{0DE86A52-2BAA-11CF-A229-00AA003D7352}]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Implemented Categories/{0DE86A53-2BAA-11CF-A229-00AA003D7352}]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Implemented Categories/{0DE86A57-2BAA-11CF-A229-00AA003D7352}]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Implemented Categories/{40FC6ED4-2438-11CF-A3DB-080036F12502}]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Implemented Categories/{40FC6ED5-2438-11CF-A3DB-080036F12502}]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Implemented Categories/{7DD95802-9882-11CF-9FA9-00AA006C42C4}]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/InprocServer32]
@="C://WINNT//System32//MSCOMM32.OCX"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/MiscStatus]
@="0"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/MiscStatus/1]
@="132497"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/ProgID]
@="MSCOMMLib.MSComm.1"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Programmable]

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/ToolboxBitmap32]
@="C://WINNT//System32//MSCOMM32.OCX, 1"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/TypeLib]
@="{648A5603-2C6E-101B-82B6-000000000014}"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/Version]
@="1.1"

[HKEY_CLASSES_ROOT/CLSID/{648A5600-2C6E-101B-82B6-000000000014}/VersionIndependentProgID]
@="MSCOMMLib.MSComm"

其中InprocServer32部分就记录有控件的文件路径
至于操作注册表,我想不用我多说了吧

 
后退
顶部