I allow the users to open documents but they get prompted to Open Save
Cancel, how can I just open the document automatically without the user being
prompted to save, etc.? 4 1946
You cannot.
Think of it from a security point of view.
Would you want a web site to be able to open a virus on your computer
without your consent?
This is why the user is always given options about what they want to do with
a (potentially dangerous) file that is coming at them from across the
internet.
One possible way around this is to use a thick client, such as an ActiveX
control, which has greater security privileges than a stand alone web page.
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com... I allow the users to open documents but they get prompted to Open Save Cancel, how can I just open the document automatically without the user being prompted to save, etc.?
The browser will display the documents that it is capable of displaying. It
does this by looking at the file extension of the image, or by checking the
MIME Type headers of the Response. If the browser is showing the dialog box
you describe, the MIME type must not be recognized by the browser.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com... I allow the users to open documents but they get prompted to Open Save Cancel, how can I just open the document automatically without the user being prompted to save, etc.?
they're ms office docs, excel, word, powerpoint and pdf file as well. and i'm
prompted.
"Kevin Spencer" wrote: The browser will display the documents that it is capable of displaying. It does this by looking at the file extension of the image, or by checking the MIME Type headers of the Response. If the browser is showing the dialog box you describe, the MIME type must not be recognized by the browser.
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer What You Seek Is What You Get.
"Mike" <Mi**@discussions.microsoft.com> wrote in message news:16**********************************@microsof t.com...I allow the users to open documents but they get prompted to Open Save Cancel, how can I just open the document automatically without the user being prompted to save, etc.?
Do you have Office installed on the client computer? What version?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com... they're ms office docs, excel, word, powerpoint and pdf file as well. and i'm prompted. "Kevin Spencer" wrote:
The browser will display the documents that it is capable of displaying. It does this by looking at the file extension of the image, or by checking the MIME Type headers of the Response. If the browser is showing the dialog box you describe, the MIME type must not be recognized by the browser.
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer What You Seek Is What You Get.
"Mike" <Mi**@discussions.microsoft.com> wrote in message news:16**********************************@microsof t.com... >I allow the users to open documents but they get prompted to Open Save > Cancel, how can I just open the document automatically without the user > being > prompted to save, etc.? > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Martin Lucas-Smith |
last post by:
I am trying to use PHP's COM support to open a URL from within MS Word
then save the document.
I am using PHP5.0.3/Apache2/WindowsXP. phpinfo() confirms that COM support
is enabled.
...
|
by: Jenni |
last post by:
Hi, A quick question. I have been battling with this code all morning,
please help.
Here is the code
Dim fPath1 As String
Dim fPath2 As String
fPath1 = "C:\Program Files\Microsoft...
|
by: deko |
last post by:
I use hyperlinks in a subform datasheet to display locally saved documents
that are associated with individual database entries. A customer entry may
have a list of invoices in pdf format, for...
|
by: sudha |
last post by:
Hi,
To open a word doc from c#, i use the following code :
Word.ApplicationClass WordApp = new Word.ApplicationClass
();
// give any file name of your
choice.
object fileName =...
|
by: Anders Eriksson |
last post by:
Hello!
I'm using VC++ 7.1 and MFC.
In a header file that is located in a different directory that the main
project I include a header file that is located in the main project
directory. The...
|
by: Jonathan Trevor |
last post by:
Hi,
For the last couple of releases of a product we're developing we've been
running to very wierd behavior from IE and our ASP.NET web application which
serves up various types of files and I'm...
|
by: Bruce |
last post by:
I am doing development work on an asp.net app and a web service on a Win XP
Pro SP2 development workstation, using vs.net 2003. For reasons that I
wont try to explain here, I recently moved the...
|
by: Bon |
last post by:
Hello all
I create a form with three buttons in MS Access 2000. They are Open
Excel Template, Save Draft and Save Final. When I click the Open Excel
Template button, the Excel template will be...
|
by: publicityfoss |
last post by:
Apologizes for multiple copies eventually received
Documents on Migrations to Open Source available by the COSPA
Consortium
The COSPA consortium (Consortium for studying, evaluating, and...
|
by: jean-jeanot |
last post by:
I can access to a file with the command:
file_obj = open ( " D:\My documents\Textfile.txt",'r')
When I now try to read a file with the following command:
file_obj = open ("D:\My...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
| |