On Fri, 25 Jun 2004 06:43:35 -0700 (PDT), cf coder
<[EMAIL PROTECTED]> wrote:
>
<snip>

>
> The above code works fine. It opens the file inside
> the browser window. However I want the file to open
> inside its own application. So if the attached file is
> a word document, I want it to open in msword. Also,
> because this is an intranet/internal application, once
> after the document is open, if the user wishes to edit
> the document, I want to save the changes automatically
> saved back to the database when the user presses the
> save button. I hope I am making sense.
> Can somebody show me how to do this.
>

I don't believe you can force this, as it's an end-user preference
setting in the browser. The only alternative I can think of is to
serve the file with a mime type of "application/unknown," which makes
the user to download the file to their system instead of opening in a
browser. From there, they can open the document in the relevant
application. It's not pretty, but it's an alternative.

As a side note, browsers such as Mozilla Firefox will open the
document in the external application by default (I believe because it
does not support ActiveX), with the exception of the Acrobat Reader
plugin.

Regards,
Dave.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to