从ASPX页面上的ActiveX控件中检索数据 [英] Retrieving Data from ActiveX Control found on ASPX Page

查看:62
本文介绍了从ASPX页面上的ActiveX控件中检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不敢相信我在问这个。

我到处寻找一个简单问题的答案...


如何从ASPX页面上的ActiveX控件中检索数据?


我从来没有在网页中使用ActiveX控件而且通常我从不会...但是我正在开发的Web应用程序需要一个。


我创建了控件并将其添加到我的asp页面中:

I can''t believe I''m asking this.
I''ve looked everywhere for an answer to what seems to be a simple question...

How do you retrieve data from an ActiveX control found on an ASPX page?

I''ve never used ActiveX controls in a web page and normally I never would...but the web application I''m currently developing requires one.

I''ve created the control and have added it to my asp page like so:

展开 | 选择 | Wrap | 行号

推荐答案

我知道如何从网页本身与它交谈,你可以用它来将它传回服务器:


我从一个例子中得到了这个就在昨天,如果你用对象标签实例化对象,你可以随意使用公共属性。

(因为我的对象是在.net中创建的,所以我必须创建一个接口。可用的公共属性)
Well I know how to talk to it from the webpage itself, you could use that to pipeline it back to the server:

I got this from an example just yesterday, if you instanciate the object with the object tags, you can use the public properties as you like.
(Since my object was created in .net I had to make an "interface" with the public properties available to it)
展开 | 选择 | Wrap | 行号



我知道如何从网页本身与它交谈,你可以用它来将它管道传回服务器:


我昨天从一个例子中得到了这个,如果你用一个实例来实现对象对象标签,您可以根据需要使用公共属性。

(因为我的对象是在.net中创建的,我必须使用可用的公共属性创建一个接口)
Well I know how to talk to it from the webpage itself, you could use that to pipeline it back to the server:

I got this from an example just yesterday, if you instanciate the object with the object tags, you can use the public properties as you like.
(Since my object was created in .net I had to make an "interface" with the public properties available to it)
展开 | 选择 | Wrap | 行号



我知道如何从网页本身与它交谈,你可以使用它将它传回服务器:


我昨天从一个例子中得到了这个,如果你用对象标签实例化对象,你可以使用公共属性喜欢。

(因为我的对象是在.net中创建的,所以我必须创建一个接口。公共财产可用它

...
Well I know how to talk to it from the webpage itself, you could use that to pipeline it back to the server:

I got this from an example just yesterday, if you instanciate the object with the object tags, you can use the public properties as you like.
(Since my object was created in .net I had to make an "interface" with the public properties available to it
...



我不想在那里放一层JavaScript所以之前我对这个建议有抵触。


我的ActiveX控件(在VB6中开发)工作正常。

但是我的.NET版本的控件不起作用。

我假设它是因为某种安全问题阻止它在客户机器上执行。


所以我的下一个问题当然是你知道如何在.NETActiveX之间建立信任吗?控制和客户的操作系统?


再次感谢!


-Frinny

I didn''t want to put a layer of JavaScript in there and so I was resistant to that recommendation before.

My ActiveX control (developed in VB6) works fine.
However my .NET version of the control does not work.
I''m assuming it''s because of some sort of security issue that is preventing it from executing on the client''s machine.

So my next question, naturally, is do you know how to establish a trust between the .NET "ActiveX" control and the client''s Operating System?

Thanks again!

-Frinny


这篇关于从ASPX页面上的ActiveX控件中检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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