DOCUMENT:Q166131 11-DEC-1999 [foxpro] TITLE :BUG: Class with Data Source Causes Type 11 Error PRODUCT :Microsoft FoxPro PROD/VER:MACINTOSH:3.0b OPER/SYS: KEYWORDS:kbvfp300bBUGkbbuglist ====================================================================== ------------------------------------------------------------------------------- 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. 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. Additional query words: ====================================================================== Keywords : kbvfp300bBUG kbbuglist Technology : kbHWMAC kbOSMAC kbVFPsearch kbAudDeveloper kbVFP300bMac Version : MACINTOSH:3.0b 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. Copyright Microsoft Corporation 1999.