BUG: Application Error Occurs When Printing a Large Project

Last reviewed: October 14, 1996
Article ID: Q142247
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic for Windows, 32-bit only, version 4.0
  • Microsoft Windows NT Workstation version 3.51

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.

WORKAROUND

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. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Step to Reproduce

  1. 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.

  2. Load the Visdata project located in the \Program Files\Microsoft Visual Basic\Samples\visdata directory. To load this project:

    a. From the File menu, click the Open Project menu item. The Open

          Project dialog box appears.
    

    b. Go to the \Program Files\Microsoft Visual Basic\Samples\visdata

          directory.
    

    c. Click the VISDATA.VBP file name.

    d. Click the OK button to close the Open Project dialog box and load the

          project.
    

  3. From the File menu, click the Print menu item. The Print dialog box appears.

  4. In the Print dialog box, click the Project option button and the Code and Form as Text check boxes.

  5. Click OK to close the Print dialog box and begin printing. An application error occurs, and Visual Basic ends.


Additional reference words: 4.00 vb4win vb432
KBCategory: kbprint kbbuglist
KBSubcategory: EnvtDes


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 14, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.