分享
 
 
 

Kugoo号码自动申请

王朝vb·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

软件源程序如下:

本程序加上界面即可实现全自动申请。

What's KuGoo? 什么是kugoo?

KuGoo是是专业的P2P音乐及文件传输软件。通过KuGoo,用户可以方便、 快捷、安全地实现 音乐查找,即时通讯,文件传输,文件共享等网络应用。与50万用户同分享。

文件传输 方便快捷

搜索音乐 在线下载

音乐聊天 同时进行

文件共享 轻松拥有

最新消息:2月8日,酷狗用户超过100万!

300万首共享音乐,10000多在线音乐迷

注释没有加。因为主要只涉及几个api函数。希望用得到的朋友可以用用

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpclassname As String, ByVal lpWindowName As String) As Long

Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long

Private Declare Function ClientToScreen Lib "user32" (ByVal hwnd As Long, lpPoint As POINTAPI) As Long

Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long

Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Declare Function sendmessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

Private Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wCmd As Long) As Long

Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long

Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long

Private Declare Function WinExec Lib "kernel32" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long

Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long

Private Declare Function TerminateProcess Lib "kernel32" (ByVal hProcess As Long, ByVal uExitCode As Long) As Long

Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long

Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long

Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer

Private Type POINTAPI '定义鼠标位置用

x As Long

y As Long

End Type

Const MOUSEEVENTF_LEFTDOWN = &H2 '模拟鼠标左键按下

Const MOUSEEVENTF_LEFTUP = &H4 '模拟鼠标左键抬起

Const WM_SETTEXT = &HC '设置文本框的值

Const GW_CHILD = 5 '查找子控件

Const GW_HWNDNEXT = 2 '查找下一个子控件

Const BM_CLICK = &HF5 '发送单击事件

Private Const WM_CLOSE = &H10

Private ppt As POINTAPI

Private dddd, phnd As Long, tt

Private Const SYNCHRONIZE = &H100000

Const PROCESS_QUERY_INFORMATION = &H400

Private pid, pnd, ppd

Private Sub Command1_Click()

tt = 1

Timer1.Interval = 50

Randomize

a1 = Int((90 - 65 + 1) * Rnd + 65)

a2 = Int((90 - 65 + 1) * Rnd + 65)

a3 = Int((90 - 65 + 1) * Rnd + 65)

a4 = Int((90 - 65 + 1) * Rnd + 65)

a5 = Int((90 - 65 + 1) * Rnd + 65)

a6 = Int((90 - 65 + 1) * Rnd + 65)

Text2.Text = Chr$(a1) + Chr$(a2) + Chr$(a3) + Chr$(a4) + Chr$(a5) + Chr$(a6)

pid = Shell(App.Path + "\kugoo.exe", vbNormalFocus)

'"c:\Program Files\KuGoo\kugoo.exe", vbNormalFocus)

Sleep 1000

End Sub

Private Sub Command2_Click()

Timer1.Interval = 0

End Sub

Private Function MyHotKey(vKeyCode) As Boolean '设置热键

MyHotKey = (GetAsyncKeyState(vKeyCode) < 0)

End Function

Private Sub Timer1_Timer()

If MyHotKey(vbKeyF2) Then

Timer1.Interval = 0 '如果是F2那么停止

MsgBox "stop!", vbOKOnly, "warning!"

Exit Sub

End If

aa = FindWindow(vbNullString, "注册新用户 - 基本信息")

If aa <> 0 And tt = 2 Then

SetWindowPos aa, -1, 0, 0, 0, 0, 3

bb = FindWindowEx(aa, ByVal 0&, "TPageControl", vbNullString)

cc = FindWindowEx(bb, ByVal 0&, vbNullString, "基本信息")

cc = FindWindowEx(cc, ByVal 0&, "TEdit", vbNullString)

ewnd = GetWindow(cc, GW_HWNDNEXT)

ewnd = GetWindow(ewnd, GW_HWNDNEXT)

ewnd = GetWindow(ewnd, GW_HWNDNEXT)

sendmessage ewnd, WM_SETTEXT, 0, ByVal Text1.Text

cc = FindWindowEx(aa, ByVal 0&, vbNullString, "下一步(&N) >")

sendmessage cc, BM_CLICK, 0, 0

Sleep 100

tt = 3

Exit Sub

End If

aa = FindWindow(vbNullString, "注册新用户 - 个人信息")

If aa <> 0 And tt = 3 Then

SetWindowPos aa, -1, 0, 0, 0, 0, 3

cc = FindWindowEx(aa, ByVal 0&, vbNullString, "下一步(&N) >")

sendmessage cc, BM_CLICK, 0, 0

Sleep 100

tt = 4

Exit Sub

End If

aa = FindWindow(vbNullString, "注册新用户 - 安全信息")

If aa <> 0 And tt = 4 Then

SetWindowPos aa, -1, 0, 0, 0, 0, 3

bb = FindWindowEx(aa, ByVal 0&, "TPageControl", vbNullString)

cc = FindWindowEx(bb, ByVal 0&, vbNullString, "安全信息")

cc = FindWindowEx(cc, ByVal 0&, "TEdit", vbNullString)

sendmessage cc, WM_SETTEXT, 0, ByVal Text2.Text

cc = GetWindow(cc, GW_HWNDNEXT)

sendmessage cc, WM_SETTEXT, 0, ByVal Text2.Text

cc = GetWindow(cc, GW_HWNDNEXT)

sendmessage cc, WM_SETTEXT, 0, ByVal Text2.Text

cc = FindWindowEx(aa, ByVal 0&, vbNullString, "下一步(&N) >")

sendmessage cc, BM_CLICK, 0, 0

tt = 5

Sleep 100

Exit Sub

End If

aa = FindWindow(vbNullString, "注册新用户 - 注册结果")

If aa <> 0 And tt = 5 Then

SetWindowPos aa, -1, 0, 0, 0, 0, 3

bb = FindWindowEx(aa, ByVal 0&, "TPageControl", vbNullString)

cc = FindWindowEx(bb, ByVal 0&, vbNullString, "注册结果")

cc = GetWindow(cc, GW_CHILD)

cc = GetWindow(cc, GW_CHILD)

mystr$ = Space$(GetWindowTextLength(cc) + 1)

GetWindowText cc, mystr$, Len(mystr$)

number1 = Left$(mystr$, 7)

If Len(number1) > 4 Then

Open App.Path + "\kugoo.txt" For Append As #3

Print #3, CStr(number1) + "----" + Text2.Text

Close #3

Else

Call Command1_Click

End If

tt = 6

Me.Caption = CStr(number1)

PostMessage aa, WM_CLOSE, 0, 0

Sleep 100

Exit Sub

End If

aa = FindWindow(vbNullString, "登陆 Kugoo")

If aa <> 0 And tt = 1 Then

SetWindowPos aa, -1, 0, 0, 0, 0, 3

bb = FindWindowEx(aa, ByVal 0&, "TPanel", vbNullString)

bb = FindWindowEx(bb, ByVal 0&, "TPanel", vbNullString)

ppt.x = 0: ppt.y = 0

ClientToScreen bb, ppt

If ppt.x < 100 Then Exit Sub

SetCursorPos ppt.x + 100, ppt.y + 20

mouse_event MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, 0, 0, 0, 0

tt = 2

Sleep 100

Exit Sub

End If

aa = FindWindow(vbNullString, "KuGoo共享")

If aa <> 0 Then

PostMessage aa, WM_CLOSE, 0, 0

Sleep 100

Exit Sub

End If

aa = FindWindow(vbNullString, "浏览文件夹")

If aa <> 0 Then

PostMessage aa, WM_CLOSE, 0, 0

Sleep 100

Exit Sub

End If

aa = FindWindow(vbNullString, "KuGoo")

If aa <> 0 And tt = 6 Then

PostMessage aa, WM_CLOSE, 0, 0

Sleep 1000

Call Command1_Click

Exit Sub

End If

End Sub

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有