Netscape and ActiveX?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kaeli

    Netscape and ActiveX?


    I truely doubt this is possible from everything I've read (without some
    sort of plugin), but can this simple script be made into a javascript
    (instead of vbscript) that would work on Netscape 6+?

    <html>
    <head>
    <title>Untitl ed Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>
    <p>IE only Word export test - test - hi there</p>
    <p>&nbsp; </p>
    <script type="text/vbscript">
    Set wObj = CreateObject("W ord.Application ")
    Set doc = wObj.Documents. Add()
    wObj.Selection. TypeText("Hi there!")
    wObj.Visible = true
    </script>
    </body>
    </html>

    --
    ~kaeli~
    Black holes were created when God divided by 0.



  • Martin Honnen

    #2
    Re: Netscape and ActiveX?



    kaeli wrote:
    [color=blue]
    > I truely doubt this is possible from everything I've read (without some
    > sort of plugin), but can this simple script be made into a javascript
    > (instead of vbscript) that would work on Netscape 6+?
    >
    > <html>
    > <head>
    > <title>Untitl ed Document</title>
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    > </head>
    >
    > <body>
    > <p>IE only Word export test - test - hi there</p>
    > <p>&nbsp; </p>
    > <script type="text/vbscript">
    > Set wObj = CreateObject("W ord.Application ")
    > Set doc = wObj.Documents. Add()
    > wObj.Selection. TypeText("Hi there!")
    > wObj.Visible = true
    > </script>
    > </body>
    > </html>[/color]

    Well, Netscape 7.1 has a function named
    GeckoActiveXObj ect
    that is meant to cover JScript's
    ActiveXObject
    but as far is I understand it currently only allows Windows Media Player
    to be instantiated.
    When I try
    var word = new GeckoActiveXObj ect('Word.Appli cation');
    I get a JavaScript error

    Error: uncaught exception: [Exception... "Unable to create an instance
    of the desired COM classCOM Error Result = 80004005" nsresult:
    "0x80570039 (NS_ERROR_XPC_C OM_CREATE_FAILE D)"

    so I don't think there is a way, not even with Netscape 7.1.
    And nobody seems to know for sure whether there will be any future
    Netscape releases.
    --

    Martin Honnen


    Comment

    • kaeli

      #3
      Re: Netscape and ActiveX?

      In article <3fbcc81c$1@ola f.komtel.net>, mahotrash@yahoo .de enlightened
      us with...[color=blue]
      >
      > so I don't think there is a way, not even with Netscape 7.1.
      > And nobody seems to know for sure whether there will be any future
      > Netscape releases.
      >[/color]

      I didn't think so.
      I guess we're stuck with WebFocus for cross-browser reporting.

      Thanks!


      --
      ~kaeli~
      The man who fell into an upholstery machine is fully
      recovered.



      Comment

      • Marek A. Stepien

        #4
        Re: Netscape and ActiveX?

        Martin Honnen wrote:[color=blue]
        > Well, Netscape 7.1 has a function named
        > GeckoActiveXObj ect
        > that is meant to cover JScript's
        > ActiveXObject
        > but as far is I understand it currently only allows Windows Media Player
        > to be instantiated.[/color]

        Actually, you can change some settings in the defaults/pref/activex.js
        to make Netscape run all the AX controls.

        See http://www.iol.ie/~locka/mozilla/plugin.htm.


        --
        | Marek A. Stepien | marcoos dot org | Linux user #153004 |
        | Powered by Mozilla Thunderbird. Your mail, your way. |

        Comment

        Working...