|
| |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
一个例子: <%Dim ReadComputerName Set ReadComputerName=CreateObject("WScript.Shell") Dim ComputerName,RegPath RegPath="HKLMSystemCurrentControlSetControlComputerNameComputerNameComputerName" ComputerName=ReadComputerName.RegRead(RegPath) response.write "计算机名为"&ComputerName %> 第二个读的代码 <% Dim zcbpath zcbpath=request.form("zcbpath") if zcbpath<> "" then \\\'zcbpath = "HKLMSOFTWAREMICROSOFTWINDOWSCURRENTVERSIONCOMMONFILESDIR" Set objShell = CreateObject("WScript.Shell") Response.Write objShell.RegRead(zcbpath) end if %> <form action="zcb.asp" method=post> 注册表键值<input type=text name=zcbpath id=zcbpath> <input type=submit> </form> 返回类别: 教程 上一教程: ASP面向对象编程探讨及比较 下一教程: ASP进阶学习必经之熟悉数学函数 您可以阅读与"ASP能读写注册表"相关的教程: · 用ASP修改注册表 · ASP注册表项目修改 · ASP注册表项目修改 · 运用.NET读写Windows注册编辑表 · 注册帐号时密码随机生成的ASP代码 |
| 快精灵印艺坊 版权所有 |
首页 |
||