473,473 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to remove or automatically accept the Internet explorer confirmation box

Hi all,

Im written a small javascript program. Once it finishs I want to close
the internet explorer page. I have used window.close(); when this runs
it pops up with a Internet Explorer Dialog box, saying if I want to
close this page.

Is there a way to automate this process?? I also have the problem with
var fso = new ActiveXObject('Scripting.FileSystemObject');

Saying that I have to accept the Active X.
Thanks Mark
Jul 23 '05 #1
3 2808
Lee
Mark said:

Hi all,

Im written a small javascript program. Once it finishs I want to close
the internet explorer page. I have used window.close(); when this runs
it pops up with a Internet Explorer Dialog box, saying if I want to
close this page.

Is there a way to automate this process?? I also have the problem with
var fso = new ActiveXObject('Scripting.FileSystemObject');

Saying that I have to accept the Active X.


These are security features designed to prevent you from automating
things that the user might not like. It would be profoundly foolish
for a browser to allow you to automate around them.

Jul 23 '05 #2
Hi I just want to run a javascript code automatically, without entering
data

Jul 23 '05 #3
In article <61*************************@posting.google.com> ,
mm******@tpg.com.au (Mark) wrote:
Is there a way to automate this process?? I also have the problem with
var fso = new ActiveXObject('Scripting.FileSystemObject');


If this file is on your machine, you can change the filetype to hta.
You can change your security settings.

Robert
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Raymond H. | last post by:
Hello, I create a vb4 project which can also naviger on Internet via the WebBrowser control which I put on my form. My question is: if this program is installed on a station having already...
7
by: Steve | last post by:
string str ="\"C:\Program Files\Internet Explorer\iexplore.exe\" -nohome" How can I remove charcter to string str = ="C:\Program Files\Internet Explorer\iexplore.exe -nohome"
3
by: Dan Nash | last post by:
Hi guys Is there a way to get rid of the "- Microsoft Internet Explorer" part of the title bar? I've got a popup with "Contact Details :: " and it just looks untidy with the IE stuff. Cheers...
3
by: Hitesh | last post by:
Hi, I am having a secure site, i am calling a popup window on the click of a link by usin g "Window.open()" method. The problem i am facing is when the popup appears its having the URL in the...
7
by: Robert Adkison | last post by:
I need to print a web page. It is my preference that my users just do a File/Print from explorer. That way my users will get the print dialog that will allow them to select the fax printer. The...
2
by: CathieC | last post by:
I have a websote developed using visual studio 2005 beta , .net version 2 i deploy my application to a server and it is run from client computers. One of the users gets the error "Internet...
3
by: laredotornado | last post by:
Hi, This problem only affects PC IE. On a secured page (a page visited via https), there is a link that reads -- "Download HTML File". The link connects to this page <?php...
9
by: Etayki | last post by:
Hi! I am new to VB.net and I am using the Visual Basic 2005 Express Edition I have two questions: 1. I am trying to write an application that will automate Internet Explorer and store data...
5
by: davidson1 | last post by:
Hai friends.... i am using internet explorer...there are so many url are stored in address bar in internet explorer....how to remove it...can u help me... Thanks in advance......
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,...
1
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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.