|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Question on printing with Snapshot from VB 6I 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
Show quote
Hide quote
"L M Kahn" <LMK***@discussions.microsoft.com> wrote in message This is the first I've heard of this control. Seems that it's mostly used news:17C84296-898E-44F4-838C-81F31B6E69BE@microsoft.com... >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 for office automation. You may have better luck getting specifics in a vba group. According to a few of these, you should make sure you have the latest version or some scum of the earth, loser hacker may have their way with you. Results 1 - 100 of about 790 English pages for "Snapshot Viewer Control". (0.24 seconds) http://www.google.com/search?num=100&hl=en&lr=lang_en&as_qdr=all&q=+%22Snapshot+Viewer+Control%22&lr=lang_en -- Ken Halter - MS-MVP-VB - http://www.vbsight.com DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Please keep all discussions in the groups.. Ken,
When I added the OCX to my project VB won't allow it. VB says that the "Component is not correctly registered". When I look at the dll I see the error message in red: "Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module." What does this mean? I have used regsvr32.exe to register and un-register the file without much luck. Alastair MacFarlane Show quoteHide quote "Ken Halter" wrote: > "L M Kahn" <LMK***@discussions.microsoft.com> wrote in message > news:17C84296-898E-44F4-838C-81F31B6E69BE@microsoft.com... > >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 > > This is the first I've heard of this control. Seems that it's mostly used > for office automation. You may have better luck getting specifics in a vba > group. According to a few of these, you should make sure you have the latest > version or some scum of the earth, loser hacker may have their way with you. > > Results 1 - 100 of about 790 English pages for "Snapshot Viewer Control". > (0.24 seconds) > http://www.google.com/search?num=100&hl=en&lr=lang_en&as_qdr=all&q=+%22Snapshot+Viewer+Control%22&lr=lang_en > > -- > Ken Halter - MS-MVP-VB - http://www.vbsight.com > DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm > Please keep all discussions in the groups.. > > > Ken,
Thanks for taking the time to reply. Aside from your advice to beware of hackers, unfortunately you provide no help for my issue. Can you direct my queston to someone in Microsoft who has more direct involvement with the SNAPVIEW.OCX routine? It would be much appreciated. My project is at a standstill until I get this resolved. Thanks in advance for helping me find the right person. Lee Show quoteHide quote "Ken Halter" wrote: > "L M Kahn" <LMK***@discussions.microsoft.com> wrote in message > news:17C84296-898E-44F4-838C-81F31B6E69BE@microsoft.com... > >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 > > This is the first I've heard of this control. Seems that it's mostly used > for office automation. You may have better luck getting specifics in a vba > group. According to a few of these, you should make sure you have the latest > version or some scum of the earth, loser hacker may have their way with you. > > Results 1 - 100 of about 790 English pages for "Snapshot Viewer Control". > (0.24 seconds) > http://www.google.com/search?num=100&hl=en&lr=lang_en&as_qdr=all&q=+%22Snapshot+Viewer+Control%22&lr=lang_en > > -- > Ken Halter - MS-MVP-VB - http://www.vbsight.com > DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm > Please keep all discussions in the groups.. > > > "L M Kahn" <LMK***@discussions.microsoft.com> wrote in message Sorry... never heard of the control.news:821DB1E1-B05E-4AA5-8A25-9E6545C98A95@microsoft.com... > Ken, > > Thanks for taking the time to reply. Aside from your advice to beware of > hackers, unfortunately you provide no help for my issue. > Can you direct my queston to someone in Microsoft who has more direct I have no connection to MS so I wouldn't know where to start.> involvement with the SNAPVIEW.OCX routine? It would be much appreciated. > My > project is at a standstill until I get this resolved. > Thanks in advance for helping me find the right person. Maybe this'll help? Dunno. Don't do reports here.> > Lee Print & Preview MS Access Report In VB http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=44172&lngWId=1&txtForceRefresh=923200512485385726 I still say you'd be better off asking in an Access/Office automation group. They use that control. -- Ken Halter - MS-MVP-VB - http://www.vbsight.com DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Please keep all discussions in the groups.. |
|||||||||||||||||||||||