Printing Access Report with Snapshot viewer control (SNAPVIEW.OCX)

L

L M Kahn

I have developed a Visual Basic program that uses the Snapshot Viewer Control
(SNAPVIEW.OCX). The data was exported from an Access report into a .snp
file. I have two questions:

1) I am using the PrintSnapshot method to print the reports. Is the some
way that I can control the properties? For example, I only want to print the
selected page, not all pages or a range.

2) I have found that it takes an incredibly long time to view the first
report page when there are more than just a few reports in the .snp file. In
one example, I have 13,000 pages and I don't see the first page for at least
15 minutes. Is there a way to improve on this?

Thanks in advance for any information or help provided.

Lee
 
G

Guest

way that I can control the properties? For example, I only want to print
the
selected page, not all pages or a range.

Load the OCX into a VB project and use the object browser to
list the properties and methods.
2) I have found that it takes an incredibly long time to view the first
report page when there are more than just a few reports in the .snp file.

It is a compressed file. I imagine that the delay may be just windows
uncompressing the file. It may be possible to expand the file first (using
the standard windows routines), and still be able to use the Viewer
later. (because I think I remember that the windows routines safely
handle uncompressed files) If any one has tried it, it would be Lebans.
(Google for that name).

(david)
 
L

L M Kahn

David,

I appreciate the reply. Regarding the properties, you are falling into the
same trap I did when I first loaded the OCX. What you suggest is logical and
the way it is done normally with printers, but that isn't offered here, at
least not in the same way.

But, thanks for the try. I'm going to look for "Lebans" on Google.

Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top