Hi!
I'd like to know how to open a MS word document in my browser using ASP. I don't want the File Download Window to show up anymore.
My web site is running in PWS (personal web server) but latter on will run in IIS.
To have the word document appearing directly in the browser is not possible from the from asp, as this is a rule based on the client settings only. It is done this way for security reasons. To do this manually, launch Windows Explorer, select Tools, Folder Options, the File types tab, select the DOC file type and click the Advanced button. Here you can Check/Uncheck the checkbox named "Browse in same window".
As for the save dialog, enabling/disabling this is done client side as well, also for security reasons. I do not remember which registry setting that does this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.