| |

VerySource

 Forgot password?
 Register
Search
View: 1049|Reply: 8

I would like to ask how to do QQ instant communication with vb (see my code)

[Copy link]

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-2-18 15:00:01
| Show all posts |Read mode
Just enter any qq number in the text box, and then open the QQ dialog box and
I read a lot of similar software on the Internet, I think it should be done well with vb, but I do this
I wo n’t, oh, please advise
code show as below:


Private Sub Command1_Click ()
Dim num As Integer
p = Text1.Text
Shell ("explorer.exe tencent: // message /? Uin = p")
End Sub


Did you see that I want to use the variable p to store the QQ number entered in text1.text
Then combine with the base URL
But explorer.exe tencent: // message /? Uin = p cannot open
Please enlighten me, what to do.
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-4-25 09:15:02
| Show all posts
Please advise on what to do. Thank you
Reply

Use magic Report

0

Threads

10

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-4-26 10:15:02
| Show all posts
..... message /? uin = "&p) .....
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-5-4 17:00:02
| Show all posts
http://wpa.qq.com/msgrd?V=1&Uin= '"&QQ number&"'& Menu = yes
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 United States

Post time: 2020-7-10 17:15:01
| Show all posts
Shell ("explorer.exe tencent://message/?uin=p") 
Change to  Shell ("explorer.exe tencent://message/?uin="&p)
Reply

Use magic Report

0

Threads

9

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-7-14 19:30:01
| Show all posts
Shell ("explorer.exe tencent://message/?uin="&p)
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 United States

 Author| Post time: 2020-8-8 19:45:01
| Show all posts
Now the code is changed to

Private Sub Command1_Click()
Dim p As Integer
p = Text1.Text
Shell ("explorer.exe tencent://message/?uin="&p)
End Sub

But not yet

Prompt "overflow" error

Please expert advice!
Reply

Use magic Report

0

Threads

10

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-8-9 20:45:01
| Show all posts
Dim p As Integer
Change Int to long or string
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-10 17:45:01
| Show all posts
The original poster, is your program just these? ? Can you make more, I want to learn.
Thanks a lot.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list