我可以在网页中嵌入IE控件吗? [英] Can I embed an IE control in a webpage?

查看:64
本文介绍了我可以在网页中嵌入IE控件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的......不要问为什么 - 它只会让你发狂。这让我很生气只是想想它。我发誓....如果我不需要这份工作,我会告诉'他们在哪里嵌入

他们的webbrowser控件。但是,既然我确实需要它,这是我的问题...


我可以在网页中嵌入IE activex控件吗?我基本上希望

能够将用于创建基于IE的浏览器的相同组件嵌入到

的网页中。


由于IE已经在Windows PC上,他们是否需要加载或者b $ b b注册该组件?我不这么认为。


我可以把它放在可以调整页面大小的DIV中吗?


我用Google搜索这样做的例子(在一个freakin''网页中嵌入一个IE web浏览器控件

),但到目前为止已经干了。有人知道任何

代码显示这种疯狂吗?


感谢您的帮助!


jim

解决方案

嗨jim,


jim schrieb:


我可以在网页中嵌入IE activex控件吗?我基本上希望

能够将用于创建基于IE的浏览器的相同组件嵌入到

网页中。



看看
http://www.lib.tsinghua.edu.cn/chine.../pax06.htm#I54

其中解释了ActiveX和用法。客户没有必要注册对象,但是你必须在我认为的服务器上这样做。


希望这有帮助,


Roland


jim写道:


OK ... Don不要问为什么 - 它会让你疯了。这让我很生气只是想想它。我发誓....如果我不需要这份工作,我会告诉'他们在哪里嵌入

他们的webbrowser控件。但是,既然我确实需要它,这是我的问题...


我可以在网页中嵌入IE activex控件吗?我基本上希望

能够将用于创建基于IE的浏览器的相同组件嵌入到

的网页中。


由于IE已经在Windows PC上,他们是否需要加载或者b $ b b注册该组件?我不这么认为。


我可以把它放在可以调整页面大小的DIV中吗?


我用Google搜索这样做的例子(在一个freakin''网页中嵌入一个IE web浏览器控件

),但到目前为止已经干了。有人知道任何

代码显示这种疯狂吗?


感谢您的帮助!


jim



目标是什么?只是直接嵌入

activex控件,而不是嵌入IE控件和

加载activex控件,你不会得到同样的效果吗?


-
http://weblog.mkronline.com /


是的,虽然可能会警告用户运行active / x控件。


你可以使用iframe获得相同的效果(这实际上是一个单独的

即实例并且具有大多数相同的事件)。


你可以放一个iframe或者div中的active / x控件,但是他们不会自行调整
。你将需要客户端脚本来调整它们的大小。


- bruce(sqlwork.com)


jim写道:


好​​的......不要问为什么 - 它只会让你疯狂。这让我很生气只是想想它。我发誓....如果我不需要这份工作,我会告诉'他们在哪里嵌入

他们的webbrowser控件。但是,既然我确实需要它,这是我的问题...


我可以在网页中嵌入IE activex控件吗?我基本上希望

能够将用于创建基于IE的浏览器的相同组件嵌入到

的网页中。


由于IE已经在Windows PC上,他们是否需要加载或者b $ b b注册该组件?我不这么认为。


我可以把它放在可以调整页面大小的DIV中吗?


我用Google搜索这样做的例子(在一个freakin''网页中嵌入一个IE web浏览器控件

),但到目前为止已经干了。有人知道任何

代码显示这种疯狂吗?


感谢您的帮助!


jim


OK...Don''t ask why - it''ll just make ya mad. It makes me mad just thinking
about it. I swear....if I didn''t need this job, I''d tell ''em where to embed
their webbrowser control. But, since I do need it, here are my questions...

Can I embed an IE activex control in a webpage? I basically would like to
be able to embed the same component used to create IE-based browsers into a
webpage.

Since IE is already on Windows PCs already, would they have to load or
register the component? I wouldn''t think so.

Can I put it in a DIV that will resize with the page?

I Googled for an example of doing this (embedding an IE webbrowser control
in a freakin'' webpage), but have come up dry so far. Anybody know of any
code showing such lunacy?

Thanks for your help!

jim

解决方案

Hi jim,

jim schrieb:

Can I embed an IE activex control in a webpage? I basically would like to
be able to embed the same component used to create IE-based browsers into a
webpage.

have a look at
http://www.lib.tsinghua.edu.cn/chine.../pax06.htm#I54
where ActiveX and the usage is explained. The clients don''t have to
register the object, but you have to do so on the server I think.

Hope this helps,

Roland


jim wrote:

OK...Don''t ask why - it''ll just make ya mad. It makes me mad just thinking
about it. I swear....if I didn''t need this job, I''d tell ''em where to embed
their webbrowser control. But, since I do need it, here are my questions...

Can I embed an IE activex control in a webpage? I basically would like to
be able to embed the same component used to create IE-based browsers into a
webpage.

Since IE is already on Windows PCs already, would they have to load or
register the component? I wouldn''t think so.

Can I put it in a DIV that will resize with the page?

I Googled for an example of doing this (embedding an IE webbrowser control
in a freakin'' webpage), but have come up dry so far. Anybody know of any
code showing such lunacy?

Thanks for your help!

jim

What is the goal? Wouldn''t you get the same effect by just embedding the
activex control directly rather than embedding the IE control and
loading the activex control in it?

--
http://weblog.mkronline.com/


yes, though the users may be warned about running an active/x control.

you can get the same effect with an iframe (which is really a seperate
ie instance and has most of the same events).

you can put an iframe or active/x control in a div, but they will not
resize on their own. you will need client script to size them.

-- bruce (sqlwork.com)

jim wrote:

OK...Don''t ask why - it''ll just make ya mad. It makes me mad just thinking
about it. I swear....if I didn''t need this job, I''d tell ''em where to embed
their webbrowser control. But, since I do need it, here are my questions...

Can I embed an IE activex control in a webpage? I basically would like to
be able to embed the same component used to create IE-based browsers into a
webpage.

Since IE is already on Windows PCs already, would they have to load or
register the component? I wouldn''t think so.

Can I put it in a DIV that will resize with the page?

I Googled for an example of doing this (embedding an IE webbrowser control
in a freakin'' webpage), but have come up dry so far. Anybody know of any
code showing such lunacy?

Thanks for your help!

jim


这篇关于我可以在网页中嵌入IE控件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆