如题!

解决方案 »

  1.   

    WebBrowser Object--------------------------------------------------------------------------------DescriptionThe WebBrowser object adds browsing capabilities to your applications. Applications hosting this ActiveX™ Control will support browsing sites on the World Wide Web, as well as directories on the local computer and on network servers. 
    PropertiesAddressBar ,Application, Busy, Container, Document, FullScreen, Height, Left, LocationName, LocationURL, MenuBar, Offline, Parent, ReadyState, RegisterAsBrowser, RegisterAsDropTarget, Resizable, Silent, StatusBar, StatusText, TheaterMode, ToolBar, Top, TopLevelContainer, Type, Visible, Width 
    MethodsExecWB, GoBack, GoForward, GoHome, GoSearch, Navigate, Navigate2, Quit, Refresh, Refresh2, ShowBrowserBar, Stop 
    EventsBeforeNavigate2, CommandStateChange, DocumentComplete, DownloadBegin, DownloadComplete, NavigateComplete2, NewWindow2, OnFullScreen, OnMenuBar, OnStatusBar, OnTheaterMode, OnToolBar, OnVisible, ProgressChange, StatusTextChange, TitleChange -------------------------------------------------------------------------------- Top of Page 
    © 1997 Microsoft Corporation. All rights reserved. Terms of Use. 
      

  2.   

    1、读取WEB页面标题:LocationName属性
    me.caption=webbrowser1.locationName
    2、显示统一资源定位符:用LocationURL属性可以返回在webbrowser控件中显示的WEB页面的URL
    3、定位到指定的WEB页面:
    Navigate方法
    webbrowser.navigate URL [flag,][targetFrame,][postData,][headers]
    如:webbrowser.navigate "http://www.sina.com" 
    4、向后翻页:GoBack
       向前翻页:GoForward
       主页:GoHome
    5、事件:
      beforeNavigate   '转移到其他URL时发生该事件  navigateComplete   '转移到新位置发生该事件
      downloadBegin     '开始下载指定资源时发生该事件
      downloadComplete   '下载结束发生该事件
      

  3.   

    再请问一个:
    向后翻页:GoBack
    向前翻页:GoForward比如向前翻: WebBrowser1.GoForward 
    如果向前翻完了会出错啊,如何处理了?
      

  4.   

    on error goto err_h
    on error resume next
    select case err.number
       case **:   case **:end select