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

RAKsmart 黑色星期五云服务器七折优惠 站群服务器首月半价

一年一度的黑色星期五和网络星期一活动陆续到来,看到各大服务商都有发布促销活动。同时RAKsmart商家我们也是比较熟悉的,这次是继双十一活动之后的促销活动。在活动产品中基本上沿袭双11的活动策略,比如有提供云服务器七折优惠,站群服务器首月半价、还有新人赠送红包等活动。如果我们有需要RAKsmart商家VPS、云服务器、独立服务器等产品的可以看看他们家的活动。这次活动截止到11月30日。第一、限时限...

lcloud零云:沪港IPLC,70元/月/200Mbps端口/共享IPv4/KVM;成都/德阳/雅安独立服务器低至400元/月起

lcloud怎么样?lcloud零云,UOVZ新开的子站,现在沪港iplc KVM VPS有端午节优惠,年付双倍流量,200Mbps带宽,性价比高。100Mbps带宽,500GB月流量,10个,512MB内存,优惠后月付70元,年付700元。另有国内独立服务器租用,泉州、佛山、成都、德阳、雅安独立服务器低至400元/月起!点击进入:lcloud官方网站地址lcloud零云优惠码:优惠码:bMVbR...

CloudCone(20美元/年)大硬盘VPS云服务器,KVM虚拟架构,1核心1G内存1Gbps带宽

近日CloudCone商家对旗下的大硬盘VPS云服务器进行了少量库存补货,也是悄悄推送了一批便宜VPS云服务器产品,此前较受欢迎的特价20美元/年、1核心1G内存1Gbps带宽的VPS云服务器也有少量库存,有需要美国便宜大硬盘VPS云服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务...

灌水机为你推荐
yw372:Com我是YW,ZX了吗cisco2960配置思科的交换机怎么配置sns网站有哪些有哪些好的SNS商务社交类网站?Joinsql传奇域名自己的传奇服务器怎么建设?billboardchina美国Billboard公告牌年度10大金曲最新华丽合辑地址栏图标电脑地址栏上的所有图标怎么找?powerbydedecms如何去掉织梦者头部版本信息开源网店系统国内有哪些好的java开源电子商城系统无忧登陆无忧登录好吗?
域名批量查询 中文域名申请 godaddy主机 kdata cdn服务器 紫田 免费ddos防火墙 网通代理服务器 本网站服务器在美国 云全民 网络空间租赁 广州服务器 稳定免费空间 中国电信测速网 息壤代理 如何建立邮箱 闪讯官网 web服务器搭建 服务器论坛 深圳域名 更多