Microsoft KB Archive/93671

= READ With a Control Property Hangs the VBDOS.EXE Environment =

PSS ID Number: 93671

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 Q93671



SYMPTOMS
Using the READ statement to assign a value to a control property hangs the interpreter environment or incorrectly produces an &quot;Out of String Space&quot; error message.



STATUS
Microsoft has confirmed this to be a bug in the Standard and Professional Editions of 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 READ statement allows you to read data that is stored within your program in DATA statements. However, when the environment unexpectedly encounters a property name instead of a variable name to store the data in, it hangs the interpreter or produces an &quot;Out of String Space&quot; error message. This does not happen in a compiled program.

The following steps can be used to reproduce this problem:

 Start VBDOS.EXE. From the File menu select New Form... (FORM1.FRM). Form1 is created by default. Exit the Form Designer, save all changes.  Add the following code to the Module Level of Form1: DATA 10   Add the following code to the Form_Click event procedure of Form1: SUB Form_Click READ BackColor END SUB  Press F5 to run the application. Notice that the READ statement changes to random characters and the environment hangs or gives an &quot;Out of String Space&quot; error message.</li></ol>

Additional query words: VBmsdos BUGLIST1.00 1.00

Keywords: KB93671

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

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

© 2004 Microsoft Corporation. All rights reserved.