BUG: Class with Data Source Causes Type 11 Error

Last reviewed: April 1, 1997
Article ID: Q166131
The information in this article applies to:
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

SYMPTOMS

When a class with a data source is instantiated with a CREATEOBJECT() command, or by placing the class on a form, the following error occurs:

   Sorry, a system error occurred
   "Microsoft Visual FoxPro"
   error type 11

The operating system closes Visual FoxPro. However, sometimes the machine hangs.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a class based on a combobox object by entering the following command in the Command window:

          CREATE CLASS test OF test.vcx AS combobox
    

  2. In the Property sheet of the class, set the following properties of the class:

          RowSource: SYS(2004)+ 'samples\data\customer.dbf'
          RowSourceType: Alias
    

  3. Save the class.

  4. Type the following lines of code in the Command window:

          CREATE FORM Ztest
    

  5. Click the View Classes button on the Form Controls Toolbar and select Add. Locate and add the Test class created in step 1.

  6. Place the Test class combo box on the form and run the form. The error message may occur when placing the class on the form or when the executing the form.


Keywords : buglist3.00b FxprgClassoop kbbuglist
Version : 3.0b
Platform : MACINTOSH
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.