Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

word document

Status
Not open for further replies.

cjkenworthy

Programmer
Sep 13, 2002
237
GB
I've looked around but can't find any real solutions to what I want to be able to do:

We have:

-an internal webserver (where the ASP resides)
-an internal file server

The webserver has a mapped network drive g:\ to a shared file directory on the file server

In my ASP/Vbscript I want to be able to list word documents in the shared directory on the file server - but more importantly I need the user to be able to:

a) click a link to open a word document (from the shared directory)- this will initiate the word application locally on their client PC.

b) modify the document - then when they press save it will save the changes directly to the file server

I would appreciate any help/pointers/urls.

Many thanks.
 
The first and easiest way that comes to my mind to achieve what you want is to connect a network drive on your client machines that'll point the same directory on your file server than the http server. BUT this can only be done if we are talking about an intranet. Note that this client drive connection can be done temporaly by script and removed after doc saving. Water is not bad as long as it stays out human body ;-)
 
I have managed to set up the page so that it provides links to word documents on the server. These can then be saved back to the server (this is an inTRAnet site).

The problem is that by default the word toolbars don't appear when MS word opens in the browser.

Is there anyway of specifying that the browser opens with the word toolbar visible?
 
HAAAAA... OK, OK, OK. I didn't understood that. I think that if Word doesn't show its toolbar, it's because it's loaded as an OLE component inside IE. I know you can lauch Word by script this way :
Code:
Set WordApp = CreateObject("Word.application")
.. but what I don't know is how to load a document within word from an url... Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top