如何将值从ActiveX返回到HTML [英] How to return a value from ActiveX to HTML
问题描述
我已经使用VB.NET完成了ActiveX,除了最后一部分: - 将值返回到使用ActiveX的HTML页面。
这是我的第一次写一个,所以真的需要这方面的帮助,因为我无法在网上找到它并花了整个周末试图通过试验和错误弄明白。
谢谢和风流圣诞! :)
I''ve completed the ActiveX using VB.NET except for the last part:- to return a value to the HTML page that is using the ActiveX.
This is my first time writing one so really need help on this part as I cant find it on the web and had spent the whole weekend trying to figure it out through trials and errors.
Thanks and Merry Christmas! :)
推荐答案
如果你想将值传递给html,你可以像下面这样使用
例如我有将值传递给html中的文本框
代码背后我将编写一个函数
If you want to pass the values to html you can use like the following
For Example i have to pass the value to textbox in html
in code behind i will write a function
我已经使用VB.NET完成了ActiveX,除了最后一部分: - 将值返回到使用ActiveX的HTML页面。 br />
这是我第一次写一篇真实的文章因为我无法在网上找到并且花了整个周末试图通过试验和错误来解决这个问题,所以需要这方面的帮助。
谢谢,圣诞快乐! :)
I''ve completed the ActiveX using VB.NET except for the last part:- to return a value to the HTML page that is using the ActiveX.
This is my first time writing one so really need help on this part as I cant find it on the web and had spent the whole weekend trying to figure it out through trials and errors.
Thanks and Merry Christmas! :)
要检索ActiveX使用的任何数据,您将不得不编写一些JavaScript来为您完成工作。
查看此主题。
>
-Frinny
To retrieve any data that your ActiveX uses, you''re going to have to write some JavaScript to do the job for you.
Check out this thread.
-Frinny
要检索ActiveX使用的任何数据,您将不得不编写一些JavaScript为你做这份工作。
查看这个主题。
-Frinny
To retrieve any data that your ActiveX uses, you''re going to have to write some JavaScript to do the job for you.
Check out this thread.
-Frinny
我用我发现的相同样本走了那条路ActiveX加载但我只是无法使用Javascript获得价值。
你能做到吗?你能告诉我你对该样本的完整脚本吗?
I''ve been down that road using the same sample I found, the ActiveX loaded but I just couldnt get the value out using the Javascript.
Are you able to? Can you show me the full script you have on that sample?
这篇关于如何将值从ActiveX返回到HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!