BUG:RDC.Enabled False at Design Time Resets to True at RunTime

Last reviewed: November 19, 1996
Article ID: Q148260
The information in this article applies to:
  • Enterprise Edition of Microsoft Visual Basic, 32-bit only, for Windows, version 4.0

SYMPTOMS

Setting the Remote Data Control Enabled property to false at design time will reset to true when running the program.

WORKAROUND

To work around, set the Enabled property to False programmatically. For example: MSRDC1.Enabled = False in the Form load event.

STATUS

Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

In addition to not being able to set the Enabled property to false at design time, no matter what the Enabled property is set to, the Remote Data Control never appears grayed.

Steps to Reproduce the Error in Visual Basic 4.0 32-Bit

  1. Start 32-bit Visual Basic 4.0, or if it is already running, click New Project on the File menu.

  2. Place a Remote Data Control on Form1.

  3. Set the Enabled property to False.

  4. In the form_click event place the following code:

          MsgBox MSRDC1.Enabled
    

  5. Run the program.

  6. click on the Form.

  7. The Enabled property value prints out as True.


Additional reference words: 4.00 vb4win vb432
KBCategory: kbusage kbbuglist
KBSubcategory: PrgCtrls



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: November 19, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.