PDA

View Full Version : Attn: Sture



Peter.Tawse
23-Nov-2005, 12:59 AM
Hi Sture

I'm using your Vdfq23 version of VdfQuery with VPE 3.1 Pro,
and would dearly like to have a _LARGE_ Vpe document
start displaying Page 1 of the report whilst it's preparing
the rest (many hundreds) of the pages.

Can you advise if this is possible (like WinPrint2 does) when
using Vpe, and - if so - how do I set it up in the code to perform
in this manner.

I tried commenting out the "define VPE_USE_EMBEDDED_PREVIEW"
stuff, but wound up with compiler errors, so I'm obviously
NOT on the right track.

BTW - your continual efforts are MUCH appreciated. Very
nice work.

TIA


Regards

Peter Tawse
Microbase Software
Melbourne, Australia
Ph: +61 3 9563-9100
Fax: +61 3 9563-9477
ptawse@internode.on.net

Marco
23-Nov-2005, 01:40 AM
Peter,

I know I'm not Sture, but, although I have not worked with these
classes, normally VPE does allow you to view page 1 while the rest is
being printed.
Offcourse your code could prevent this, by having some 'page 1 of 101'
code in here.

Do you use something like that in your report?

Cheers,
Marco

Peter Tawse wrote:
> Hi Sture
>
> I'm using your Vdfq23 version of VdfQuery with VPE 3.1 Pro,
> and would dearly like to have a _LARGE_ Vpe document
> start displaying Page 1 of the report whilst it's preparing
> the rest (many hundreds) of the pages.
>
> Can you advise if this is possible (like WinPrint2 does) when
> using Vpe, and - if so - how do I set it up in the code to perform
> in this manner.
>
> I tried commenting out the "define VPE_USE_EMBEDDED_PREVIEW"
> stuff, but wound up with compiler errors, so I'm obviously
> NOT on the right track.
>
> BTW - your continual efforts are MUCH appreciated. Very
> nice work.
>
> TIA
>
>
> Regards
>
> Peter Tawse
> Microbase Software
> Melbourne, Australia
> Ph: +61 3 9563-9100
> Fax: +61 3 9563-9477
> ptawse@internode.on.net

Peter.Tawse
23-Nov-2005, 04:21 AM
Hi Marco

I'm referring to the use of VpeQuery - the Adhoc
report generator (Sture's clone of VdfQuery)
- NOT my code !


Regards

Peter Tawse
Microbase Software
Melbourne, Australia
Ph: +61 3 9563-9100
Fax: +61 3 9563-9477
ptawse@internode.on.net

Sture Andersen
23-Nov-2005, 12:09 PM
Hi Peter,

I *think* it's possible, *perhaps* by opening the document for writing and
the previewing it right away. That *might* be easy. But it could be tricky
to handle events if the previewer is closed before the report is finished.

I have never tried to set it up like that.

-Sture

Pieter van Dieren
25-Nov-2005, 05:04 AM
Sture,

It *is* possible.
Michael does it the same way in his StarZen classes.
Simply start the preview before writing.

I never tried to close a preview before the report is finished though...

--

Pieter