473,513 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

running .exe program from javascript in IE8

13 New Member
Dear Friend,
I am trying to run a .exe program using javascript from IE8
It is not not working. I thing there are some settings in Internet Explorer 8 to allow execution of .exe. Please let me know. Also one more thing there are some ActiveX scripts, how to allow IE8 to run ActiveX without prompting.
Rgds,
Aug 14 '10 #1
3 3406
gits
5,390 Recognized Expert Moderator Expert
you might get that to work only on a local machine - for plain security reasons ... you cannot set security relevant settings on other machine's browsers without permission of the user ... so the prompt will hopefully always occur for such things. so are you trying that for a local machine?
Aug 14 '10 #2
su817200
13 New Member
yes I am trying that for a local machine?How to get .exe files running from IE8. Please let me know.
Aug 15 '10 #3
gits
5,390 Recognized Expert Moderator Expert
in this case you might try something like this:

Expand|Select|Wrap|Line Numbers
  1. var WshShell = new ActiveXObject('WScript.Shell');
  2. WshShell.Exec('foo.exe'); 
you might have an additional look here for the docs of the WSH ...
Aug 15 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
7455
by: bbxrider | last post by:
for win2k adv server/iis5.0 trying to run an external program from my asp routine that has multiple parameters, see following set shell = server.createobject("wscript.shell") shell.Run...
2
1412
by: UJ | last post by:
I've got a program that will do some updates to the system. During that time, if a certain program, called a.exe is running, I want to stop the program, do what I need to do and restart the...
4
5987
by: Nick Sinclair | last post by:
Hi all, I'm new to C. I have successfully written a small C program that acts as a "wrapper" around cgi scripts. These scripts perform admin tasks such as backing up etc. Obviously, The need...
0
1329
by: joeted | last post by:
Hi, I am using system.diagnostic.process with the intention of running a program to communicate with a unix box: The program is "PuTTY", running from a batch script. I know it works because...
1
1287
by: thomas.dahr | last post by:
Hi, How do I pick up a running program and bring it up front when I click it's shortcut, instead of starting a new copy of it? I know how to block by using CreateMutex, but how to activate the...
1
1729
by: utpal | last post by:
Hi, My CSharp program, when I run from the local drive it can create/modify registry. However running the program from a network drive, gives RegistryPremission error. I don't belive that just by...
14
3420
by: fdu.xiaojf | last post by:
Hi, I have a program which will continue to run for several days. When it is running, I can't do anything except waiting because it takes over most of the CUP time. Is it possible that the...
0
1448
by: SapAddonDeveloper | last post by:
Hello, I am writing an add-on using vbnet/c# that runs inside a Sap B1 application. I need to be able to change the input language (little blue white icon on the system tray) on certain...
2
1415
by: Paul Rubin | last post by:
I have a long-running program that has lots of net connections open on separate threads. I'm twiddling my thumbs waiting for it to finish (each run takes maybe an hour) and although I'm logging...
3
2720
by: Ankit Khare | last post by:
"The heap grows and the stack decreases, both approach towards each other, if they crosses each other, program crashes" I have read this at a number of places but am confused in it. Each running...
0
7177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7559
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7123
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5701
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.