Welcome![Sign In][Sign Up]
Location:
Search - webbrowser html

Search list

[DocumentsWebBrowser的8个方法和13个属性

Description: WebBrowser的8个方法和13个属性,以及它们的功能: 方法 说明  GoBack 相当于IE的“后退”按钮,使你在当前历史列表中后退一项  GoForward 相当于IE的“前进”按钮,使你在当前历史列表中前进一项  GoHome 相当于IE的“主页”按钮,连接用户默认的主页  GoSearch 相当于IE的“搜索”按钮,连接用户默认的搜索页面  Navigate 连接到指定的URL  Refresh 刷新当前页面  Refresh2 同上,只是可以指定刷新级别,所指定的刷新级别的值来自RefreshConstants枚举表, 该表定义在ExDisp.h中,可以指定的不同值如下: REFRESH_NORMAL 执行简单的刷新,不将HTTP pragma: no-cache头发送给服务器 REFRESH_IFEXPIRED 只有在网页过期后才进行简单的刷新 REFRESH_CONTINUE 仅作内部使用。在MSDN里写着DO NOT USE! 请勿使用 REFRESH_COMPLETELY 将包含pragma: no-cache头的请求发送到服务器  Stop 相当于IE的“停止”按钮,停止当前页面及其内容的载入 属性 说明  Application 如果该对象有效,则返回掌管WebBrowser控件的应用程序实现的自动化对象(IDispatch)。如果在宿主对象中自动化对象无效,这个程序将返回WebBrowser 控件的自动化对象  Parent 返回WebBrowser控件的父自动化对象,通常是一个容器,例如是宿主或IE窗口  Container 返回WebBrowser控件容器的自动化对象。通常该值与Parent属性返回的值相同  Document 为活动的文档返回自动化对象。如果HTML当前正被显示在WebBrowser中,则 Document属性提供对DHTML Object Model的访问途径  TopLevelContainer 返回一个Boolean值,表明IE是否是WebBrowser控件顶层容器,是就返回true  Type 返回已被WebBrowser控件加载的对象的类型。例如:如果加载.doc文件,就会返 回Microsoft Word Document  Left 返回或设置WebBrowser控件窗口的内部左边与容器窗口左边的距离  Top 返回或设置WebBrowser控件窗口的内部左边与容器窗口顶边的距离  Width 返回或设置WebBrowser窗口的宽度,以像素为单位  Height 返回或设置WebBrowser窗口的高度,以像素为单位  LocationName 返回一个字符串,该字符串包含着WebBrowser当前显示的资源的名称,如果资源 是网页就是网页的标题;如果是文件或文件夹,就是文件或文件夹的名称  LocationURL 返回WebBrowser当前正在显示的资源的URL  Busy 返回一个Boolean值,说明WebBrowser当前是否正在加载URL,如果返回true 就可以使用stop方法来撤销正在执行的访问操作 如何利用 WebBrowser 控件,显示 .GIF 动画? 要有一定的网页知识(HTML、JavaScript、CSS) 注意细节: 没有"滚动条"和"鼠标右键弹出的 IE 上下文菜单",".HTM 源文件" ... 我写了一个,效果还真不错! ''Objects: Form1、Command1、CommonDialog1、WebBrowser1 Option Explicit Private Sub Command1_Click() CommonDialog1.ShowOpen If VBA.Len(VBA.Trim(CommonDialog1.FileN欢迎光临学网,点击这里查看更多文章教程 [1] [2] [3] [4] [5] [6] [7] [8] ame)) > 0 Then Dim p As stdole.StdPicture Dim sPath As String sPath = VBA.Trim(VBA.Trim(CommonDialog1.FileName)) Set p = VB.LoadPicture(sPath) WebBrowser1.Width = p.Width * 16 / 26 WebBrowser1.Height = p.Height * 16 / 26 '' WebBrowser1.Navigate "about:blank" WebBrowser1.Document.open WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "WebBrowser1.Document.writeln " WebBrowser1.Document.writeln "WebBrowser1.Document.writeln " " WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" End If End Sub Private Sub Form_Load() Command1.Caption = "&Open" WebBrowser1.Navigate "about:blank" WebBrowser1.Document.open WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.Close End Sub
Platform: | Size: 3992 | Author: weidonglingsir@163.com | Hits:

[ISAPI-IEShowHtmlSource

Description: 获得WebBrowser控件中的HTML源码 -WebBrowser control access to the HTML source
Platform: | Size: 94208 | Author: 天一 | Hits:

[GUI Developcwebpage

Description: Display a Web Page in a Plain C Win32 Application: There are numerous examples that demonstrate how to embed Internet Explorer in your own window. But these examples typically use Microsoft Foundation Classes (MFC), .NET, C#, or at least the Windows Template Library (WTL) because those frameworks have pre-fabricated "wrappers" to easily give you an "HTML control" to embed in your window. If you re trying to use plain C, without MFC, WTL, .NET, C#, or even any C++ code at all, then there is a dirth of examples and information how to deal with OLE/COM objects such as IE s IWebBrowser2. Here is an article and working example in C to specifically show you what you need to do in order to embed IE in your own window, and more generally, show you how to interact with OLE/COM objects and create your own objects in plain C.
Platform: | Size: 48128 | Author: 刘国栋 | Hits:

[Communicationiectrlappin11dlg

Description: 首先,需要在你的程序中嵌入IE浏览器的窗口。有两种实现方法,其一,添加CHtmlView的视类;其二,添加IE浏览器的ActiveX控件。其实不管用什么方法,除了函数名称稍有区别外,它们最终都调用了微软的IWebBrowser2的接口。IWebBrowser2的功能非常强劲,使用它的技术叫DHTML(动态HTML,以后再给大家介绍)。在这篇文章中,先给大家举例介绍一些初级的使用,起到抛砖引玉的作用。更多功能可以参考MSDN-First, you need to embed the process of the browser window.CHtmlViewIEActiveX In fact, no matter what means, in addition to slightly different function names, they were eventually called the Microsoft IWebBrowser2 interface. IWebBrowser2 function very strong, the use of its technology called DHTML (Dynamic HTML, after you give). In this article, for example letting you highlight some of the primary use, the role played congregate. More features can refer to the MSDN
Platform: | Size: 109568 | Author: 王志雄 | Hits:

[Browser ClientWebBrowserTricks1

Description: 浏览器控制技巧之一,演示了以下功能:开,闭前进后退按钮,剪切拷贝粘贴全选功能,自动完成地址框,保存,装载MRUs,避免列表重复项标,准浏览按钮,about,浏览方式、打开保存网页、文件查找对话框、在本页查找、网页文字大小控制、显示进度条、显示当前状态、运行时创建HTML文件。-browser control techniques, demonstration of the following functions : open, closed back and forward buttons, shear-wide elections copy and paste functions, automatic address box, preservation, loading MRUs, avoid duplication of demarcation list, prospective View button about, browsing, keep open the website, file Search dialog box, page location, the website text size control, the progress of the show, showing the current state of operation to create HTML documents.
Platform: | Size: 20480 | Author: 大茂 | Hits:

[OtherHtmlTest

Description: 如何显示模式的HTML对话框(比使用微软的webbrowser控件简单)-How to display HTML dialog model (than the use of Microsoft
Platform: | Size: 3877888 | Author: wang | Hits:

[Web ServerWebBrowser_HTML

Description: 直接访问WebBrowser控件中的HTML源码,不是通过document.body.innerHTML方式,而是通过IPersistStreamInit!-WebBrowser control direct access to the HTML source code, not by document.body.innerHTML way, but through IPersistStreamInit!
Platform: | Size: 9216 | Author: 王风 | Hits:

[Browser ClientHTML_editor_for_VC++_6.0_HtmlEdit_src

Description: html网页编辑,采用CWebbrowser2实现,很不错的,-html web page editor, used to achieve CWebbrowser2, very good,
Platform: | Size: 25600 | Author: 章永辉 | Hits:

[Browser ClientWebBrowser

Description: Web浏览器,浏览网页,支持HTML语言等-Web browser, visit the website to support the HTML language, etc.
Platform: | Size: 83968 | Author: gz208 | Hits:

[Browser ClientdongtaishengchengHTML

Description: 本程序示例了如何利用一个从 CHtmlView 派生的新类 CHtmlCtrl 在对话框(如“关于”对话框)或其它窗口中嵌入web页面以及如何将HTML文件作为资源嵌入在EXE或DLL中。CHtmlView 可以象其它控件一样用于对话框和任何窗口。此外该程序还示范了如何动态构造 HTML 文档串以及禁用浏览器的上下文菜单。-This procedure uses a sample of how to CHtmlView derived from the new class CHtmlCtrl in the dialog box (such as About dialog box) or other windows embedded web page and how to HTML file as a resource embedded in the EXE or DLL in. CHtmlView can be the same as other controls for the dialog and any window. In addition the program also demonstrated how the dynamic structure HTML documents as well as the string to disable the browser s context menu.
Platform: | Size: 375808 | Author: | Hits:

[Browser Clientmyhtml

Description: 该程序使用Webbrowser控件使得对话框显示/打开网页,并利用默认浏览器打开网页,功能列表如下: 1)对话框内部显示HTML网页. 2)利用默认浏览器打开网页. 3)利用程序中调用网页对话框打开网页.-The program makes use of webbrowser control dialog show/open web page, and use the default browser to open web pages, list of features is as follows: 1) internal display HTML pages dialog .2) using the default browser to open pages .3) the use of the procedure to call the page dialog box to open the page.
Platform: | Size: 55296 | Author: 刘胜 | Hits:

[MiddleWaredlgDHTMLEvents

Description: [ShowHtmlSource.rar] - 获得WebBrowser控件中的HTML源码 [MyBand.rar] - ie band包括浏览框、桌面框、工具条,Explore Bar 、Tool Bar、Desk Bar [Charging_system.rar] - 该计费系统实现读取FTP服务器上的日志文件,对其进行分析,并结合计费规则分别计算每个用户费用。-[ShowHtmlSource.rar]- access WebBrowser control in the HTML source code [MyBand.rar]- ie band including the browser frame, desktop box, Toolbar, Explore Bar, Tool Bar, Desk Bar [Charging_system.rar]- The Billing System achieve read FTP server log files, analyze them and, in conjunction with billing rules for each user costs were calculated.
Platform: | Size: 21504 | Author: wuguo | Hits:

[ISAPI-IEcustwbc

Description: CustWBC 例子说明怎样控制一个ATL包含的WebBrowser 控件 CustWBC sample shows how to control the WebBrowser control that is embedded in an ATL HTML control-CustWBC examples to illustrate how the control of an ATL contains WebBrowser control CustWBC sample shows how to control the WebBrowser control that is embedded in an ATL HTML control
Platform: | Size: 28672 | Author: 杀手K | Hits:

[Delphi VCLwebbrowser

Description: webbrowser 嵌入HTML代码(OEM界面),用delphi编写。-webbrowser Embed HTML code (OEM interface), prepared using delphi.
Platform: | Size: 180224 | Author: lvjianjun | Hits:

[Internet-Networkvbmhwb

Description: 自己编写的vb 网页多窗口浏览器,支持多窗口,可以智能判断网页是否下载完毕。普通的WebBrowser 很难判断网页下载完毕,可以单独设置不显示图片、动画、脚本-Vb web pages I have written multi-window browser, support multi-window, the page can be smart to judge whether the download is complete. It is difficult to tell the WebBrowser general download page, you can not show a separate picture, animation, script
Platform: | Size: 391168 | Author: zhaoqqq | Hits:

[Delphi VCLWebBrowser

Description: 直接访问WebBrowser控件中的HTML源码-WebBrowser control in direct access to HTML source
Platform: | Size: 23552 | Author: xjgyq | Hits:

[EditorHtmlEditor

Description: 本程式能建立一個所視即所得(WYSIWYG)的 HTML 編輯器.-Full WYSIWYG HTML editor- This editor was created to eliminate this dependence, using only managed code and the implementation of the WebBrowser included in the .NET Framework.
Platform: | Size: 33792 | Author: Mandy Yih | Hits:

[Browser Clientwebbrowser

Description: PB调用Microsoft web browser control使用方法-Webbrowser This program shows how to use the . It uses the Web Browser control s Design Mode to allow you to easily create HTML documents. Click here to download the PowerBuilder sample: WEBBROWSER.ZIP Win API Functions used: CloseHandle CreateFile GetDesktopWindow ReadFile ShellExecute
Platform: | Size: 233472 | Author: altob | Hits:

[Windows DevelopWebBrowser-WinForm

Description: Webbrower与.NET的交互技巧,运用HTML梅花界面,事半功倍-Webbrower with. NET' s interactive skills, the use of HTML plum interface more with less
Platform: | Size: 20480 | Author: 孙鹏程 | Hits:

[Browser ClientWebBrowser

Description: 利用Microsoft Web 浏览器控件,实现了对网页控件的操作,例如在编辑框中填写内容,模拟点击按钮,模拟点击链接等-use Microsoft Web Browser to handle with the controls in the html file.
Platform: | Size: 4861952 | Author: 古月 | Hits:
« 12 3 »

CodeBus www.codebus.net