By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,817 Members | 2,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,817 IT Pros & Developers. It's quick & easy.

ActiveX Object, redirection if installation fails

P: n/a
Hi,

I have an object tag in my html page.
I try to install an MSXML-ActiveX
..
..
..
<OBJECT id="MSXML4"
classid="clsid:88d969c0-f192-11d4-a65f-0040963251e5"
codebase="http://www..../msxml4.cab#version=4,10,9404,0"
type="application/x-oleobject"
STYLE="display: none"
standby="ww">
Alternative Text
</OBJECT>

The "Alternative Text" is shown, if installing fails. Cause could be:
No admin rights.

Instead of showing such a text, I want to redirect to another url, to
show help for installing manually.

How can I?

Thanks in advance

Cornelius
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

Cornelius wrote:
Hi,

I have an object tag in my html page.
I try to install an MSXML-ActiveX
.
.
.
<OBJECT id="MSXML4"
classid="clsid:88d969c0-f192-11d4-a65f-0040963251e5"
codebase="http://www..../msxml4.cab#version=4,10,9404,0"
type="application/x-oleobject"
STYLE="display: none"
standby="ww">
Alternative Text
</OBJECT>

The "Alternative Text" is shown, if installing fails. Cause could be:
No admin rights.

Instead of showing such a text, I want to redirect to another url, to
show help for installing manually.

How can I?

Thanks in advance

Cornelius


The easiest and most reliable way is to replace the "Alternative text"
by a link to the help page. For example:

Installation failed, <A HREF="help.html">Click</A> for help.

Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jul 20 '05 #2

P: n/a
Try this,
<OBJECT id="MSXML4"
classid="clsid:88d969c0-f192-11d4-a65f-0040963251e5"
codebase="http://www..../msxml4.cab#version=4,10,9404,0"
type="application/x-oleobject"
STYLE="display: none"
standby="ww">
Alternative Text
</OBJECT>

<script>
//if msxml4 is not installed
if( !document.MSXML4 ){
document.loction.href = "SomePage.html"
}

</script>

Hope this helps you,
Kiran Makam
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.