From: Mohd Ebrahim on
Hi,

I'm unable to run the below script in the mozilla browser, i get error
'ActiveXobject not defined'. Is there an alternate way of fixing this in
mozilla?

kindly send me the code or resource links

kindly suggest.

***********************************************************

<html>
<head>
<script language="JavaScript" type="text/javascript">
function execute()
{
var obj = new ActiveXObject( "WScript.Shell" ) ;
obj.Run("notepad.exe") ;
}

</script>
</head>
<body>
<button onclick="execute()">open Notepad</button>
</body>
</html>
From: Jason Keats on
Mohd Ebrahim wrote:
> Hi,
>
> I'm unable to run the below script in the mozilla browser, i get error
> 'ActiveXobject not defined'. Is there an alternate way of fixing this in
> mozilla?
>
> kindly send me the code or resource links
>
> kindly suggest.
>

https://support.mozilla.com/en-US/kb/ActiveX
From: Cubaman on
On Jul 11, 3:06 pm, Mohd Ebrahim
<MohdEbra...(a)discussions.microsoft.com> wrote:
> Hi,
>
> I'm unable to run the below script in the mozilla browser, i get error
> 'ActiveXobject not defined'. Is there an alternate way of fixing this in
> mozilla?
>
> kindly send me the code or resource links
>
> kindly suggest.
>
> ***********************************************************
>
> <html>
>  <head>
>      <script language="JavaScript" type="text/javascript">  
>          function execute()  
>          {  
>            var obj = new ActiveXObject( "WScript.Shell" ) ;
>            obj.Run("notepad.exe") ;  
>         }  
>
>     </script>
>  </head>
>  <body>
>     <button onclick="execute()">open Notepad</button>
>  </body>
> </html>

Firefox does not support ActiveX technology for multiple reasons.

* ActiveX is only available on Windows operating systems, and as a
result webpages that require it will not work on Linux or Mac.
* ActiveX integration with the Windows operating system has made
it a target for malicious software.

http://support.mozilla.com/en-us/kb/activex

Best regards.