找了一段据说可以使用的vb代码:http://www.vbgood.com/viewthread.php?tid=84185 正解如下:Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)Private Sub form_Click() WebBrowser1.Navigate "http://www.kaixin001.com/login/login.php"End SubPrivate Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant) Dim vDoc, vTag Dim i As Integer Set vDoc = WebBrowser1.Document For i = 0 To vDoc.All.length - 1 If UCase(vDoc.All(i).tagName) = "INPUT" Then Set vTag = vDoc.All(i) If vTag.Type = "text" Or vTag.Type = "password" Then Select Case vTag.Name Case "password" vTag.Value = "abcdefg" Case "email" vTag.Value = "aaaa@163.com" End Select ElseIf vTag.Type = "submit" Then 'vTag.Click '等到能填上再加这句 Sleep 1000 End If End If Next iEnd Sub它是通过 WebBrowser进去的;我想还是直接用post进去好。