Microsoft KB Archive/93007

= Formula Too Complex Error with ADDITEM Method. =

PSS ID Number: 93007

Article Last Modified on 1/9/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q93007



SYMPTOMS
The error message &quot;Formula Too Complex&quot; may occur if the Additem method is performed with incorrectly created custom controls that do not deallocate temporary strings.

This problem is mentioned in the README.TXT file that comes with the Standard and Professional Editions of Microsoft Visual Basic for MS-DOS, version 1.0.



STATUS
Microsoft has confirmed this to be a bug in custom controls that are not created correctly in the Microsoft Visual Basic Professional Edition 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 following steps duplicate the problem:  Start VBDOS.EXE with a Quick Library that contains a previously created custom control that does not correctly deallocate a temporary string. (For example, VBDOS /L MYCNTRL.QLB). Select New Form... from the File menu (Form1.Frm). Select &quot;Mycntrl&quot; and add it to Form1 from the Toolbox. Save the file and exit the Forms Designer (FD.EXE).  Add the following code to the Form1 Click event procedure: SUB Form_Click FOR i% = 1 To 30 Mycntrl.ADDITEM STR$(1) NEXT i%     END SUB 

If the code for the custom control referred to above (MYCNTRL.QLB) was created incorrectly with the Custom Control Toolkit, you should get the &quot;Formula Too Complex&quot; error.

Additional query words: VBmsdos BugList1.00 1.00

Keywords: KB93007

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

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

© 2004 Microsoft Corporation. All rights reserved.