Joke Collection Website - Public benefit messages - How does vb get the verification code from the source file of the webpage into the program?
How does vb get the verification code from the source file of the webpage into the program?
After loading a web page using the WebBrowser 1 control, the following code
ImgFileName = App。 Path and path. " \temp.bmp "
For each x in WebBrowser 1. Documentation. All
If X.Id = "img_verify ",X.Id is the picture Id.
Set CtrlRange = WebBrowser 1. document . body . createcontrolrange()
CtrlRange。 Add (x)
CtrlRange.execCommand ("Copy ")
Save the picture clipboard. GetData,ImgFileName
Image 1。 picture = load picture(img file name)
Kill ImgFileName
If ... it will be over.
then
- Previous article:How does Apple set the number of SMS center?
- Next article:How to cancel the verification code of WeChat payment SMS?
- Related articles
- My daughter goes to school, and instead of spending money at home, she sends money home?
- What is the reason for the delay in receiving messages by mobile phones?
- Ask for nice Japanese and Korean MP3 ringtones.
- What short messages will you receive from police stations when you browse bad websites?
- How long does it take to cancel the soul account?
- Can I apply for property preservation of Lao Lai?
- Why can't my telecom mobile phone surf the Internet with the newly bought 4G mobile phone card, and I can only make phone calls and send text messages?
- How to send short messages to mobile users with Tietong's landline?
- My girlfriend chats with me by text every day. She misses me. Have you eaten? It is so boring. To be honest, I'm tired of chatting. Blame me if you don't tell me.
- When Xinmi City complains, how can we let people at the mayor level see it....