腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(378)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
4
回答
无法使用
IHTMLDocument2
__ComObject不包含名为“
IHTMLDocument2
2_write”的方法。 后来的话..。
浏览 16
修改于2018-01-10
得票数 6
回答已采纳
1
回答
通过
IHTMLDocument2
和C++更改div
IHTMLDocument2
我试图通过这种方式使用
IHTMLDocument2
接口更改div的内容: IDispatch* mydiv
浏览 5
提问于2017-09-19
得票数 2
回答已采纳
1
回答
用于
IHTMLDocument2
的空闲内存
我使用
IHTMLDocument2
作为如下内容: doc: OleVariant; doc:=CreateComObject(Class_HTMLDOcument) as
IHTMLDocument2
;doc.close; (...)
浏览 2
提问于2014-12-06
得票数 1
回答已采纳
2
回答
如何从
IHTMLDocument2
获取所有mshtml.IHTMLDivElement?
如何从
IHTMLDocument2
获取所有mshtml.IHTMLDivElement?private mshtml.IHTMLDocument2 doc = (
IHTMLDocument2
)WPFBrowser.Document; ???
浏览 2
提问于2012-02-10
得票数 2
回答已采纳
2
回答
IHTMLDocument2
::write()的问题
language=\"JavaScript\">{top.location.href=\"index.php\"}</script></head><body></body></html>"); CComPtr<
IHTMLDocument2
浏览 2
修改于2009-04-13
得票数 4
1
回答
将
IHTMLDocument2
实例分配给TWebBrowser实例
我正在使用
IHTMLDocument2
接口的一个实例来解析一些HTML,如本文所述: DelphiInterface<
IHTMLDocument2
> diDoc2; HRESULT hr可以将上面已经解析的
IHTMLDocument2
直接分配给包含在TWebBrowser中的
IHTMLDocument2
,这样做似乎要快得多。
浏览 6
修改于2021-10-13
得票数 0
回答已采纳
1
回答
IWebBrowser2.Document不返回
IHTMLDocument2
我正在尝试将IWebBrowser2 COM对象转换为
IHTMLDocument2
,以便可以操作IE web浏览器的内容。要从
IHTMLDocument2
对象获取IWebBrowser2对象,我需要做什么?
浏览 2
修改于2016-04-22
得票数 1
回答已采纳
1
回答
IHTMLDocument2
单击后等待加载
我有一个方法,它自动登录到一个网站根据身份验证的输入名称,他们的值,并点击“登录”按钮。登录后,我想导航到需要该身份验证的页面。我已经尝试了这个实现,如下所示: {
浏览 2
提问于2013-07-23
得票数 0
回答已采纳
1
回答
如何在chrome浏览器中获取
IHtmlDocument2
?
在Internet Explorer中,我可以使用
IHtmlDocument2
来获取html文档。HRESULT; Wnd: HWND; document: IDispatch;var lRes: Cardinal; pDoc:
IHTMLDocument
浏览 27
提问于2013-04-18
得票数 2
1
回答
我可以在HttpOnly中使用
IHTMLDocument2
访问ActiveX cookie吗?
能否通过在Internet Explorer11中运行的ActiveX中的
IHTMLDocument2
::cookie访问标记为HttpOnly的会话cookie?以下是来自的代码示例CComBSTR cookie;如果无法通过<e
浏览 0
修改于2018-05-13
得票数 4
2
回答
IHTMLDocument2
-在iframe内单击按钮
child = GetNextWindow(child, 2); return IntPtr.Zero; {
IHTMLDocument2
htmlDocument = null;htmlDocument = ObjectFromLresult(lResult, typeof(IHTMLDocument).GUID, IntPtr.Zer
浏览 1
提问于2013-01-21
得票数 0
1
回答
IHTMLDocument2
并不适用于所有地方
我正在使用下面的代码将一个图像(从DocumentComplete之后的the浏览器控件)加载到pictureBox1这是哪一个更新?或者我不需要从互联网上重新下载图像的代码的任何其他替代方案?
浏览 4
提问于2011-08-28
得票数 0
回答已采纳
2
回答
在Delphi中使用
IHTMLDocument2
悄悄阻止cookies警告
我用
IHTMLDocument2
来抓取一组网站。我正在创建
IHTMLDocument2
实例如下: myDownload : TDownLoadURL; (...)doc := coHTMLDocument.Create as
IHTMLDocument2
; doc.close; (...)如何在静默模式下创建
IHTMLDocument2
?
浏览 0
修改于2014-08-29
得票数 2
回答已采纳
1
回答
为什么
IHTMLDocument2
不等于IHTMLDocument2.body.document?
IHTMLDocument2
doc2 = (pDisp as IWebBrowser2).Document as
IHTMLDocument2
;bool isequal = Marshal.GetIUnknownForObject(doc2) == Marshal.GetIUnknownForObject
浏览 6
修改于2011-11-02
得票数 0
1
回答
IHTMLDocument2
/ IHTMLDocument3帧计数不同
我正在尝试使用IE自动化来处理各种内部网页。其中一些页面使用iframe和框架,因此我们也需要能够在这些框架内进行处理。然而,出现了一些我不能理解的东西。这似乎只发生在IE9上。IE6和IE7按照我们的预期工作,我们还没有在IE8上进行测试
浏览 1
修改于2013-07-27
得票数 0
回答已采纳
1
回答
我在Delphi中从
IHTMLDocument2
获取超链接时遇到了问题
我在Delphi中从
IHTMLDocument2
获取超链接时遇到了一个问题。例如,
IHTMLDocument2
返回的不是完整链接"",而是“about:/explanatory online”。MyInnerText,MyInnerHTML:widestring); resp: TMemoryStream; v: Variant; IdHTTP :=
浏览 72
提问于2019-11-18
得票数 0
回答已采纳
2
回答
如何在Delphi中将事件附加到
IHTMLDocument2
链接元素?
我使用以下代码从
IHTMLDocument2
获取所有链接:var Body:IHTMLElement; i:integer;tmp:IHTMLElement; try Document := (pDisp as IWebbrowser2).Document AS
浏览 0
提问于2009-12-02
得票数 1
回答已采纳
2
回答
IHTMLDocument2
中的EOleException仅在Windows10中写入
、8-32、8-64,IE 8到11的更多版本不适用于新的Windows 10,请参阅代码: IDoc := CreateComObject(Class_HTMLDOcument) as
IHTMLDocument2
</html>"的字符串IDoc := CreateComObject(Class_HTMLDOcument) as
IHTMLDocument2
浏览 5
修改于2015-08-19
得票数 0
1
回答
如何从IE中获取最新的
IHTMLDocument2
对象
目前,我使用MSAA从IE获取
IHTMLDocument2
对象。然而,对于一些复杂的web应用程序,这个
IHTMLDocument2
对象可能包含多个
IHTMLDocument2
对象,其中一些对象不属于当前显示页面,而是属于前一个页面。在我看来,IE有时并不重新定义它的DOM对象,而是不断地在DOM中添加更多的
IHTMLDocument2
对象。我的问题是如何从DOM对象获取当前显示的
IHTMLDocument2
对象。是的,您是对的,我确实使用框架来访问其他
IHTMLDocument2
对象。
浏览 3
修改于2014-02-04
得票数 1
2
回答
如何使用TIdHTTP中的字符串创建
IHTMLDocument2
?
如何将IdHTTP.Get返回的字符串转换为
IHTMLDocument2
浏览 3
修改于2012-12-18
得票数 6
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券