This article mainly introduced if through the VBS implementation Forum automatic Login implementation method, in fact, mainly using the VBS operation page form of automatic fill realization, like friends can try
copy code code as follows:
On Error Resume Next
url = "Http://www.bathome.net/logging.php?action=login"
username = "* * *"
Password = "* * *"
Set ie = CreateObject ("Internetexplorer.application")
ie.visible = True
ie. Navigate url,4 ' "http://www.baidu.com"
Do until 4=ie.readystate
Wscript.Sleep 200
waittime = waittime + 200
if waittime > 15000 then Exit Do
Loop
' WScript.Echo waittime
if 4<>ie.readystate then
Ie.quit
Wscript.Quit
End If
Set dom = Ie.document
Set form = Dom.getelementbyid ("LoginForm")
Form.all ("username"). Value = Username
form.all ("password"). Value = password
Form.all ("Cookietime"). Checked = True
Form.all ("Loginsubmit"). Click ()
Original: http://www.enun.net/?p=1093