PRB: Chaining from Formless App to Another App Causes Error

ID: Q99517


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


SYMPTOMS

The following error occurs when an application that contains no forms chains to an application that contains one or more forms:

Error loading run-time module vbdrt10e.exe: forms support removed.


CAUSE

The runtime module VBDRT10E.EXE is loaded when the first executable starts. If the executable doesn't contain forms, the runtime module saves memory by not loading form support. Therefore, if an executable that contains no forms chains to an executable that contains forms, the error occurs.


WORKAROUND

In the first application, put a message box in the code in a spot where it will never execute. This will be enough to cause forms support to be loaded.


MORE INFORMATION

For example, insert the following code in the first executable:


   CHAIN "program2"
   MSGBOX "This line never gets executed" 

Additional query words: VBmsdos 1.00 shell run VBDOS

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


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