CHAIN While in Graphics Mode to Forms Program Trashes Screen

ID: Q90902


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


SYMPTOMS

If you chain form a compiled application using the run-time module while in a graphics mode to another application using the run-time module that uses forms mode, colorful garbage characters will be printed to the screen rather than the expected error message.


WORKAROUND

To work around this problem, add a SCREEN 0 statement just before the CHAIN statement. This will set the proper screen mode that is required for the form to be displayed.


STATUS

Microsoft has confirmed this to be a bug in Microsoft Visual Basic for MS-DOS, version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

The problem is with the forms when using the run-time module. The error message "Invalid Screen Mode" is not displayed when the you attempt to use forms before switching to SCREEN 0.

This problem does not occur with applications compiled with the /0 (stand-alone) option. If you try this within the interpretive environment (VBDOS.EXE), you will receive the expected error message "Invalid Screen Mode."

Additional query words: VBmsdos buglist1.00 1.00

Keywords :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


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