Re: Linking online doc to an intranet

Subject: Re: Linking online doc to an intranet
From: "Wing, Michael J" <mjwing -at- INGR -dot- COM>
Date: Wed, 16 Sep 1998 16:31:10 -0500


If I'm following your question correctly, you can create an instance of an
application on the client side through VBscript (seeming you stipulated
IE4.0). This is done through the CreateObject method. I don't believe
JavaScript has a CreateObject (or equivalent) method. If this is true, you
must use VBScript.

The following code creates an instance of Excel and opens a new workbook.
You can comment the App.Workbooks.Add line, uncomment the App.WorkBooks.Open
line, and change the filepath to your file.

<script language="VBS">
Dim App
Set App = CreateObject("Excel.Application")
app.visible = true
'app.Workbooks.Open "\\ComputerName\Directory\FileName.xls"


Michael Wing (mailto:mjwing -at- ingr -dot- com)
Staff Writer
Intergraph Corporation; Huntsville, Alabama
Good afternoon,

Attention HTML experts!

The question: How do you make a web page running in IE4 start an
application on a user's hard drive or network drive and cause that
application to open a particular file?

The background: For several years now, we've been developing our online
documentation in Infoaccess's Guide Passport suite. Now, the company I work
for is just getting around to erecting a corporate intranet, and I've been
asked whether we can link from an intranet page to a particular document in
our existing, non-HTML library. IOW, I want to know what HTML, or perhaps
Javascript, command will tell Internet Explorer to launch a separate
application and have that application open a file.

Any thoughts?

I'm afraid, if we cannot integrate our existing online documents with the
new intranet, we'll be asked to begin developing our online docs in HTML.
We're not ready to throw away the work we've already done. InfoAccess's
programs allow us to more easily create useful online documentation and
deliver it in a more powerful, fully featured browser.

James Lockard

From ??? -at- ??? Sun Jan 00 00:00:00 0000=

Previous by Author: Re: Word: a professional tool? (was: Installing Winword 7 and 8)
Next by Author: Re: System Documentation
Previous by Thread: Re: Linking online doc to an intranet
Next by Thread: Re: Linking online doc to an intranet

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

Sponsored Ads

Sponsored Ads