- 注释:Event Form1.Load   
 
- 注释:    Form1.ComboBox1.List = "163.com|126.com|yeah.net|sina.com"  
 
- 注释:End Event  
 
- 注释:Event Form1.ComboBox1.SelectChange   
 
- 注释:    Dim 索引   
 
- 注释:    索引 = Split(Form1.ComboBox1.List,"|")   
 
- 注释:    邮箱 = 索引(Form1.ComboBox1.ListIndex)   
 
- 注释:End Event 
 
- 注释:用户名 = Form1.InputBox1.Text
 
- 注释:密码 = Form1.InputBox2.Text
 
- 注释:邮箱 = Form1.InputBox3.Text
 
- 用户定义变量 用户名=0 "用户名"
 
- 用户定义变量 密码=0 "密码"
 
- 用户定义变量 邮箱=DropList{"163.com":"163.com"|"126.com":"126.com"|"yeah.net":"yeah.net"|"sina.com":"sina.com"}=0 "邮箱"
 
- 令 ie = CreateObject("internetexplorer.application")
 
- ie.navigate("http://www.baidu.com/")
 
- 令 ie.Visible = true
 
- 循环当 ie.busy 或者 ie.readystate <> 4 时
 
- 循环结束
 
- 令 ie.document.getElementById("wd").value = 邮箱
 
- 令 i = ie.document.getElementById("su").click
 
- 延时 1000 毫秒
 
- 令 ie.document.getElementById("op_email3_username").value = 用户名
 
- 令 ie.document.getElementById("op_email3_password").value = 密码
 
- 令 i = ie.document.getElementById("op_email3_sub").click
 
- ie.quit()