Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-06-18
8
Medium Priority
?
1,645 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
[X]
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
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 2000 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

721 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