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

Using Word for RTF files creation to use with RichTextBox

Is that possible to create the body of a static (or fix) report using Word,
saving that report as a RTF file and then loading that file into a RichText
Box:

Example, with Word, I create the following report (using fonts size and
others minimum font features):
PRODUCT: +++++++++++++++++
SALES.................########.##
Provincial taxes....########.##
Federal taxes.......########.##
TOTAL.................########.##

Then, my application will take care of calculations & replaces ####.## by
numbers and +++++++++ by text, etc (I know how to do that).

***

Any GENERAL considerations about this approach ? Crystal Reports seems huge
& complex. I am looking for a simple solution for designing & maintenance of
fix-static reports in a window environment.

--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !
Feb 14 '06 #1
4 1782
CMM
Crystal Reports is one of the most unintuitive, bloated-for-what-it-does,
and bug-ridden product of software development ever. It was true 8 years ago
and it's still true today. Avoid it like the plague. Look into the
ReportViewer control that's part of VS2005. It has nothing to do with
Crystal.

If you really want to create your own manual simple flat "reports," I
wouldn't go the RTF route. Seems it would be easier to just construct HTML
using a stringbuilder, save it as a file, and display it in a Webbrowser
control.

--
-C. Moya
www.cmoya.com
"Marcel Saucier" <Ma***********@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
Is that possible to create the body of a static (or fix) report using
Word,
saving that report as a RTF file and then loading that file into a
RichText
Box:

Example, with Word, I create the following report (using fonts size and
others minimum font features):
PRODUCT: +++++++++++++++++
SALES.................########.##
Provincial taxes....########.##
Federal taxes.......########.##
TOTAL.................########.##

Then, my application will take care of calculations & replaces ####.## by
numbers and +++++++++ by text, etc (I know how to do that).

***

Any GENERAL considerations about this approach ? Crystal Reports seems
huge
& complex. I am looking for a simple solution for designing & maintenance
of
fix-static reports in a window environment.

--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !

Feb 15 '06 #2
Yes it's possible to do this. However, you need to know some VBA for Word
documents which you can incorporate into your .net program with some minor
modifications. Just curious but why don't you create the report directly
into a RichText box?
--
Dennis in Houston
"Marcel Saucier" wrote:
Is that possible to create the body of a static (or fix) report using Word,
saving that report as a RTF file and then loading that file into a RichText
Box:

Example, with Word, I create the following report (using fonts size and
others minimum font features):
PRODUCT: +++++++++++++++++
SALES.................########.##
Provincial taxes....########.##
Federal taxes.......########.##
TOTAL.................########.##

Then, my application will take care of calculations & replaces ####.## by
numbers and +++++++++ by text, etc (I know how to do that).

***

Any GENERAL considerations about this approach ? Crystal Reports seems huge
& complex. I am looking for a simple solution for designing & maintenance of
fix-static reports in a window environment.

--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !

Feb 15 '06 #3
Thank you very much. And I am taking good notes about CR.
--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !
"CMM" wrote:
Crystal Reports is one of the most unintuitive, bloated-for-what-it-does,
and bug-ridden product of software development ever. It was true 8 years ago
and it's still true today. Avoid it like the plague. Look into the
ReportViewer control that's part of VS2005. It has nothing to do with
Crystal.

If you really want to create your own manual simple flat "reports," I
wouldn't go the RTF route. Seems it would be easier to just construct HTML
using a stringbuilder, save it as a file, and display it in a Webbrowser
control.

--
-C. Moya
www.cmoya.com
"Marcel Saucier" <Ma***********@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
Is that possible to create the body of a static (or fix) report using
Word,
saving that report as a RTF file and then loading that file into a
RichText
Box:

Example, with Word, I create the following report (using fonts size and
others minimum font features):
PRODUCT: +++++++++++++++++
SALES.................########.##
Provincial taxes....########.##
Federal taxes.......########.##
TOTAL.................########.##

Then, my application will take care of calculations & replaces ####.## by
numbers and +++++++++ by text, etc (I know how to do that).

***

Any GENERAL considerations about this approach ? Crystal Reports seems
huge
& complex. I am looking for a simple solution for designing & maintenance
of
fix-static reports in a window environment.

--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !


Feb 15 '06 #4
Tax forms reports change every year. I am looking for an easy way of
maintaining those reports.
--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !
"Dennis" wrote:
Yes it's possible to do this. However, you need to know some VBA for Word
documents which you can incorporate into your .net program with some minor
modifications. Just curious but why don't you create the report directly
into a RichText box?
--
Dennis in Houston
"Marcel Saucier" wrote:
Is that possible to create the body of a static (or fix) report using Word,
saving that report as a RTF file and then loading that file into a RichText
Box:

Example, with Word, I create the following report (using fonts size and
others minimum font features):
PRODUCT: +++++++++++++++++
SALES.................########.##
Provincial taxes....########.##
Federal taxes.......########.##
TOTAL.................########.##

Then, my application will take care of calculations & replaces ####.## by
numbers and +++++++++ by text, etc (I know how to do that).

***

Any GENERAL considerations about this approach ? Crystal Reports seems huge
& complex. I am looking for a simple solution for designing & maintenance of
fix-static reports in a window environment.

--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !

Feb 15 '06 #5

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

Similar topics

3
by: Maya | last post by:
Hey, there! I'm new to vb.net and it seems I wouldn't be able to solve this without help. I have a pipe delimited file that has to be saved in txt format so it could be accepted by my DTS...
5
by: Martin Maat [EBL] | last post by:
Hi, I have a GUI application that responds to events coming from an externaql application. In the implementing code for the event I need to create a GUI control and "parent" the control into the...
2
by: Eshban Bahadur | last post by:
Hello, I want to read (RTF) files in my VB.NET programme. How can i do it. I apply the same method of reading text files, but it does not save the formatting of text like (bold, italics,...
0
by: Sakharam Phapale | last post by:
Hi All, I am developing my own text editor using RichTextBox control. I don't want to use RichTextBox Undo and Redo functions. Instead of that I want to develop my own algorithm for Undo & Redo,...
3
by: sss024 | last post by:
Word document viewing in RichTextBox control
0
by: iwdu15 | last post by:
hi, im creating an instant messenger using TCP sockets, and everythings been fine until now. i want to be able to send rich text, but im hitting a wall here. what i want to do is send the font...
0
by: chris | last post by:
i use RichTextBox to develop a simple notepad, now i want to implement a function: when click on a word, the font name and size of the word will be displayed in statusbar. i know the...
1
by: Screenbert | last post by:
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. ...
9
by: Peter | last post by:
Does anyone has .NET library to merger RTF files? Thank You Peter
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.