473,382 Members | 1,743 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,382 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 1254

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";
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
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 =...
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: 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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.