ASP讀寫注冊表_ASP教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
推薦:ASP技巧:判斷遠(yuǎn)程圖片是否存在以下為引用的內(nèi)容: function CheckURL(byval A_strUrl) set XMLHTTP = Server.CreateObject("Microsoft.XMLHTTP") XMLHTTP
一個(gè)例子:
| 以下為引用的內(nèi)容: <%Dim ReadComputerName Set ReadComputerName=CreateObject("WScript.Shell") Dim ComputerName,RegPath RegPath="HKLM\System\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName" ComputerName=ReadComputerName.RegRead(RegPath) response.write "計(jì)算機(jī)名為"&ComputerName %> |
| 以下為引用的內(nèi)容: <% Dim zcbpath zcbpath=request.form("zcbpath") if zcbpath<> "" then 'zcbpath = "HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\COMMONFILESDIR" 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實(shí)現(xiàn)IE地址欄參數(shù)的判斷當(dāng)?shù)刂窓跊]有參數(shù)"id"時(shí): 以下為引用的內(nèi)容: Request.QueryString["ID"] == null Convert.ToString(Request.QueryString["ID"]
相關(guān)ASP教程:
- asp FSO 讀寫文件本文件實(shí)現(xiàn)代碼
- asp中isNull、isEmpty和空字符串的區(qū)別
- asp獲取用戶真實(shí)IP地址的方法
- asp連接sqlserver數(shù)據(jù)庫實(shí)現(xiàn)代碼
- asp中正則表達(dá)式過濾html代碼函數(shù)
- asp中g(shù)et post提交表單區(qū)別
- 網(wǎng)頁模板:ASP內(nèi)建對象Request
- xmlhttp的open方法使用詳解
- ASP的常用的自定義函數(shù)大全
- asp中用for循環(huán)的一個(gè)小技巧
- eWebEditor v3.8 列目錄
- ASP無組件分頁實(shí)現(xiàn)思路及代碼
- 相關(guān)鏈接:
- 教程說明:
ASP教程-ASP讀寫注冊表
。