- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
直接访问webbrowser控件中的html源码(Directly access the HTML source in the WebBrowser control)
直接访问webbrowser控件中的html源码(Directly access the HTML source in the WebBrowser control)
Direct access to the WebBrowser control HTML source.Txt are not afraid of thieves with tools, afraid of thieves! 1 taste life, perfect human nature. Being is opportunity, thinking can improve. People need to constantly break themselves, but should re assemble themselves. Directly access the HTML source in the WebBrowser control
Author: Lu Xiaohai
- in order to display HTML documents in our programs, we generally use TWebBrowser, a ActiveX control that comes with the release of IE (Internet Explorer, referred to in this article as IE). The control uses the same kernel and IE, powerful, and starting from the Delphi5, formally by Inprises support, instead of the original THTML control, the preferred control display HTML document Delphi be.
But in the actual process of programming, I found the controls will have many limitations, such as browsing of HTML documents, can only be achieved by specifying the URL or file name, not like in the past to use THTML controls as directly read and write HTML source code. Therefore, if a program dynamically generates a HTML text, it must first write the text content to a temporary file, and then pass the file name to the WebBrowser control to display it. Taking this detour has greatly affected the speed of the program response, and it is easy to leave behind some junk (temporary documents).
In investigated using WebBrowser control procedures, I find that most programs, such as the famous domestic FoxMail software, is a method for transmitting HTML documents through the use of temporary files; but some foreign software, such as MSs own OutLook Express are not the problem, but because of its without creating a temporary file. So the display speed of HTML document was more than Foxmail.
For this reason, I looked up some relevant information, and finally in the help of users found a direct access to the WebBrowser control HTML source code. Special thanks t
您可能关注的文档
- 用什么办法能最有效的减轻压力(What can be the most effective way to relieve stress).doc
- 用tmpgenc 将 avi 转 svcd,vcd 的人必犯的严重错误设定(Using TMPGEnc to turn avi to SVCD, VCD people must commit a serious error setting).doc
- 用友软件应收款、应付款模块操作教程(UFIDA Software receivables, payable module operations tutorial).doc
- 生长激素缺乏症(Growth hormone deficiency).doc
- 用kmplayer看高清hd影片的最优设置方案(Using KMPlayer to see the best scheme of High Definition HD Movie).doc
- 用好autocad的线型比例(Use the linear ratio of AutoCAD).doc
- 用心做事展(Doing things by heart).doc
- 用于圆片级封装的金凸点研制(Development of gold bumps for wafer level packaging).doc
- 用嗅觉再深入认识中药药性(Further understanding of Chinese medicine properties with olfaction).doc
- 用心服务,真诚无限(Sincere service, infinite sincerity).doc
- 职业技术学院2024级工业机器人技术(安装与维护)专业人才培养方案.docx
- 职业技术学院2024级应用化工技术专业人才培养方案.pdf
- 职业技术学院2024级软件技术(前端开发)专业人才培养方案.pdf
- 职业技术学院2024软件技术专业人才培养方案.docx
- 职业技术学院2024级信息安全技术应用(安全运维)专业人才培养方案.docx
- 职业技术学院2024级新能源汽车检测与维修技术(车辆鉴定与评估)专业人才培养方案.pdf
- 职业技术学院2024级石油炼制技术专业人才培养方案.pdf
- 职业技术学院2024级环境监测技术专业人才培养方案.docx
- 职业技术学院2024级汽车制造与试验技术专业人才培养方案.pdf
- 职业技术学院2024级信息安全技术应用专业人才培养方案.pdf
文档评论(0)