Re: Print Preview with EXPORT capability

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I guess it depends on the audience. All of my clients are 'big' corporations
where it would be unlikely that they didn't have Word.

I would guess the txText control is what you want, then.

I've also use the vsView component from ComponentOne for print
preview/printing support where I do all of the page layout. I'm currently
stuck in the world of version 7 of the control, mainly due to the upgrade
costs, but can confirm that I have had no problems with Windows Vista. The
only down side is that you have to but the "studio" product to get the one
component you want:
http://www.componentone.com/products.aspx?ItemType=1&TabTypeID=1&PanelIndex=16&TabMapID=73&Itemid=69&Tabid=93&SubCategoryTypeID=0

It has rtf and html export and V7 came with a pdf component to export PDF.
While it does not export .doc directly, Word will import the rtf without
problem.

Steve


"Gary" <Fake@xxxxxxxx> wrote in message
news:69B86A8C-8943-412B-9176-2F3C7B639568@xxxxxxxxxxxxxxxx
Thanks Steve.

But I am trying to NOT have to have my clients acquire/install any version
of WORD.
And I definitely don't want them to have to install another printer
driver, just to vew the report as a PDF.

G.

"Steve Barnett" <noname@xxxxxxxxxxxx> wrote in message
news:efkMaSGdIHA.5900@xxxxxxxxxxxxxxxxxxxxxxx
For my "complex" reporting I usually automate Word. While I don't need to
use templates for this, I generally have a template document that I add
the guts to, so I end up with a report with user-modifiable front matter
(so they get their logos, tables of contents, introduction text etc) and
I just fill in the middle bit with my content. By using styles for
headings and text paras, each client gets to use their corporate
standards.

Tables were a bit of a pain until I got my head round how to insert them
in to a Word document, but the results were pretty good and very
flexible. Added to that, the user gets to tweak the end result before
publishing. The output can be exported to any format that Word can
handle, including HTML and RTF. PDF is possible via any of the free PDF
printer drivers or, if you're using Word 2007, you get PDF and XPS for
free.

Failing that, what about the txText control
(http://www.textcontrol.com/). I now it's billed as a word processor, but
it supports the formats you're after.

Steve


"Gary" <Fake@xxxxxxxx> wrote in message
news:ED0590A3-FEDF-44E9-A152-86D7AB043C53@xxxxxxxxxxxxxxxx
I am using VB6 with great success.... have been for many years.

I have an application which consists of several VERY ELABORATE reports.
To provide these reports, I have acquired a 3rd party control
(PrintPreview).
It provides many properties and methods to place various text fonts,
colors, styles on any page,
and also accommodates graphics.
I have to make many convoluted and elaborate calls to the database to
construct each report,
and they may also contain graphs (which I build using another 3rd party
product) and store in an image,
and then place that image on the report.
The reports also may contain pictures (images) which are stored in the
database.

So far, so good.

The PrintPreview control works great for doing all this.
It also has the ability to export any report to a file... RTF, DOC, PDF,
and a few others.

This is EXACTLY what I want/need for my clients.

Running under Windows XP, all is fine.

But my clients are moving to Windows Vista, and now my problem arises.
When the program runs, it does everything correctly, including
previewing any report.

But when the progam ends, Vista throws an error message, and tells them
it is trying to resolve the problem.
I have proven it is only when they invoke/use the Print preview control
that this occurs... and only with Vista.

I have contacted the providers of the Print Preview product many times,
but I am receiving no help or response
from them at all. This has been over the last 2-3 months.

Does anyone have any suggestions or recommendations for any other
product,
or any other technique that I can use for my needs?

It must NOT require any "template" or file to be created/used (as does
Crystal Reports).
It must NOT require any database access to be invoked (I do all the
database calls myself).
It MUST be able to export a report to RTF, DOC, PDF, HTML, and possibly
a few others.
It MUST run with no errors under Windows Vista.
Preferably something that just has properties and methods which I can
call, to construct the report,
and display it to my client, with appropriate tool bar icons for paging,
zoom in/out, print, export, etc..

I have been searching high and low for weeks, for another product, and
cannot find anything which will fill the bill.

I am even willing to build my own, but the "exporting" to other files is
my stumbling block.

Any help or suggestions anyone can provide is greatly appreciated.

Thanks





.



Relevant Pages

  • Re: pfd-Datei innerhalb eines VFP-Reports ausgeben
    ... OleBoud Control habe ich schon getestet, das funktioniert auch bei mir nicht ... RTFs kann man mit Hilfe des OleBound-Controls in einen Report ausgeben. ... APPEND GENERAL pdf FROM LOCFILE ... Reader 5.05, denn der ist bei mir installiert. ...
    (microsoft.public.de.fox)
  • Re: Acrobat 7 and FoxPro
    ... I don't know anything about the Adobe Acrobat control you mention. ... However, if you want to print from VFP to a PDF file, why not use PDF995 as ... Demo showing how to print a Fox report to a PDF ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Print Preview with EXPORT capability
    ... But I am trying to NOT have to have my clients acquire/install any version of WORD. ... And I definitely don't want them to have to install another printer driver, just to vew the report as a PDF. ... PDF is possible via any of the free PDF printer drivers or, if you're using Word 2007, you get PDF and XPS for free. ... But my clients are moving to Windows Vista, ...
    (microsoft.public.vb.general.discussion)
  • Re: Using VBA to set the Save As Dialog box text box values
    ... Access report. ... Virtual PDF printer selected to save the report to a PDF file. ... It is at this point that I want to control the values in the Save As ...
    (microsoft.public.access.formscoding)
  • Re: pfd-Datei innerhalb eines VFP-Reports ausgeben
    ... Report "PdfTest" erstellt, OleBoud Control draufgezogen, als "Control ... CREATE CURSOR testdata (pdf G) ... APPEND GENERAL pdf FROM LOCFILE ... REPORT FORM PdfTest PREVIEW ...
    (microsoft.public.de.fox)