How To Capture and Print the Screen, a Form, or Any Window (161299)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q161299 SUMMARY
This article shows how to capture any form or window including the screen
into a Visual Basic Picture object. Once the on-screen image is captured in
the Picture object, it can easily be printed using the PaintPicture method
of the Visual Basic Printer object.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
230502 How To Print a Form That is Too Large for the Screen or Page
178076 How To Use a PictureBox to Control Orientation Printing a Form
194580 How To Print a Composite Image From a RichTextBox
146022 How To Set Up the RichTextBox Control for WYSIWYG Printing
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbhowto kbprint KB161299 |
---|
|