469,270 Members | 1,011 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

Open MSWOrd documnet

Hi

I want to open a MSWord document on the clients PC/MSWord, the solution I
use now is this:
<script language=vbscript runat=Server>
<!--
sub OpenDoc(strLocation)
set objWord = CreateObject("Word.Application")
objWord.Visible = true
objWord.Documents.Open strLocation
end sub

//-->
</script>

the document is located on a file server, which accesed thrugh a Virtual
Directory (IIS 5.0) on the web-server
This solution works to some degree, but when the document is opened ists
writeprotected (The VD has full read/write access)
This mean that I cant store any changes I make back to the document on the
server.

After intensive searching on Microsofts pages I foun theese to articles:
http://support.microsoft.com/kb/838028/en-us
http://support.microsoft.com/default...b;en-us;245359

They sugest that I should use aboulut adressing: URL =
http://server/..../test.doc
So that I trigger a service MSDAIPP

sub OpenWord(strLocation)
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "FP662.DOC", "URL = http://myserver/FILER/KSP/2005/",,,,
end sub

I cant seem to get this working.
Has anyone used this, or does anyone have a soultion??
--
Ståle Bårdset
Nov 22 '05 #1
0 802

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tom Gao | last post: by
reply views Thread by staleb | last post: by
3 posts views Thread by Kevin | last post: by
4 posts views Thread by Simon Cheng | last post: by
6 posts views Thread by Peter | last post: by
1 post views Thread by Agnes | last post: by
reply views Thread by jiatiejun | last post: by
1 post views Thread by Matt Curreri | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.