The information in this article applies to:
SYMPTOMS
When you use the SelPrint method in Visual Basic, you receive unexpected
results. If you execute an EndDoc method after a SelPrint, you may receive
the following error:
Additionally, if you are printing information after the SelPrint method within the same print job, you may find that the information is not printed. CAUSEThe SelPrint method of the Rich TextBox control that ships with Visual Basic 6.0 has an optional second argument. This argument determines whether the SelPrint method performs the StartDoc and EndDoc printer control operations, and sends data to the printer using only EndPage and StartPage operations as required. If you set this second argument to TRUE (or omit it), the SelPrint method performs the StartDoc and EndDoc operations. If you set this second argument to FALSE, the SelPrint method does not perform the StartDoc and EndDoc operations. RESOLUTION
There are two solutions to this problem:
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: kbVBp600 kbVBp kbdsd kbDSupport kbPrinting
Keywords : kbCtrl kbVBp kbVBp600 kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |