javascript - I would like to interactively detect when an ActiveX component has been installed, and asynchronously refresh a portion of the page -
I am working on a website, and I want to refresh a portion of the page after the ActiveX component is installed . There is a general idea of doing this with voting on me, on which I am working:
function detectComponentThenSleep () {try // is available, or // ActiveXComponent.object == Faucet --- Exam for existence document .getElementById ("ActiveXComponent"). Some Method (); } Hold {// Retry, if the method is not available, setTimeout (detectComponentThenSleep, 100); }}
However, what I should do is something like this:
ActiveXObject.addListener ("onInstall", myfunction);
I do not really have the source of ActiveX component, but I have full control of the page on which I am hosting it. I would like to use Javascript, if possible,
to complete it, then my question 1.) Will this really work with voting method? And 2.) Is there a hurdle like this? I am sure that I am missing something with adding points here, I can already find out that the component exists, but I am having trouble in doing it asynchronously
Thank you very much for the time and support,
- Brian J. STEINAR -
1) It does not work at all with the voting process. 2.) I could not find a barrier / audience route to do this.
Eventually, I ended up putting it on my own page by adding the whole activation consignment. ActiveX refreshes on installing a page, so I had default page behavior, as the component was not available when component was not available This is different from what I was trying to do, but for my purposes Worked fine
In the same situation, my recommendation is only to insert an ActiveX component on your page, and pass data back and forth from this page. Otherwise, you probably have many problems that I had.
- Brian J. Steiner -
Comments
Post a Comment