470,810 Members | 873 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

ActiveX Object, redirection if installation fails

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
2 5245
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
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.

Similar topics

1 post views Thread by Wm. Scott Miller | last post: by
6 posts views Thread by Steve Richter | last post: by
3 posts views Thread by Steve Richter | last post: by
reply views Thread by Ipsita | last post: by
1 post views Thread by Jayender | last post: by
3 posts views Thread by StinkyDuck | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.