PC Review


Reply
Thread Tools Rate Thread

creating ActiveXobject in mozilla, invoking shell commands.

 
 
Mohd Ebrahim
Guest
Posts: n/a
 
      11th Jul 2010
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>
 
Reply With Quote
 
 
 
 
Jason Keats
Guest
Posts: n/a
 
      11th Jul 2010
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
 
Reply With Quote
 
Cubaman
Guest
Posts: n/a
 
      12th Jul 2010
On Jul 11, 3:06*pm, Mohd Ebrahim
<MohdEbra...@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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveXObject("Shell.Application") =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= Microsoft ASP .NET 4 17th May 2007 01:07 PM
Difficulties invoking Explorer as a shell... chris.raplee@gmail.com Windows XP Embedded 5 22nd Jun 2006 09:19 PM
shell commands via ASP George Lake Microsoft ASP .NET 4 9th May 2006 08:14 PM
REPOST: Invoking AT modem type commands programmatically nzpcmad Microsoft Dot NET Compact Framework 5 24th Jan 2005 04:11 AM
Re: Shell commands Dave Peterson Microsoft Excel Misc 0 25th Sep 2003 03:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 AM.