help with activexobject

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    help with activexobject

    Hi, i´m, trying to write a script that test if an aplication is installed
    with this piece of code:

    function IsMPInstalled()
    {
    try {
    var oMP = new ActiveXObject(" webex");
    return true;
    }
    catch(e) {
    return false;
    }
    }

    The problem is that where i have written "webex", i should write the correct
    name of the object, but i don´t know it. How can i guess it? Is there a list
    where i can get the name of the object that correspond with an application?


  • Thomas 'PointedEars' Lahn

    #2
    Re: help with activexobject

    qqq@ono.com wrote:[color=blue]
    > function IsMPInstalled()
    > {
    > try {
    > var oMP = new ActiveXObject(" webex");
    > return true;
    > }
    > catch(e) {
    > return false;
    > }
    > }
    >
    > The problem is that where i have written "webex", i should write the correct
    > name of the object, but i don´t know it. How can i guess it? Is there a list
    > where i can get the name of the object that correspond with an application?[/color]

    I do not know. What object are you looking for?
    If "MP" means "Microsoft Media Player", read
    <http://msdn.microsoft. com/library/default.asp?url =/library/en-us/wmplay/mmp_sdk/windowsmediapla yer9seriessdk.a sp>


    PointedEars

    Comment

    Working...