Dim OjbIe As Object = CreateObject("InternetExplorer.Application") With OjbIe .Visible = True .Navigate("https://www.kuaipan.cn/index.php?ac=account&op=login") Application.DoEvents Do While .Busy Application.DoEvents Loop Dim DoM As Object = .Document With DoM .getElementById("userName").Value = "在此输入您的用户名" .getElementById("userPwd").Value = "在此输入您的密码" .getElementById("loginform").submit End With .Visible = True End With
|