|
- <%
- Dim objIE
- Dim strUrl,html,title
- strUrl="http://bbs.ttasp.com/"
- Set objIE = CreateObject("InternetExplorer.Application")
- With objIE
- .Visible = True '
- .Navigate(strUrl) '导航到所需的网站。
-
- Do While .Busy Or .readyState <> 4
-
- Loop
-
- Do While .Document.ReadyState <> "complete"
-
- Loop
-
- title=objIE.document.title
- End With
- set objIE = Nothing
- response.Write title
- %>
复制代码
效果:
|
|