本帖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

racknerd:美国大硬盘服务器,$599/月,Ryzen7-3700X/32G内存/120gSSD+192T hdd

racknerd当前对美国犹他州数据中心的大硬盘服务器(存储服务器)进行低价促销,价格跌破眼镜啊。提供AMD和Intel两个选择,默认32G内存,120G SSD系统盘,12个16T HDD做数据盘,接入1Gbps带宽,每个月默认给100T流量,5个IPv4... 官方网站:https://www.racknerd.com 加密数字货币、信用卡、PayPal、支付宝、银联(卡),可以付款! ...

A400互联37.8元/季,香港节点cn2,cmi线路云服务器,1核/1G/10M/300G

A400互联怎么样?A400互联是一家成立于2020年的商家,A400互联是云服务器网(yuntue.com)首次发布的云主机商家。本次A400互联给大家带来的是,全新上线的香港节点,cmi+cn2线路,全场香港产品7折优惠,优惠码0711,A400互联,只为给你提供更快,更稳,更实惠的套餐,香港节点上线cn2+cmi线路云服务器,37.8元/季/1H/1G/10M/300G,云上日子,你我共享。...

DiyVM:50元/月起-双核,2G内存,50G硬盘,香港/日本/洛杉矶机房

DiyVM是一家比较低调的国人主机商,成立于2009年,提供VPS主机和独立服务器租用等产品,其中VPS基于XEN(HVM)架构,数据中心包括香港沙田、美国洛杉矶和日本大阪等,CN2或者直连线路,支持异地备份与自定义镜像,可提供内网IP。本月商家最高提供5折优惠码,优惠后香港沙田CN2线路VPS最低2GB内存套餐每月仅50元起。香港(CN2)VPSCPU:2cores内存:2GB硬盘:50GB/R...

灌水机为你推荐
德国iphone禁售令德国IPHONE多少钱?急~企业建网站企业为什么要建网站X1080012高等数学Ⅱ课程教学大纲三友网有了解唐山三友集团的吗?大学生待遇如何,工资收入,福利保障,工作环境等等300051三五互联170号段和三五互联什么关系zencart模板zen cart模板怎么进行二次开发修改discuz论坛discuz论坛怎么做长沙电话号码升位0731_88602360电话是哪的joomla教程如何获得 Joomla,2.5中 itemid 的值搜索引擎教程怎样制作搜索引擎?
万网域名注册 万网域名代理 vps推荐 查询ip地址 阿里云搜索 php主机 lamp配置 彩虹ip e蜗牛 中国电信测速112 刀片服务器的优势 双11秒杀 国外代理服务器地址 安徽双线服务器 独立主机 七牛云存储 ipower 游戏服务器 qq部落24-5 招聘瓦工 更多