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






Previous by Author: Better images in HTML help ?
Next by Author: iff vs. if in documents
Previous by Thread: RE: Key Features vs. What's New
Next by Thread: Mid-topic IDs in RoboHELP


What this post helpful? Share it with friends and colleagues:

Sponsored Ads


Sponsored Ads