Note that there are some explanatory texts on larger screens.

plurals
  1. POUI notifications and events for object tag / activex control?
    primarykey
    data
    text
    <p>I currently have an ActiveX control deployed to my users as such:</p> <pre><code>&lt;OBJECT ID="ActiveXControl" WIDTH=350 HEIGHT=50 CODEBASE="http://www.mysite.com/activexcontrol.cab" CLASSID="CLSID:12345678-1234-1234-1234-111111222222"&gt; &lt;/OBJECT&gt; </code></pre> <p>Deployment in this manner allows self-registration. The user typically gets the yellow bar (or white popup box at the bottom, in the case of IE9) asking for permission to install. If the user grants permission, IE refreshes the page, then appears to actually download the control from the CODEBASE location. At the completion of the CAB download, then a UAC prompt is typically displayed to the user.</p> <p>The problem I'm having is that my control is 500 KB which is slow to download for some users. They authorize my control (via the yellow IE bar) but then their browser sits there while it downloads the control, and they think nothing is happening, so they refresh the page (bad) or leave (worse). I need to have some sort of progress meter or some sort of "please wait" message that disappears AFTER the control is done loading.</p> <p>To sum it up, there are currently 3 stages:</p> <ol> <li><p>ActiveX deployment page (user has not authorized)</p></li> <li><p>ActiveX deployment page (user has authorized, and IE has refreshed the page)</p></li> <li><p>Control has fully downloaded and is running</p></li> </ol> <p>(remember that stages 1 and 2 will be the same server code, same HTTP GET, and my server will not know the difference.)</p> <p>The problem for me is that the UI is the same for all 3 stages. How can I communicate to the user what is happening? I have tried an approach where I put a "please wait" message on the page, but this has two drawbacks</p> <ul> <li>it doesn't make sense for stage 1. The user doesn't have to wait. They need to authorize the control.</li> <li>I can't make the "please wait" message disappear once I reach stage 3. I tried to put an onload attribute for the OBJECT tag to use some JS to erase the message but IE doesn't seem to obey it.</li> </ul> <p>Any suggestions?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload