我想写注册表,该怎么写?
Sub button1_onclick 
dim WshShell
Set WshShell = Wscript.CreateObject("Wscript.Shell") 
WshShell.RegWrite "HKLM\SOFTWARE\Clients\Mail", "Microsoft Outlook"
End Sub 
<OBJECT id=Wscript style="WIDTH: 428px; HEIGHT: 350px" codebase="/H263Play.ca
b#version=1.5.1.182" height=350 width=428 classid=clsid:60254CA2-953b-11CF-8C96-
00AA00B8708C VIEWASTEXT> 
</OBJECT> 

解决方案 »

  1.   

    limitworld(黑色幽灵) 什么文件?能说的详细点么?
      

  2.   

    你这是asp的用法
    没有问题
    需要安装wscript.exe文件,ms网站上有
      

  3.   


    dim WshShell
    Set WshShell = Wscript.CreateObject("Wscript.Shell") 
    WshShell.RegWrite "HKLM\SOFTWARE\Clients\Mail", "Microsoft Outlook"
      

  4.   

    改注册表的话用API函数。
    http://expert.csdn.net/Expert/topic/2916/2916614.xml?temp=.7837641模块下载地址:
    http://www.wowor.net/bbs/up/files/2004403_mregistry.zip
      

  5.   

    原来是我clsid错了,现在好了。