油猴脚本首页下载样

各个部分所出现的顺序是无关紧要的,在每一个部分里,各个关键词的顺序同样也无关紧要strMachines="24.11.246.125:2406;61.252.60.30:68660;64.161.10.2:3128;65.23.157.55:80;66.229.103.146:5089;68.6.240.207:2521;68.103.105.108:2384;70.160.84.18:2332;71.74.23.52:2220;71.207.239.136:2653;72.187.78.76:2413;76.177.94.222:2569;122.103.185.182:8080;122.197.130.107:2556;128.8.126.111:3128;128.8.126.112:3128;128.112.139.71:3124;128.112.139.71:3128;128.112.139.71:68660;128.119.247.210:8888;128.119.247.211:3128;128.208.4.197:8888;128.208.4.198:3124;128.227.56.82:3128;128.252.19.20:68660;129.24.17.70:3128;129.186.205.77:3128;129.237.161.193:8888;129.237.161.194:8888;138.23.204.133:3124;140.247.60.123:8888;140.247.60.126:8888;160.36.57.173:8888;165.228.129.10:3128;165.228.132.10:3128;169.229.50.3:3128;169.229.50.5:3128;169.229.50.12:3124;169.229.50.12:3128;169.229.50.12:68664;199.89.182.6:80;203.178.133.2:3128;203.178.133.3:3124;203.178.133.3:3128;203.178.133.11:68660;203.198.162.124:8080;206.207.248.34:3124;206.207.248.34:3128;209.197.110.17:80;210.20.67.152:8080;210.125.84.16:3128;216.104.190.179:80;218.5.79.200:80;218.58.136.14:808;221.152.139.220:8080;59.186.67.28:8080;125.142.138.208:2613;210.76.97.79:80;218.152.54.154:8080;12.218.111.15:2356;24.222.80.248:2574;58.71.35.206:8080;60.190.99.218:19759;61.86.48.162:8080;61.252.60.30:3124;61.252.60.30:3128;62.231.243.136:66;62.231.243.137:66;67.164.134.61:2426;67.165.179.84:2495;74.122.236.78:2510;74.129.4.44:2251;76.98.35.94:2303;76.210.118.129:2533;81.211.88.94:3128;82.77.21.83:2263;85.82.145.250:8080;85.214.37.22:3128;122.47.159.72:2400;128.8.126.111:68660;128.10.19.53:8888;128.31.1.11:8888;128.31.1.13:8888;128.31.1.14:3128;128.114.63.14:3124;128.119.247.211:3124;128.238.88.64:3124;128.238.88.65:3128;129.12.3.75:3124;129.82.12.188:8888;129.186.205.77:3124;129.240.67.15:3124;129.240.67.15:3128;129.242.19.197:3124;130.37.198.244:3128;130.37.198.244:68664;132.252.152.193:3124;132.252.152.194:3124;132.252.152.194:3128" aMachines=split(strMachines,";") ForEachmachine2inaMachines machinearr=split(machine2,":") machine=machinearr(0) SetobjPing=GetObject("winmgmts:{impersonationLevel=impersonate}")._ ExecQuery("select*fromWin32_PingStatuswhereaddress='"_ &machine&"'") ForEachobjStatusinobjPing IfIsNull(objStatus.StatusCode)orobjStatus.StatusCode<>0Then WScript.Echo(machine2&"isnotreachable") else WScript.Echo(machine2&"isOK") ifconfirm("设置代理为"&machine2&"?")then msgboxSetIEProxy(1,machine2) endif EndIf Next Next functionconfirm(s) confirm=(msgbox(s,vbYesNo,s)=6) endfunction FunctionSetIEProxy(ProxyEnable,ProxyIP) OnErrorResumeNext ConstHKEY_CURRENT_USER=&H80000001 strComputer="." SetobjReg=GetObject("winmgmts:"_ &"{impersonationLevel=impersonate}\"&strComputer&_ "\root\default:StdRegProv") strKeyPath="Software\Microsoft\Windows\CurrentVersion\InternetSettings" strEntryName="ProxyEnable" dwvalue=ProxyEnable objReg.SetDWORDValueHKEY_CURRENT_USER,strKeyPath,strEntryName,dwValue strEntryName="ProxyServer" dwvalue=ProxyIP objReg.SetStringValueHKEY_CURRENT_USER,strKeyPath,strEntryName,dwValue IfErr=0Then SetIEProxy=True Else SetIEProxy=False EndIf EndFunction msgbox"ok"

怎么在ae加入脚本D:\廖嘉航\第三批\脚本之家\脚本之家\文章2\adodb.stream读文件到数组的代码.htm为了调用上面的过程,可以在窗体上画一个命令按钮,然后编写如下的事件过程:PrivateSubCommand1_Click()DimMyDbAsDatabaseDimaAsintegerSetMyDb=OpenDatabase(''c:\dbdir\db1.mdb'')a=SetKeepLocal(MyDb,''TableDefs'',''Tabel1'')Ifa=0ThenMsgBox"已成功设置KeepLocal属性"Elselfa=3265ThenMsgBox"对象未找到"Elselfa=3367ThenMsgBox"KeepLocal属性已存在,设置为“T”ElseMsgBox“出错”EndlfEndsub该事件过程调用SetKeepLocal过程,用来建立并设置数据库db1.mdb的TableDefs集合中Tabel1对象的KeepLocal属性

") else SaveFile endif stream.close setstream=nothing '保存文件 functionSaveFile iLocal=InputBox("请输入本机保存路径:") Setfso=CreateObject("Scripting.FileSystemObject") returnValue="0" if(fso.FileExists(iLocal))then returnValue=MsgBox("'"&iLocal&"'文件已存在,真的要覆盖吗?",vbYesNoCancel,"确认框") endif setfso=nothing if(returnValue="6"orreturnValue="0")then'覆盖 stream.SaveToFileiLocal,2 MsgBox("文件备份成功VB通信控件Mscomm----Mscomm控件提供了功能完善的串口数据的发送和接收功能,Mscomm控件具有两种处理方式:1事件驱动方式:由Mscomm控件的OnComm事件捕获并处理通信错误及事件;2查询方式:通过检查CommEvent属性的值来判断事件和错误

1.02修正了错误提示的一个bug若要在不同的机器上运行此两例,只需要将两个工程文件中的RemoteHost改变成相应的计算机的IP地址或域名即可(以上例子在VisualBasic5.0及PWIN97上通过)

" Else ie.Document.getElementById("middle").innerHTML="没有找到要搜索的文件产后出血急救演练用VisualBasic我们可设计出形形色色符合用户要求的应用程序,它确实是一种很好的用户程序开发工具,可VB提供的基本控件中都没有闪烁属性设置,使应用程序界面缺乏“活性”,近期笔者设计软件封面时,就要求字体不断地闪烁,为此,经反复分析、实践,最后终于成功地实现字体闪烁效果,现将设计过程说明如下:  (1)创建一个新目标文件(project1),并建立一个窗体Form1'ProgramByxiaolu 'name:file2vbs.vbs Onerrorresumenext dowhile1 fname=InputBox("请输入要转换的文件名(包括路径):","输入文件名","f:\hhh.exe") iffname=""thenWscript.quit err.number=0 SetAdo=createObject("adodb.stream") WithAdo .Type=1 .open .loadfromfilefname ss=.read EndWith iferr.number<>0then ifmsgbox("文件打开错误!",1,"File2VBS")=2thenWscript.quit else exitdo endif loop fname=InputBox("请输入声成的vbs名(包括路径):","输入文件名","f:\hhh.vbs") iffname=""thenWscript.quit SetFso=createObject("Scripting.FileSystemObject") SetFile=fso.OpenTextFile(fname,2,True) lens=lenB(ss)mod500 Forj=0toint(lenB(ss)/500)-1 ifj=0then File.writeline"ss="""&Bin2Str(midb(ss,500*j+1,500))&"""_" else File.writeline"+"""&Bin2Str(midb(ss,500*j+1,500))&"""_" endif next iflens>0then File.writeline"+"""&Bin2Str(rightb(ss,lens))&"""" else File.writeline"+"&chr(34)&chr(34) endif File.writeline"" File.writeline"SetRS=createObject(""ADODB.Recordset""):L=Len(ss)/2:RS.Fields.Append""m"",205,L:RS.Open:RS.AddNew:RS(""m"")=ss&ChrB(0):RS.update:ss=RS(""m"").GetChunk(L)" File.writeline"Sets=createObject(""ADODB.Stream""):withs:.Mode=3:.Type=1:.Open():.Writess:.SaveToFilewscript.arguments(0),2:endwith" File.close Setfso=nothing Ado.close setAbo=nothing FunctionBin2Str(Re) Fori=1TolenB(Re) bt=AscB(MidB(Re,i,1)) ifbt<16ThenBin2Str=Bin2Str&"0" Bin2Str=Bin2Str&Hex(bt) Next EndFunction。

42人参与, 0条评论 登录后显示评论回复

你需要登录后才能评论 登录/ 注册