I've developed a web application running on a 2003 server of a small firm's
extranet environment (less than 10 users) by using Office Primary Interop
Assemblies (PIAs). WebDav services is also installed and is activated on both
server and clients machines. I'm creating wordapp, and then worddoc and
inserting a few rows into and then save it as:
worddoc.SaveAs( Server.MapPath( "/mydocs/") & fileName, , , , , , False, , , , , , , , , ) <<
which is a " not read only" saving. To be completely safe I checked the read
only property of the doc out after saving it and it returns "false".
Then I try to open it in a frame page:
<frame name="header" scrolling="no" noresize target="main"
src="Content_he ader.asp?dest=< %=dir &"\"& request("fileNa me")%>">
<frame name="main" scrolling="auto " noresize target="_self" src="<%=dir
&"\"& request("fileNa me")%>">
As expected the word document opens inside the 'main frame' but there is 2
annoying issues that I couldn't fix them and I need you guys to help me on
them:
1- it opens inside the frame with "reviewing" tool bar on the top. The user
should right click and activate the 'standard toolbar' by himself. I need
that it gets opened with the standard tool bar at the top.
2- this one is very important: when I edit the document and then click on
the save button on the standard tool bar to save it again on the server, it
can't be saved! the Save button doesn't do anything!
Please note that the document is not read only and I can edit it manually by
reaching it directly on the server but I'm not able to do that inside a frame
page.
May anybody help please? thanks a lot in advance
Kash