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 ! 4 1796
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.mic rosoft.com> wrote in message
news:4C******** *************** ***********@mic rosoft.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 !
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 !
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.mic rosoft.com> wrote in message news:4C******** *************** ***********@mic rosoft.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 !
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 ! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 package.
If I open and save the file manualy in Wordpad - it works.
(not in Notepad otherwise formatting is changed and DTS package
won't accept it.)
|
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 GUI. Doing this directly fails, it
is not allowed to parent a control that was not created on the main GUI
thread into the main GUI through another thread (an exception is thrown on
"control.Parent = container;").
So I have to create the...
|
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, underline) etc.
So , how can i make programme which allows me to read (RTF) Rich Text Format
files or Microsoft WORD files in VB.NET through FILE HANDLING.
Plz help me
|
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, as my application demands
it. Because for each word in text, I have associated data and so, require to
maintain state of associated data also.
Currently, I have developed algorithm which works on each key press.
On each key press event, I...
|
by: sss024 |
last post by:
Word document viewing in RichTextBox control
| |
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 name, style, and color before every
text so that way it will format it on the other end and display it in another
richtextbox. right now im trying to send the .rtf property but i cant add it
to the richtextbox...it just wont show anything and wont...
|
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 SelectionFont can get the font of the current text selection
or insertion point. but i find it always retrieves the RichTextBox's
font, not current word's font.
i don't know why? can anyone know what's the probem?
|
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.
Managing DHCP Servers using C#
They said it was impossible. It couldn't be done. But you can in fact
manage DHCP servers using C#. This includes creating and deleting
Scopes, SuperScopes, Reservations, Exclusions, Options and so forth.
Since the dll...
|
by: Peter |
last post by:
Does anyone has .NET library to merger RTF files?
Thank You
Peter
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
| |