用TIMER时怎么得到IE的源码
Private Sub Form_Load()Dim ie As InternetExplorerDim sWind As ShellWindowsSet ie = CreateObject("internetexplorer.application")ie.Visible = Trueie.navigate ("http://www.baidu.com/")End SubPrivate Sub Timer1_Timer()On Error Resume NextSet sWind = New ShellWindowsFor Each ie In sWind If ie.Busy = False Then If LCase(Mid(ie.locationURL, 1, 4)) <> "file" Then If ie.locationURL = "http://www.baidu.com/" Then Print ie.document.documentElement.outerHTML 'ie.document.getElementById("TextBox1").Value = "chenlin3" ' ie.document.getElementById("TextBox2").Value = "888888" ' ie.document.getElementById("Button1").Click End If End If end ifNextEnd Sub