473,505 Members | 13,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RTF File Merge

Hello,

Using vs2005/C#/SQL 2005

Given two or more RTF Files I would like to merge them. Found one Library
NRTFTree, however I don't see anything in there that will let me accomplish
this.

Anyone know of anything?

Thanks,
Joe
Sep 9 '08 #1
3 2359
There is no such easy thing as a "Merge" method. You will have to
parse the files yourself, but this is a horrible task.
The cheapest would be to use Word automation, throw all your rtf in,
let Word do the merge and save everything back as an rtf file, but I
would not recommend this
as it makes your application depend from the Word executable and using
Word interop is also quite error-prone. Maybe you have to look for a
commercial library,

Cheers,
Joachim
Sep 9 '08 #2
This is a Web Application so automation is out. I've been looking for
mostly Free stuff but can't come up with any thing.

thnx,
joe\*

"Joachim Van den Bogaert" <jo*****@yamagata-europe.comwrote in message
news:6c**********************************@a70g2000 hsh.googlegroups.com...
There is no such easy thing as a "Merge" method. You will have to
parse the files yourself, but this is a horrible task.
The cheapest would be to use Word automation, throw all your rtf in,
let Word do the merge and save everything back as an rtf file, but I
would not recommend this
as it makes your application depend from the Word executable and using
Word interop is also quite error-prone. Maybe you have to look for a
commercial library,

Cheers,
Joachim

Sep 9 '08 #3
I've tested NRtfTree.
I've the same problem, see my (BoFabio) todays post message, i've released
new class to do RTF doc merge.
http://www.codeproject.com/KB/string...69#xx2778669xx

Regards
"Joe Reiss" wrote:
Hello,

Using vs2005/C#/SQL 2005

Given two or more RTF Files I would like to merge them. Found one Library
NRTFTree, however I don't see anything in there that will let me accomplish
this.

Anyone know of anything?

Thanks,
Joe
Oct 24 '08 #4

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

Similar topics

2
2753
by: goraya | last post by:
Hi I am using text file in program, I set that text file as datasource of a word file.User can add Merge Fields at run time to the Word Document. To reflect the new merge field I have to open that...
8
1518
by: mesterak | last post by:
I'm trying to write a text log file processor but am having significant performance issues. * On average, there are about 100-200 files to process each file being about 1MB in size. * Typically...
5
2357
by: Peter Olcott | last post by:
I have used the standard template library quite a bit, and std::sort has been very useful. Now I have reached the point where my memory requirements are exceeded. Is there some standard way to sort...
16
7152
by: Claudio Grondi | last post by:
I have a 250 Gbyte file (occupies the whole hard drive space) and want to change only eight bytes in this file at a given offset of appr. 200 Gbyte (all other data in that file should remain...
7
2107
by: Defected | last post by:
Hi All, I have need to write a void function that will merge the contents of two text file containing chemical elements sorted by atomic number and will produce a sorted file of binary records....
7
590
by: Defected | last post by:
Thanks all for help, I have tried this code but it's don't work. -------------------------------------------------------------------- Structure typedef struct{ int atomic_number; char...
12
10712
by: bisuvious | last post by:
hi all, I am looking for a technique to sort data of a large file, say 2GB/ 4GB. Please suggest any algorithm, if you have any idea. thanks bisuvious
0
908
by: studdy07 | last post by:
I have a standard Word Merge doc with an autoopen Macro that pulls SQL data in from a view - it works fine. Some of the fields I also need to write to a flat file (like bar code #, Name and Order...
12
13406
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
1
1583
by: =?Utf-8?B?S2F0aHll?= | last post by:
I am trying to merge multiple .chm files and cannot get the child TOC to merge correctly. I followed the instructions in the HHW Help on "Creating links from one contents file to another", but when...
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7298
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
7366
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...
1
7017
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
5610
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,...
1
5026
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...
0
3187
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...
0
1526
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 ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.