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 ? 5 3536
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******** ******@TK2MSFTN GP02.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 ?
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.netw rote in message
news:94******** *************** ***********@mic rosoft.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******** ******@TK2MSFTN GP02.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 ?
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******** ******@TK2MSFTN GP02.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.netw rote in
message news:94******** *************** ***********@mic rosoft.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******* *******@TK2MSFT NGP02.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 ?
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.netw rote in message
news:B1******** *************** ***********@mic rosoft.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******** ******@TK2MSFTN GP02.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.netw rote in message news:94******* *************** ************@mi crosoft.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******** ******@TK2MSFTN GP02.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 ?
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******** ******@TK2MSFTN GP04.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.netw rote in
message news:B1******** *************** ***********@mic rosoft.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******* *******@TK2MSFT NGP02.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.netw rote in message news:94******** *************** ***********@mic rosoft.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***** *********@TK2MS FTNGP02.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 ? > > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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.
|
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 code to access file1.exe using virtual folder.
<@ Language=JavaScript %>
|
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 is what I have code so far.
Dim phonestreamwriter As StreamWriter
Dim responsedialogresults As DialogResult
SaveFileDialog1.InitialDirectory = Application.StartupPath
responsedialogresults = SaveFileDialog1.ShowDialog
|
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 to record the "valid"
click -- when Open/Save was clicked.
Thanks ahead.
Quinn
|
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 Access 2000 .mdb file which has several linked tables to a
ODBC data source, namely an Oracle back-end. I have already setup the
connctions to these back-end tables in the ODBC Administrator, and it
works fine. When I view one of these tables for the...
| |
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 satisfactory answer (check your browser) so now that I've had the time to set up a reasonable little test that I can post somewhere, I'll try again.
The app I've written has three ASPX pages. One is a combined page which writes a little text...
|
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.
When I get the 'Open Save Cancel' dialog box in case I click on Cancel
|
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 only have the options save/cancel available to
them...
any ideas?
|
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 out with a Word 2007 document,
saves that document to disk, then saves the same document in an older format
If the user saves a doc in an older format, I want to turn off certain
features of my add-in. I'm able to trap the save event easily...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |