PRB: PrintForm Does Not Print the ListView Content (318722)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
This article was previously published under Q318722 SYMPTOMS
When you use Microsoft Windows Common Controls 6.0, the items in the ListView control do not print with the PrintForm method of the form. Only the first item in the ListView may be visible on the printed document.
RESOLUTION
To resolve this issue, use either of the following methods:
- Instead of using Windows Common Controls 6.0, use Windows Common Controls 5.0.
-or-
- Instead of using the PrintForm method to print the form, use the Windows API (as shown in the following Microsoft Knowledge Base article), and set the Visible property of the PictureBox object to False.
161299 HOWTO: Capture and Print the Screen, a Form, or Any Window
Modification Type: | Major | Last Reviewed: | 6/5/2003 |
---|
Keywords: | kbprb KB318722 |
---|
|