URLs and Open/Save/Cancel Dialog

P

Phil

Hi,
Two items:

1.
I have a question that is actually going a bit over the
frontpage scope, yet still relevant to this newsgroup.
I am using a winXP Pro platform, SP1, my box is fully
loaded, so is my brain, etc.
My issue (which I am trying to resolve both through
Frontpage html, and asp, pages running in an IE6 browser,
and other executables, such as, but no limited to, flash
executables, as an example) is: how could I bypass the
message prompting for Open/Save/Cancel, at 'download'
time via IE6 (and also Mozilla), when I want to open
a .exe or a shortcut, or other types of files that are
not .html or .asp?
I tried, as a last resort, to use Mozilla instead of IE6
to open, as an example, a .mdb file, via a, html page
(<a> Href etc.), and the first time I was able to tag
the 'do not prompt' option, and proceed. However, each
subsequent try yieled the Open/Save/Cancel dialog.
I read in the help that there is no way to prevent to
prompt in question for .exe and .com files. Fair
enough. Why the .mdb? And most importantly, is there
any arcane way to reset to tag to 'do not prompt for this
kind of question' in any way, even dynamicallt at
execution time? Perhaps a registry guru can help me here?
Puzzled. Tried my best, but I am not good enough.

2.
In the same trail of thought, I am trying to close an IE6
window after having called a URL via the following
statement:

<p>Manage My Computer, Folders, and Documents Via <a
href= "JavaScript: window.open
('../../../../Search.lnk');window.close();">Microsoft
Windows XP Professional Explorer</a> ™</p>

(in which Search.lnk is a shortcut on my desktop, mapping
to : %SystemRoot%\explorer.exe, starting in : %HOMEDRIVE%%
HOMEPATH%),

and my question is that I would like to be able to
suppress the dialog telling me that
"The web page you are viewing is trying to close the
window." "Do you want to close this window YES/NO?".

If the URL was an html or an asp, I could probably
program some fancy jscript or vbsript to time out the
initial page, and the unload it, but I don't really know
where to start. in addition, sometimes I am calling
a .exe, and sometimes an OS component, so there,
obviously I do not have access to any code.
Puzzled, and ignorant here;-)



If anyone has a solution, for 1. or 2., or both, I would
greatly appreciate.
Thank you very much.
 
S

Stefan B Rusynko

1) Prevented for security reasons and will always appear of the file type is not a recognized mime type
2) Also blocked to prevent malicious hijacking of your browser
- you can close the window you opened w/ JavaScript w/o a prompt



| Hi,
| Two items:
|
| 1.
| I have a question that is actually going a bit over the
| frontpage scope, yet still relevant to this newsgroup.
| I am using a winXP Pro platform, SP1, my box is fully
| loaded, so is my brain, etc.
| My issue (which I am trying to resolve both through
| Frontpage html, and asp, pages running in an IE6 browser,
| and other executables, such as, but no limited to, flash
| executables, as an example) is: how could I bypass the
| message prompting for Open/Save/Cancel, at 'download'
| time via IE6 (and also Mozilla), when I want to open
| a .exe or a shortcut, or other types of files that are
| not .html or .asp?
| I tried, as a last resort, to use Mozilla instead of IE6
| to open, as an example, a .mdb file, via a, html page
| (<a> Href etc.), and the first time I was able to tag
| the 'do not prompt' option, and proceed. However, each
| subsequent try yieled the Open/Save/Cancel dialog.
| I read in the help that there is no way to prevent to
| prompt in question for .exe and .com files. Fair
| enough. Why the .mdb? And most importantly, is there
| any arcane way to reset to tag to 'do not prompt for this
| kind of question' in any way, even dynamicallt at
| execution time? Perhaps a registry guru can help me here?
| Puzzled. Tried my best, but I am not good enough.
|
| 2.
| In the same trail of thought, I am trying to close an IE6
| window after having called a URL via the following
| statement:
|
| <p>Manage My Computer, Folders, and Documents Via <a
| href= "JavaScript: window.open
| ('../../../../Search.lnk');window.close();">Microsoft
| Windows XP Professional Explorer</a> ™</p>
|
| (in which Search.lnk is a shortcut on my desktop, mapping
| to : %SystemRoot%\explorer.exe, starting in : %HOMEDRIVE%%
| HOMEPATH%),
|
| and my question is that I would like to be able to
| suppress the dialog telling me that
| "The web page you are viewing is trying to close the
| window." "Do you want to close this window YES/NO?".
|
| If the URL was an html or an asp, I could probably
| program some fancy jscript or vbsript to time out the
| initial page, and the unload it, but I don't really know
| where to start. in addition, sometimes I am calling
| a .exe, and sometimes an OS component, so there,
| obviously I do not have access to any code.
| Puzzled, and ignorant here;-)
|
|
|
| If anyone has a solution, for 1. or 2., or both, I would
| greatly appreciate.
| Thank you very much.
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top