Word Document Will Not Open Via Clients - HELP!

T

Todd

Ok, this code works fine on the Web server machine. But when I try to run it
via any other clients on the LAN, I keep getting scripting errors (the MS
Word Document never opens.) Do I have to configure the server somehow to
allow it to share this MS Word doc?

<SCRIPT LANGUAGE=VBScript>
Dim objWord
Sub Btn1_onclick()
call
OpenDoc("http://WEBSERVER/ClerkOfCourt/CourtLetters/TestTemplate.doc")
End Sub

Sub OpenDoc(strLocation)

Set objWord = CreateObject("Word.Application")
objWord.Visible = true
objWord.Documents.Open strLocation
End Sub
</SCRIPT>
 
T

Todd

Yeah, but I need the .doc to open in it's own instance of the MS Word
Application. If I open it within the IE Browser - the user cannot make any
changes to it (save) etc.

Hmm...

Any suggestions?
 
Z

zPaul

You don't have any option. The only thing you can do is to allow the user to
save the document and create a upload function if you want to save it to
server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top