Microsoft KB Archive/142247

= FIX: Application Error Occurs When Printing a Large Project =

Article ID: 142247

Article Last Modified on 12/9/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
 * Microsoft Windows NT 3.51 Service Pack 5

-



This article was previously published under Q142247



SYMPTOMS
Printing a large 32-bit Visual Basic project under the Windows NT 3.51 operating system generates an application error that closes Visual Basic. This behavior occurs if the Visual Basic program is running under the Windows NT 3.51 operating system whether you print the project to a printer or a file.



RESOLUTION
To print a large Visual Basic project from Windows NT 3.51, print the sections individually rather than as one large piece.



STATUS
Microsoft has confirmed this to be a issue in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual Basic version 5.0 for Windows.



Step to Reproduce Behavior
 Start the 32-bit version of the Visual Basic 4.0 under the Window NT 3.51 operating system or if it is already running, click New Project on the File menu. Load the Visdata project located in the \Program Files\Microsoft Visual Basic\Samples\visdata directory. To load this project:  From the File menu, click the Open Project menu item. The Open Project dialog box appears. Go to the \Program Files\Microsoft Visual Basic\Samples\visdata directory. Click the VISDATA.VBP file name. Click the OK button to close the Open Project dialog box and load the project.</li></ol> </li> From the File menu, click the Print menu item. The Print dialog box appears.</li> In the Print dialog box, click the Project option button and the Code and Form as Text check boxes.</li> Click OK to close the Print dialog box and begin printing. An application error occurs, and Visual Basic ends.</li></ol>

Keywords: kbbug kbfix kbide kbvbp500fix KB142247

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.