FIX: Application Error Occurs When Printing a Large Project

ID: Q142247


The information in this article applies to:
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 32-bit only, for Windows, 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. This problem was corrected in Visual Basic version 5.0 for Windows.


MORE INFORMATION

Step to Reproduce Behavior

  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:

    1. From the File menu, click the Open Project menu item. The Open Project dialog box appears.


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


    3. Click the VISDATA.VBP file name.


    4. 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 query words:

Keywords : kbnokeyword kbide kbVBp400bug kbVBp500fix kbGrpVB EnvtDes
Version : WINDOWS:4.0; winnt:3.51
Platform : WINDOWS winnt
Issue type : kbbug


Last Reviewed: February 2, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.