asp组件编写准备工作
最近在尝试用组件写asp,一些心得如下,不对之处请指正
经常要重启IIS,所以需要一个批处理的文件,将下面两行代码存为xxx.bat
net stop w3svc
net start w3svc
经常需要注册、卸载dll,所以需要在右键菜单中添加两行注册和反注册DLL项,将下面几行代码存为xxx.reg,注入注册表
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\注册]
[HKEY_CLASSES_ROOT\dllfile\shell\注册\command]
@="regsvr32 %1"
[HKEY_CLASSES_ROOT\dllfile\shell\反注册]
"Command"="regsvr32 %1 /u"
[HKEY_CLASSES_ROOT\dllfile\shell\反注册\command]
@="regsvr32 %1 /u"
经常要重启IIS,所以需要一个批处理的文件,将下面两行代码存为xxx.bat
net stop w3svc
net start w3svc
经常需要注册、卸载dll,所以需要在右键菜单中添加两行注册和反注册DLL项,将下面几行代码存为xxx.reg,注入注册表
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\注册]
[HKEY_CLASSES_ROOT\dllfile\shell\注册\command]
@="regsvr32 %1"
[HKEY_CLASSES_ROOT\dllfile\shell\反注册]
"Command"="regsvr32 %1 /u"
[HKEY_CLASSES_ROOT\dllfile\shell\反注册\command]
@="regsvr32 %1 /u"
相关推荐
tianhuak 2020-11-24
huha 2020-10-16
lianshaohua 2020-09-23
laisean 2020-11-11
zhangjie 2020-11-11
大牛牛 2020-10-30
firefaith 2020-10-30
liguojia 2020-10-20
wangzhaotongalex 2020-10-20
以梦为马不负韶华 2020-10-20
CARBON 2020-10-20
彼岸随笔 2020-10-20
lianshaohua 2020-10-20
yutou0 2020-10-17
JohnYork 2020-10-16
xiaonamylove 2020-10-16
Julyth 2020-10-16
applecarelte 2020-10-16
ourtimes 2020-10-16