473,395 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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
Nov 22 '05 #1
0 873

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tom Gao | last post by:
hi guys I'm trying to export an aspx page to msword. ############# I know you can do Response.Clear(); Response.ContentType="application/msword";
0
by: staleb | last post by:
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 =...
3
by: Kevin | last post by:
Is it possible to develop an Active Document Full Server or a Container application using C#? Thanks, Kevin.
4
by: Simon Cheng | last post by:
Hi, How do I open a Word or Excel document inside an event handler (e.g., Page_Load())? Thanks, Simon
6
by: Peter | last post by:
I have to write a ASP.NET application that creates MSWord document from a template and populated with data from the webpage. (Templates can reside on the server or client's hard drive.) What is...
1
by: Agnes | last post by:
my asp program saved in D:\myASP\Project1. my document are saved in C:\Web-Doc\*.pdf <a href="<%#DataBinder.Eval(Container.DataItem, rtrim("number")).tostring.trim%>.pdf"><%#...
0
by: jiatiejun | last post by:
VB 6.0 ActiveX Documnet upgrade to VS.Net ? I want upgrade a C/S WinForm Client to B/S Browse safe is not importment VB 6.0 ActiveX Document is good way
1
by: Matt Curreri | last post by:
I'm trying to automate the creation of a MSWord document with C#; however, when I start creating the MSWord document, I occassionly have a MSWord dialog box displaying a warning of low memory and...
1
by: deegeorge | last post by:
Hi, I want to export crystal report from ASP .Net in word format. I am able to export crystal report but it dosen't give be the Word toolbar as we can see in when Msword document is opened....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.