REGEDIT4; This adds the ability to Right-Click on a .dll or .ocx
; and get the Register / UnRegister options.
;
; If it doesn't work for you, mail me and tell me about it.
; Jon Evans <[email protected]>; ==========
; .DLL files
; ==========[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"[HKEY_CLASSES_ROOT\dllfile\Shell\注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="regsvr32.exe \"%1\""[HKEY_CLASSES_ROOT\dllfile\Shell\取消注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""; ==========
; .OCX files
; ==========[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"[HKEY_CLASSES_ROOT\ocxfile\Shell\注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="regsvr32.exe \"%1\""[HKEY_CLASSES_ROOT\ocxfile\Shell\取消注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""; End加到右键菜单是写注册表的
看看这个注册表就该知道了
; and get the Register / UnRegister options.
;
; If it doesn't work for you, mail me and tell me about it.
; Jon Evans <[email protected]>; ==========
; .DLL files
; ==========[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"[HKEY_CLASSES_ROOT\dllfile\Shell\注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="regsvr32.exe \"%1\""[HKEY_CLASSES_ROOT\dllfile\Shell\取消注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""; ==========
; .OCX files
; ==========[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"[HKEY_CLASSES_ROOT\ocxfile\Shell\注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="regsvr32.exe \"%1\""[HKEY_CLASSES_ROOT\ocxfile\Shell\取消注册控件\command]
;[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""; End加到右键菜单是写注册表的
看看这个注册表就该知道了
解决方案 »
- 高分求 用网卡加密的 代码或思路
- 关于FSO对象的两个问题,MoveFolder和WriteLine/Write操作时出错[代码见帖内]!!!
- 太简单的问题,真不好意思问,如何给一个字符串赋值,让它成为aaa"aaa"aaa这个样子
- 急啊!!!在线等,如何用sendmessage发送回车键。答出立即加50分结帐。
- 给新年第一个回贴人(幸运儿)的200分
- 这样的图我应该怎么打,尽快结贴
- 高分请教,关于对查询的记录进行打印和报表显示的问题!!!!
- VB+SQL2000的程序中要求对数据库中的部分敏感数据进行加密,如何做?
- 谁知道有什么软件可以制作汉化补丁呀!!
- 如何使用API函数使用目录框的浏览,并能指定默认打开的目录?
- 请问在vbscript中能不能调用用c写的函数?
- 请问怎样做才能使文字垂直居中排列于控件表面
驱动器为Driver下键值都可以更改的
http://www.applevb.com/sourcecode/vbcontextmenu.zip
利用VB实现Windows外壳扩展中的上下文菜单,参见压缩包中的Readme.txt文件。