WebBrowser,请哪位大哥贴出他的属性来吧,谢谢 如题! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 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. 1、读取WEB页面标题:LocationName属性me.caption=webbrowser1.locationName2、显示统一资源定位符:用LocationURL属性可以返回在webbrowser控件中显示的WEB页面的URL3、定位到指定的WEB页面:Navigate方法webbrowser.navigate URL [flag,][targetFrame,][postData,][headers]如:webbrowser.navigate "http://www.sina.com" 4、向后翻页:GoBack 向前翻页:GoForward 主页:GoHome5、事件: beforeNavigate '转移到其他URL时发生该事件 navigateComplete '转移到新位置发生该事件 downloadBegin '开始下载指定资源时发生该事件 downloadComplete '下载结束发生该事件 再请问一个:向后翻页:GoBack向前翻页:GoForward比如向前翻: WebBrowser1.GoForward 如果向前翻完了会出错啊,如何处理了? on error goto err_hon error resume nextselect case err.number case **: case **:end select 祝愿新年vb版红红火火…… 我用SetAccess设置文件访问权限,得不到我要的结果,大家帮我看看 在线急, 急!!!!!!!!! 用VB怎样关闭Windows和重启Windows??? 关于在VB中表连动的问题 关于DATAGRID与存储过程的帮定问题,请大家帮忙,多谢谢了 很简单的问题,字段类型为OLE对象怎么设置 在水晶报表那里,打印时怎么自动生成表格呢。 一个关于VBA的问题8.31 请问能否在安装程序里设置ODBC连接?如果能,请教具体的设置方法 Textbox的右键菜单怎么样去掉? 如何知道本机通过路由设定上网的网络IP地址
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.
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 '下载结束发生该事件
向后翻页:GoBack
向前翻页:GoForward比如向前翻: WebBrowser1.GoForward
如果向前翻完了会出错啊,如何处理了?
on error resume next
select case err.number
case **: case **:end select