By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,187 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,187 IT Pros & Developers. It's quick & easy.

bypass open/save/cancel dialog box

P: n/a
how can I bypass the open/save/cancel dialog box and have the document requested open directly in the application associated with
the file type ?

Jan 22 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
You cannot.
This is a browser security feature.
Would you want some rogue web site opening documents (that may or may not be
infected) on your computer without your permission?

The only way would probably be if you had an embedded ActiveX control and
the user accepted its security warning.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:uJ**************@TK2MSFTNGP02.phx.gbl...
how can I bypass the open/save/cancel dialog box and have the document
requested open directly in the application associated with the file type ?
Jan 22 '07 #2

P: n/a
I understand the security issue, but it seems I've seen sites where a downloaded document is opened in a new window...or is this is
old style, eliminated as security over time has been upgraded ?

"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in message
news:94**********************************@microsof t.com...
You cannot.
This is a browser security feature.
Would you want some rogue web site opening documents (that may or may not be infected) on your computer without your permission?

The only way would probably be if you had an embedded ActiveX control and the user accepted its security warning.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message news:uJ**************@TK2MSFTNGP02.phx.gbl...
>how can I bypass the open/save/cancel dialog box and have the document requested open directly in the application associated with
the file type ?

Jan 22 '07 #3

P: n/a
You can specify that you want a document opened in a new window or the same
window, but the user must still accept the opening of the file via a dialog
box. This security feature has been in place for many years; ever since I
can remember.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:OV**************@TK2MSFTNGP02.phx.gbl...
>I understand the security issue, but it seems I've seen sites where a
downloaded document is opened in a new window...or is this is old style,
eliminated as security over time has been upgraded ?

"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:94**********************************@microsof t.com...
>You cannot.
This is a browser security feature.
Would you want some rogue web site opening documents (that may or may not
be infected) on your computer without your permission?

The only way would probably be if you had an embedded ActiveX control and
the user accepted its security warning.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:uJ**************@TK2MSFTNGP02.phx.gbl...
>>how can I bypass the open/save/cancel dialog box and have the document
requested open directly in the application associated with the file type
?

Jan 22 '07 #4

P: n/a
assuming they accept it , how do I get it to open in a window instead of the application. Such as a pdf file ?
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in message
news:B1**********************************@microsof t.com...
You can specify that you want a document opened in a new window or the same window, but the user must still accept the opening of
the file via a dialog box. This security feature has been in place for many years; ever since I can remember.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message news:OV**************@TK2MSFTNGP02.phx.gbl...
>>I understand the security issue, but it seems I've seen sites where a downloaded document is opened in a new window...or is this
is old style, eliminated as security over time has been upgraded ?

"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in message
news:94**********************************@microso ft.com...
>>You cannot.
This is a browser security feature.
Would you want some rogue web site opening documents (that may or may not be infected) on your computer without your permission?

The only way would probably be if you had an embedded ActiveX control and the user accepted its security warning.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message news:uJ**************@TK2MSFTNGP02.phx.gbl...
how can I bypass the open/save/cancel dialog box and have the document requested open directly in the application associated
with the file type ?



Jan 22 '07 #5

P: n/a
Well a PDF file can generally only be opened by Adobe Acrobat, so you'd have
to launch that.

I suppose you could export the content to HTML format and then you could
display it in a window without the application and without security
problems.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:uu**************@TK2MSFTNGP04.phx.gbl...
assuming they accept it , how do I get it to open in a window instead of
the application. Such as a pdf file ?
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:B1**********************************@microsof t.com...
>You can specify that you want a document opened in a new window or the
same window, but the user must still accept the opening of the file via a
dialog box. This security feature has been in place for many years; ever
since I can remember.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:OV**************@TK2MSFTNGP02.phx.gbl...
>>>I understand the security issue, but it seems I've seen sites where a
downloaded document is opened in a new window...or is this is old style,
eliminated as security over time has been upgraded ?

"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:94**********************************@microsof t.com...
You cannot.
This is a browser security feature.
Would you want some rogue web site opening documents (that may or may
not be infected) on your computer without your permission?

The only way would probably be if you had an embedded ActiveX control
and the user accepted its security warning.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:uJ**************@TK2MSFTNGP02.phx.gbl...
how can I bypass the open/save/cancel dialog box and have the document
requested open directly in the application associated with the file
type ?
>
>
>

Jan 22 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.