| |

VerySource

 Forgot password?
 Register
Search
View: 826|Reply: 7

How to add Baidu, Google and other searches in the program? ? ?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-31 10:40:02
| Show all posts |Read mode
I added two edit boxes to the dialog box. After filling in the search content, clicking the search button can pop up automatically
Baidu, google search page.


Looking forward to replying! !! Thank you
Reply

Use magic Report

0

Threads

20

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 China

Post time: 2020-3-9 12:45:01
| Show all posts
ShellExecute (this-> m_hWnd, "open", "http://www.baidu.com", "", "", SW_SHOW);
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-3-9 19:45:01
| Show all posts
This seems to just open the webpage. How do I fill in the input search content?
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-13 16:45:01
| Show all posts
Baidu can be like this, google is similar.
ShellExecute (NULL, "Open", "http://www.baidu.com/s?wd=" + keywords, NULL, NULL, SW_SHOW);
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-3-14 09:45:01
| Show all posts
Thanks upstairs
Reply

Use magic Report

0

Threads

45

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 Invalid IP Address

Post time: 2020-3-17 15:30:02
| Show all posts
Pay attention
Reply

Use magic Report

0

Threads

45

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 Invalid IP Address

Post time: 2020-3-17 23:00:01
| Show all posts
The address of the search page when searching for "me" in Baidu is
http://www.baidu.com/s?wd=%CE%D2&cl=3

Among them =% CE% D2 is the URL encoding of "I", cl = 3 I do not know what it means?

To confirm that you can replace the URL encoding after wd =, search

But when adding syntax, such as double quotes or AND, I do n’t know what it means.
Reply

Use magic Report

0

Threads

45

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-4-15 12:45:01
| Show all posts
Found that it can be called like this

http://www.baidu.com/s?wd=Keyword
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