Formula Too Complex Error with ADDITEM Method.
ID: Q93007
|
The information in this article applies to:
-
Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0
SYMPTOMS
The error message "Formula Too Complex" 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 "Mycntrl" 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
"Formula Too Complex" error.
Additional query words:
VBmsdos BugList1.00 1.00
Keywords :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :