Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

[C#] Create MS Word documents without utilizing word automation

Posted on 2008-06-18
8
1,638 Views
Last Modified: 2013-12-16
Hi there,

I'm googling around for some .NET components that would allow me to create word documents without utilizing MS Word automation. So far I googled up Aspose.Words and TextControl, but the prices of those compononets outmatch the MS Office Ultimate, so it's sort of useless.

Any hints what could be the easiest way to create Word documents without having to depend on MS Word itself?

Thanks
0
Comment
Question by:favoretti
8 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 21812024
I have been using Aspose products for a couple months now and I cannot live without them now. No more CreateObject errors of any kind!
0
 
LVL 6

Author Comment

by:favoretti
ID: 21812112
Can imagine. Any ideas if there're affordable solutions from aspose? :) $899 for a .NET component sounds a bit ridiculous :)
0
 
LVL 5

Accepted Solution

by:
JuckMan earned 500 total points
ID: 21839689
if you want to go with a simplified solution. try create a rtf document. For a document generation purpose, the options available in rtf bold, underline , font/color specification etc will suffice.

if this is for a documnet generation purpose, why dont you use ndoc?
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 6

Author Comment

by:favoretti
ID: 21840152
Yeah, I thought about RTF already, but the customer insists it must be a .doc. Yet again, the bastage doesn't want to cover the costs of a professional library. I suppose I'll have to go into covering the library costs myself and hope that I'll use it more often.

And no, it's not for code documentation, so ndoc is not what I need.

Thanks for your comment.
0
 
LVL 5

Expert Comment

by:JuckMan
ID: 21841432
do what ever is the best solution for you. I would like re-iterate one more thing. If the customer is insisting on a word document, they you can create the rtf doc as a word doc or as a easy solution create a rtf document and rename it with word extension (.doc)
0
 
LVL 3

Expert Comment

by:pragmatistMS
ID: 21848244
Have you thought about typing up a quick ROI analysis showing the cost of coding hours spent creating a custom solution versus the cost of the component?  Might help convince the client to buy the component.  Although my experience with Word automation in the past has not been particularly difficult or problematic, so I guess it depends on what you're doing.
0
 
LVL 6

Author Closing Comment

by:favoretti
ID: 31468299
In the end we went for the Aspose, but nevertheless, thank you for your effort!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question