Component for managing .doc and .rtf files

  • Thread starter Thread starter Igor Vrdoljak
  • Start date Start date
I

Igor Vrdoljak

Hi.

I am currently serching for component which could be used for handling
..doc and .rtf files. Component should be able to:

* insert custom text into files
* insert images into files
* insert HTML formatted text into files
* print files to TIFF documents
* export files to HTML
* find/replace funcionality (regexp func. desirable)

Also it would be nice if I could use it from ASP as well as from ASP.NET.

The first answer from Google was http://www.textcontrol.com and it seems
OK. So, if anyone here uses this component (ActiveX server version) I
would be grateful for some impressions. I intend to use it on server
side in a ASP.NET web site and in a service which would periodically
access and modify .doc and .rtf files.

Thnx in advance.
 
Igor,

If the object is an ActiveX control, then you are just as well of using
Word through COM interop. You are going to run into the same threading
issues with Word that you will with the one from text control (because of
the apartment state of the thread).

If they have a purely managed class, I would recommend you use that.

I seem to remember something in the KB articles about using Office on
the server side, so you might want to check there to see if there is
anything that might be of use.
 
Nicholas said:
If the object is an ActiveX control, then you are just as well of using
Word through COM interop. You are going to run into the same threading

Been there, done that, never want to go there again :) I've done few
projects (using VB, not .NET) with server side Word automation and it
really sucks. Seems Word just isn't ment to be used in such a way.
Though, maybe something changed with .NET?
issues with Word that you will with the one from text control (because of
the apartment state of the thread).

If they have a purely managed class, I would recommend you use that.

Yes, I am currently looking for recommendation for such a component..
I seem to remember something in the KB articles about using Office on
the server side, so you might want to check there to see if there is
anything that might be of use.

I have read some of these and the most useful thing you can find in them
is recommendation not to use Word in such a way :)

Thanx
 
Back
Top