ASP中对注册表的操作
来源:互联网 发布:visa有什么用 知乎 编辑:程序博客网 时间:2024/04/29 18:39
Sub RegisterCrystalRuntimeSupportFile2
dim wsh,IsReg,RunStatus
set wsh=CreateObject("WScript.Shell")
on error resume next
IsReg=wsh.RegRead("HKLM/Software/ZXSOFT/MPS/IsRegister")
if IsEmpty(IsReg) then
RunStatus=wsh.Run(Server.MapPath("bin") & "/Register.bat",0,true)
if RunStatus=0 then
wsh.Regwrite "HKLM/Software/ZXSOFT/MPS/IsRegister","True","REG_SZ"
else
'Error
end if
else if lcase(IsReg)<>"true" then
RunStatus=wsh.Run(Server.MapPath("bin") & "/Register.bat",0,true)
if RunStatus=0 then
wsh.Regwrite "HKLM/Software/ZXSOFT/MPS/IsRegister","True","REG_SZ"
else
'Error
end if
end if
End Sub
- ASP中对注册表的操作
- C#中对注册表的操作
- TRegistry_delphi中对注册表的操作
- C#中对注册表的操作
- C#中对注册表的操作
- C#中对注册表的操作
- (轉)C#中对注册表的操作
- C#中对注册表的操作
- C#中对注册表的操作
- C#中对注册表的操作
- VC++ 中对注册表的操作
- C#中对注册表的操作
- C#中对注册表的操作
- VC++ 中对注册表的操作
- TRegistry_delphi中对注册表的操作
- C#中对注册表的操作 读写注册表方法
- 对注册表的操作
- C#对注册表的操作
- 难者不会,会者不难
- IE修改工具 不神秘
- 乔迁
- VC STL的list iterator P.J实现
- RedHat9.0下安装Oracle8i
- ASP中对注册表的操作
- j2ee程序员应该掌握的linux知识
- 人工智能技术的走向
- 用这个函数代替Request,可以防止SQL注入.
- C#中Base64之编码,解码方法
- The Programming Language Idioms
- Java用户界面本地化实例探索
- Windows Media Format SDK系统概述
- take me to your heart(translate into chinese in two edition)