473,396 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Change internet options through java script

am developing a project in vb.net. In that am using a following java script function to run an exe.

<script language="javascript" type="text/javascript">
function opennotepad()
{
var sh=new ActiveXObject("Wscript.Shell");
sh.Run("iexplore.exe");
window.close();
}
</script>

it is working well but i have to set tools->internet options->security->custom level->initialize and script activex control not marked as safe to enable.

If we do the same process in IE 7 it is working well but it will give the following information in the yellow information bar at the top of the browser.

“Current security settings put your computer at risk click here to change your settings.”

wt shall i do for this?
is it possible to set this internet option through java script?
or is it possible run this exe without setting this internet option?

yaso
Aug 13 '07 #1
2 2027
kestrel
1,071 Expert 1GB
Im going to move this to the Javascript forum. Have a nice day!

--
Kestrel
Aug 13 '07 #2
acoder
16,027 Expert Mod 8TB
The settings are there for a reason: to prevent malicious programs from running without user intervention.

I don't think you can change the settings using Javascript. If you could, it would be an even bigger security hole than it currently is.
Aug 13 '07 #3

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

Similar topics

2
by: Yve | last post by:
Hallo, this testweb works well in Mozilla and Netscape but not in Internet Explorer. http://www.netzwerkservice.com/test/frame/test_javascript_1007/ As I am not good at JavaScript I have...
5
by: Edward Mitchell | last post by:
Is there a way that I can repair MS Internet Explorer? I seem to have broken it somewhere. I have been developing a .NET app. Three days ago I saw a message box in a web site that I visit saying...
4
by: Richard Cornford | last post by:
For the last couple of months I have been trying to get the next round of updates to the FAQ underway and been being thwarted by a heavy workload (the project I am working on has to be finished an...
2
by: Nick Calladine | last post by:
Is this possible to ... I wish to get the value of a dropdown select but gets is indexable value (dont know if that is the right term) if that is possible (the position it assigned get assigned...
1
by: Java Writer via .NET 247 | last post by:
Hey Mon!, This runs and gives me a 'iLen' of 4 but returns empty string. I am guessing this is the programmatic way to check Internet Explorer. {Tools}-{Internet Options)-(Settings...). Even...
8
by: mouac01 | last post by:
I'm not sure if this is possible. I would like to have a PHP app on the Internet connect and write to a local database (Intranet). For example, users would go to a web site...
2
by: manishamca | last post by:
In dropdown i am retriving value from the backend. For eg: in the dropdown list the value selected are employee id..then i want to disply the emp name,job etc in the textbox. If i select a...
5
by: mukeshrasm | last post by:
Hi I am using AJAX to display the value in selection/list box. this code is working fine in Firefox Mozila browser but it is not working in Internet Explorer so please tell me how this will work...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
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...

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.