TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Re: Opening MS Office files directly in Office App on intranet using Microsoft IIS
Subject:Re: Opening MS Office files directly in Office App on intranet using Microsoft IIS From:"Jeroen Hendrix" <jeroen -dot- hendrix -at- polydoc -dot- com> To:"David Slonosky" <David_Slonosky -at- i2 -dot- com> Date:Tue, 18 Jan 2000 10:34:44 +0100
David Slonosky" <David_Slonosky -at- i2 -dot- com> asked ...
A user here has asked that I create links to MS Office files that can be
opened directly in the corresponding MS Office application.
<snip>
Do we need to install a dedicated FTP server, or is there some clever way
to use
JavaScript to allow users to click on a link and open the file in the
application?
<end>
Well whether this is a clever way or not, we encountered a similar
situation. Our client wanted to distribute MS Word templates via the
Intranet. After some research and help from this very list (thanks again)
we came up with this:
To distribute Word templates via the intranet you should prepare both the
client and the server. In the client's browser and in the server's registry
(the ini-files), you should specify the proper MIME-type so that Netscape
or
IE knows what application it should start (or 'spawn' as Netscape states).
In IE the type is set in the Windows explorer: View -> Folder options ->
File types
In Netscape the type is set via: Edit -> Navigator -> Applications
- The type you want specified is the extension DOC
- The MIME type should read: application/msword
Also make sure that this type is handled by MSWord. This is done by
locating the word.exe file on your PC.
Rename the templates on the server from .DOT to .DOC, thus actually
changing it from a Word template to a Word document. You should specify the
extension DOC and not the extension DOT (for template) because in the
latter case MSWord will open with the template and not with a new document
based on that template.
This renaming causes no problem as macros will run in the
exact same way. You just need to be aware that any macro that's part the
AutoNew procedure, should be moved to the AutoOpen procedure as Word now
opens an "already existing" document.
I assume a similar approach can be taken with other MS office documents.
HTH
Regards,
Jeroen Hendrix
Sopheon (formally PolyDoc)
Amsterdam
the Netherlands
Mail to: jhe -at- polydoc -dot- com or jeroen -dot- hendrix -at- sopheon -dot- com
Web: www.sopheon.com