By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,693 Members | 1,264 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,693 IT Pros & Developers. It's quick & easy.

Using Word for RTF files creation to use with RichTextBox

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.