I saw someone who had a mailbox automatically registered, so I also wrote a similar article written in the process of checking the information, some are based on the network protocol, I need to know Session, cookie These things are very cumbersome for a newcomer, etc. The advantage of VB is that those who have quickly realize their own programming for those who know the bottom level of the computer, I found a relatively simple approach, ask for a matter to HTML markup, now write your experience It's been shared from all netizens, and this method may be not worth mentioning. Maybe it will help you.
My way is to use control webbrowser, I think many people are familiar with it. After new projects, you have to add two controls, one is webbrowser, the other is scriptlet, these two controls are used, You can complete this task, the IHTMLDocument2 object in the Scriptlet can be used to get the HTML document in the WebBrowser control. The names of these two controls are called Microsoft HTML Object Library and Microsoft Internet Controls in the Component dialog.
After these two controls are completed, you also need to know an event documentCububumbus for WebBrowser. This event triggers the entire web download, which means that this event is executed after the page is completed, and it is possible to register smoothly. .
The following is a free mailbox registration with the EYOU website as an example to implement my programming, and add a WebBrowser control to the Form. All code is as follows:
DIM II AS INTEGER
Private sub flow_load ()
WebBrowser1.naviGate "http://freemail.eyou.com/signup.html?bgp=