473,811 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

About the server side automation of the Word app

Hi everybody:
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
Feb 24 '06 #1
0 840

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

Similar topics

3
11298
by: Brian Kwan | last post by:
Project Description: Develop a web application to help manage sale operations. There is a function that to generate a report using data in database, which is a Word document on server and let user to download and print it out. Problem: Found that it's risky to do Word automation on server side using ASP. The layout of report is a bit complicated. I've a idea of ASP call VB to automate a Word document, but don't know whether it's work or...
1
3483
by: Curtis Justus | last post by:
Hi, We have a project that requires a .NET service to convert a Word document to a PDF document. Basically, a person would create a mail merge template in Word and through automation, we merge the data and spit out one or more PDF documents. It appears that the best thing for me to do is get a product that installs some type of printer driver. The problem is that the drivers pop up a dialog box prompting for the destination file...
0
1325
by: Stuart Woodard | last post by:
I am struggling to develop a robust mechanism for server-side printing with formatted documents. I need to produce print-spool files from the remote server-side application. This isn't straightforward with PrintDocument, so I have had to create a new class that uses Windows calls from within the PrintPage event. That solved the spool file problem, but I have since been having trouble with formatted text. To use PrintPage events, I...
1
1337
by: Sunil Menon | last post by:
Dear All, I stumbled upon an article on "Content Management Server"...but got a bit confused...i would like to know if "Content Management Server" can.. 1. Show me a Word Document in a browser without having Word on the client machine and only on the Server? 2. If Yes....can the user edit and save the Word document? 3. What are the document types supported by CMS? Where can I find samples regarding CMS?
0
1132
by: Joe | last post by:
Dear all I want to dynamically generate some word and excel document by asp.net in server side then export to client, i am a developer and have a vs.net 2003 and office 2003. When i deploy the project into server, doesn't i need any other license for automation?
28
4849
by: Gil | last post by:
can i have a client pc trigger access.exe to open on the server side pc? i want to have the server run special functions and return the output to the clients without having the clients run the functions itself.
4
2515
by: Kash | last post by:
Hi everybody: I've developed a web application running on a 2003 server not on the web but on extranet environment of a small Firm (less than 10 users). I've taken benefit of Office Primary Interop Assemblies (PIAs) for automating Word on the server and everything runs smoothly on the server console. The word documents are generated perfectly from all clients and stored on the server with some data comes from a SQL server and/or stores...
3
1483
by: zeeway | last post by:
Hi,everyone I use AxWebBrowser.Navigate to open a word document, but I don't know how to close the word document.Any advice would be really appreciated. Best Regard Zeeway
8
1817
by: =?Utf-8?B?QmFkaXM=?= | last post by:
I have tried a server-side automation and it's giving me problems that I couldn't solve.. Now, I'm switching to client side automation and I was following this example: http://www.aspnetpro.com/NewsletterArticle/2003/09/asp200309so_l/asp200309so_l.asp but to get it working I had to "Go to the Security tab, select Local intranet, and click on the Custom Level button. Find the setting titled "Initialize and script ActiveX controls not marked...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10136
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5556
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4342
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.