Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2004, 05:36 PM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Print active form with listview

Hi everyone.
Another printing question here. My client just requested a new function for his software. He needs to be able to print an active form as it is on the screen. It is very easy to do. With only one exception: screens with ListView controls on it. All listviews are printed blank. Is there any solution for that?

Thanks a lot.
Pavel


 
Old November 22nd, 2004, 01:45 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you using the PrintForm method or are you doing the printing yourself?
Marco
 
Old November 22nd, 2004, 01:51 PM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Marco,
I would like to use PrintForm. But it doesn't print ListView controls data.

Pavel

 
Old November 22nd, 2004, 02:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That is a known PrintForm bug. See this MSDN article that explains how to fix it:

http://support.microsoft.com/default...22&Product=vbb

Marco
 
Old November 22nd, 2004, 02:10 PM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the link. It is what I was looking for.

Pavel






Similar Threads
Thread Thread Starter Forum Replies Last Post
How centre a form for printin using Print Form VBProg VB.NET 2002/2003 Basics 0 October 23rd, 2006 03:12 PM
ListView record in a form osemollie Pro VB Databases 7 May 19th, 2006 04:05 AM
No active form during OnLoad Bob Pierce Access VBA 1 May 23rd, 2004 06:25 PM
How to print an active form pavel Pro VB 6 1 April 22nd, 2004 08:29 AM
How to set an active form to Nothing. MisbahAnsari VB.NET 1 October 21st, 2003 02:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.