473,320 Members | 1,862 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,320 software developers and data experts.

bypass open/save/cancel dialog box

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
5 3517
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: eddie wang | last post by:
Excel open automatically without giving a dialog box option to Open/Save/Cancel using filesys.createTextFile. How to pop up the dialog box option to Open/Save/Cancel? Thanks.
1
by: Venkat | last post by:
Hi, I have an file1.exe file stored at some physical location say C:\Test\file1.exe. I created a virtual folder say MyFolder pointing to my physical folder(C:\Test\). I wrote this piece of...
3
by: Newbie | last post by:
I am trying to get the save/open dialog figured out. I am able open the save dialog but when I put in a file name (whatever.txt) and save the file does save with the name but it is blank. Below...
5
by: Quinn | last post by:
When users clicked a unkown mime type link such as Zip on my website, a "Save/Open/Cancel" dialog box pops up. Is there a way to detect which button users clicked by using ASP? actually I only what...
4
by: Jean | last post by:
Hi everyone, I was hoping somebody could assist me in this issue. I am quite a newbie to ODBC connections and was struggling to search for related topics. Here is my situation: I have a...
7
by: theyas | last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE I've asked about this before and didn't get a...
2
by: BusyBoy | last post by:
Hi All I am using two aspx pages The first aspx page loads the second page in a popup window. The second aspx page has no html and I change its content type to download a particular file. ...
2
by: aotemp | last post by:
Is there a way through javascript that would allow me to specify that a user must actually "save" a file? What I mean, is that when the save/open/cancel dialog box opens, I would like my user to...
0
by: ppardi | last post by:
I'm developing an addin for Word 2007 and I need to determine whether a user saves a Word 2007 document in an older format (97-2003) after a save as is done. The scenario is that the user starts...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.