472,127 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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
Jul 28 '05 #1
0 1184

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tom Gao | last post: by
3 posts views Thread by Kevin | last post: by
4 posts views Thread by Simon Cheng | last post: by
reply views Thread by staleb | 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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.