Microsoft KB Archive/99517

= PRB: Chaining from Formless App to Another App Causes Error =

PSS ID Number: 99517

Article Last Modified on 1/8/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q99517



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 &quot;program2&quot; MSGBOX &quot;This line never gets executed&quot;

Additional query words: VBmsdos 1.00 shell run VBDOS

Keywords: KB99517

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

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

© 2004 Microsoft Corporation. All rights reserved.