本帖vb源代码-回复灌水检测机【吾爱破解专用】

灌水机  时间:2021-03-19  阅读:()

Private Declare Function ShellExecute Lib"shell32.dll"Alias "ShellExecuteA" (ByVal hwnd AsLong,ByVal lpOperation As String,ByVal lpFile As String,ByVal lpParameters As String,ByVallpDirectory As String,ByVal nShowCmd As Long)As Long'声明

Sub ClearDups(lst As Control, comptype As Boolean)

Dim i&, j&, tmp$(),c ID&, ls tCount&, s Comptype&, tmpLine$ls t.Vis ib le=F als els t C o unt=ls t.Lis t C o unt - 1

If lstCount<0 Then Exit Sub

ReDim tmp(ls tCount)

If c omptype Then s Comptype=0 Els e s Comptype=1

For j=lstCount To 0 Step-1tmp Lin e=ls t.Lis t(j)

For i=0 TocID- 1

If StrComp(tmp(i), tmpLine, s Comptype)=0 Thenlst.RemoveItem j

Exit For

End If

Next

If i>cID- 1 Thentmp(cI D)=tmp LinecID=cID+1

End If

Nextls t.Vis ib le=T rue

End Sub

Function ChkList()As Boo lean

Dim m As Integer

F or m=0 To Lis t 1.Lis tCount - 1

If List 1.List(m)=zihao Then

ChkL is t=F als e

Els e

ChkL is t=T rue

End If

Next

End Function

Public Function FindStrMulti$(Strall$,FirstStr$,EndStr$,SplitStr$)

Dim i&, j&j=1

Doi=InStr(j,Strall,FirstStr)

If i=0 Then

Exit Do

End Ifi=i+Len(F ir s tS tr)j=In S tr(i,S trall,EndS tr)

If j>0 Then

F indStrMulti=IIf(Len(F indStrMulti)>0,FindStrMulti&SplitStr, "")&Mid(Strall, i, j -i)

Els e

Exit Do

End If

Loop

End Function

Private Sub Command1_Click()

Web Brow s er 1.Navigate Text 1.Text

Call Command2_Click

Lab e l 1.Vis ib le=True

End Sub

Private Sub Command2_Click()

On Error Resume Next

For i=0 To WebBrow s er 1.Document.links.Length- 1

Dim zihao As String

If InStr(WebBrowser1.Document.links.Item(i),"http://www.52pojie.c n/forum.php?mod=redirec t&goto=findpost&ptid=")Thenzihao = WebBrow s er 1.Doc ument.links.Item(i).innerText & "--" &Web Brow s er 1.Document.getelementbyid("postmes s age_" &FindStrMult i(Web Brow s er 1.Document.links.Item(i)&"abc", "&pid=", "abc", "")).innerTextIf List 1.ListCount=0 Then List 1.AddItem zihao

If ChkList=True Then List 1.AddItem zihao

End If

Next i

End Sub

Private Sub Command3_Click()

Dim sT!sT=Timer

ClearDups List 1,True

Lab el 1.Capt ion="本帖回复"&Lis t 1.Lis tCount&"次/"&I nt(Lis t 1.Lis tCount / 10)+1&"页"

End Sub

Private Sub Command4_Click()

On Error Resume Next

Dim outdatatxt As String

Open"d:\回复记录.txt"F or Output As#1

F or i=0 To Lis t 1.Lis tCount - 1

Pr int#1,Lis t 1.Lis t(i)

Next i

Close#1

Ms gBox"已保存在“d:\回复记录.txt”中", , "提示"

End Sub

Private Sub Command5_Click()

On Error Resume Next

F or i=0 To Lis t 1.Lis tCount - 1

Dim m As Stringm=F indS trMulti(L is t 1.Lis t(i)&"ENT ER", "--", "ENTE R", "")

Dim Sum&

S um=0

For c=1 To Len(m)

Char=Mid(m,c, 1)

If (AscW(Char) > -40870 And AscW(Char) < -19967) Or (AscW(Char) < 40870 AndAs c W(Char)>19967)Then

S um=S um+1

End If

Next c

If Sum<=1 Then

Lis t2.AddItem Lis t 1.Lis t(i)

End If

Next i

If List2.ListCount=0 Then

MsgBox"貌似本帖无人灌水、 ", , "好现象"

End If

End Sub

Private Sub Form_Load()

Web Brow s er 1.Navigate"http://www.52pojie.cn/"

End Sub

Private Sub Label3_Click()

On Error Resume Next

ShellEx ecute 0, "open", "http://b log.sina.c om.cn/s/blog_92b6d74d01012s 3r.html", vbNullString,vbNul lS tring, 3

End Sub

Private Sub Text1_Change()

If List 1.ListCount<>0 Then

For a=List1.ListCount - 1 To 0 Step-1

Lis t 1.RemoveItem(a)

Next a

End If

I f Lis t2.Lis tCount<>0 Then

For a=List2.ListCount - 1 To 0 Step-1

Lis t2.RemoveI tem(a)

Next a

End If

Label1.Caption=""

Web Brow s er 1.Navigate"about:b lank"

End Sub

Private Sub Text1_GotFocus()

Text 1.SelStart=0

Text 1.S elLength=Len(Text 1)

End Sub

Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object,URL As Variant)For i=0 To WebBrow s er 1.Document.links.Length- 1

If WebBrows er 1.Document.links.Item(i).innerText="下一页"Then

WebBrowser 1.Navigate WebBrowser 1.Document.links.Item(i)

End If

Next i

Call Command2_Click

End Sub

CheapWindowsVPS$4.5/月,美国VPS/免费Windows系统/1Gbps不限流量/,可选美洲、欧洲、亚洲等8大机房

国外商家提供Windows系统的并不常见,CheapWindowsVPS 此次提供的 2 款 VPS 促销套餐,提供 5 折永久优惠码,优惠后月付 4.5 美元起,价格还是挺诱人的,VPS 不限流量,接入 1Gbps 带宽,8 个机房皆可选,其中洛杉矶机房还提供亚洲优化网络供选择,操作系统有 Windows 10 专业版、2012 R2、2016、Linux等。Cheap Windows VPS是...

VoLLcloud:超便宜香港CMI大带宽vps-三网CMI直连-年付四免服务-低至4刀/月-奈飞

vollcloud LLC创立于2020年,是一家以互联网基础业务服务为主的 技术型企业,运营全球数据中心业务。致力于全球服务器租用、托管及云计算、DDOS安 全防护、数据实时存储、 高防服务器加速、域名、智能高防服务器、网络安全服务解决方案等领域的智 能化、规范化的体验服务。所有购买年付产品免费更换香港原生IP(支持解锁奈飞),商家承诺,支持3天内无条件退款(原路退回)!点击进入:vollclo...

virmach:3.23美元用6个月,10G硬盘/VirMach1核6个月Virmach

virmach这是第二波出这种一次性周期的VPS了,只需要缴费1一次即可,用完即抛,也不允许你在后面续费。本次促销的是美国西海岸的圣何塞和美国东海岸的水牛城,周期为6个月,过后VPS会被自动且是强制性取消。需要临时玩玩的,又不想多花钱的用户,可以考虑下!官方网站:https://www.virmach.comTemporary Length Service Specials圣何塞VPS-一次性6个...

灌水机为你推荐
企业邮局系统什么邮件系统最适合企业?iprouteip route-static 192.168.1.0 255.255.255.0 3.3.3.2什么意思centos6.5centos 6.5 安装哪些软件dell服务器bios设置dell R410服务器 bios设置参数如何恢复出厂设置?宜人贷官网宜人贷是不是骗局,借了五万,每月还2030元,还十个月了,想一次性还完,他们说我400电话查询400电话。如何查询真伪,费用?powerbydedecms如何去掉织梦网站底部的powered by dedecms方法403forbidden403forbidden显示隐藏文件隐藏的文件夹怎么显示出来广告管理系统广告代理公司找专业的项目管理软件,求推荐。
深圳域名注册 三级域名网站 a5域名交易 泛域名绑定 火山主机 国内免备案主机 安云加速器 博客主机 2014年感恩节 mobaxterm 免费个人博客 网站被封 发包服务器 稳定免费空间 卡巴斯基是免费的吗 ca187 江苏双线服务器 最漂亮的qq空间 石家庄服务器托管 镇江高防 更多