473,396 Members | 1,722 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,396 software developers and data experts.

Word automation / Office interop / COM DLL


Sirs,

I have an ASP.NET application with hundreds of users accessing it. One
of its features is to merge a set of Word documents that are stored in
a server (basically is copy contents from doc1 and append to doc2).

I saw there is a Microsoft Word COM DLL to work with Office documents
from inside C#. However, recently I read this article:

INFO: Considerations for Server-Side Automation of Office
http://support.microsoft.com/?id=257757

So I am confused if I can use this COM DLL in my application. If it's
too risky, what alternatives do I have?

I appreciate any information!

Leo D'Ippolito

Nov 19 '05 #1
2 1613
It's just not very stable and since even microsoft is not recommending
it....I guess you get the point.
I use the Aspose Word component, it's about the same price as a license for
word and works pretty well.
Specially their support is great.
Other than that, could you just get word xml or html files and merge them?

--
Remy Blaettler
Helping you collaborate better!
www.collaboral.com
<le**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...

Sirs,

I have an ASP.NET application with hundreds of users accessing it. One
of its features is to merge a set of Word documents that are stored in
a server (basically is copy contents from doc1 and append to doc2).

I saw there is a Microsoft Word COM DLL to work with Office documents
from inside C#. However, recently I read this article:

INFO: Considerations for Server-Side Automation of Office
http://support.microsoft.com/?id=257757

So I am confused if I can use this COM DLL in my application. If it's
too risky, what alternatives do I have?

I appreciate any information!

Leo D'Ippolito

Nov 19 '05 #2
On 26 Oct 2005 15:00:26 -0700, le**********@gmail.com wrote:

¤
¤ Sirs,
¤
¤ I have an ASP.NET application with hundreds of users accessing it. One
¤ of its features is to merge a set of Word documents that are stored in
¤ a server (basically is copy contents from doc1 and append to doc2).
¤
¤ I saw there is a Microsoft Word COM DLL to work with Office documents
¤ from inside C#. However, recently I read this article:
¤
¤ INFO: Considerations for Server-Side Automation of Office
¤ http://support.microsoft.com/?id=257757
¤
¤ So I am confused if I can use this COM DLL in my application. If it's
¤ too risky, what alternatives do I have?
¤
¤ I appreciate any information!

I'm not really sure which Word COM DLL you are referring to, but the Office applications were not
designed to be automated from clients lacking a user interface nor in environments where multiple
threads of execution are involved. This isn't necessarily true of a COM DLL so I'm assuming that
this is the difference.

Like I said I don't know anything about this Word COM DLL, but if the component interfaces with
Microsoft Word via automation then I would expect issues similar to those when working with the Word
object directly.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #3

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

Similar topics

6
by: Jason Steeves | last post by:
I am hoping someone can tell me how, or point me in the right direction for the following problem. I need to have word open a specified file, .mht, as a plug-in inside of IE so that I can edit...
6
by: Chris | last post by:
Hi, - How can I open an existing word document from a C#-client and manipulate that document from within the C#-client ? - How can I open an excel document that is embedded in a word-document...
4
by: Chris | last post by:
Hi, everything works apart from the last line :-(( rng.Value2.ToString() An exception is thrown : "Old format or invalid type library" It gets compiled though (so he recognizes the property...
4
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone...
3
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone...
56
by: Richard Grene | last post by:
using Word automation from vb.net how can I get to the bottom of the document? Thanks, Richard
22
by: liya.tansky | last post by:
Hello, I'm developing an intranet (win XP, .NET 2, Visual Studio 2005, Microsoft.Office.Interop.Word.dll in references) and needed to implement find-replace in word doc before sending letter and...
0
by: SergioT | last post by:
hi I m getting an error when I run my application on the server, that error doesn't ocur when I run the application on the development computer the error is:...
0
by: Probi | last post by:
Hi, I´m trying to make word automation on document custom properties(for a given property name change the value) I put this code together: Type Prop =...
0
by: =?Utf-8?B?UHJvYmk=?= | last post by:
I´m trying to do some Word Automation in C# in the Custom Properties so far found very few ways to do that I made the following : Type Prop = Type.GetTypeFromProgID("Word.CustopParoperties");...
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...
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...
0
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...
0
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,...

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.