Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > creating ActiveXobject in mozilla, invoking shell commands.

Reply
Thread Tools

creating ActiveXobject in mozilla, invoking shell commands.

 
 
Mohd Ebrahim
Guest
Posts: n/a
 
      07-11-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
 
      07-11-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
 
      07-12-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

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=?= ASP .Net 4 05-17-2007 12:07 PM
ActiveXObject problem - WScript.Shell on Windows 2003 Server Marcin Zmyslowski ASP General 2 06-01-2005 02:23 PM
ActiveXObject, Problem loading into DOM Nomad XML 1 09-10-2004 10:38 PM
ListBox, ActiveXObject =?Utf-8?B?T3Jlbg==?= ASP .Net 1 04-08-2004 09:45 AM
ActiveXObject Oren ASP .Net 1 11-24-2003 07:50 PM



Advertisments