Microsoft KB Archive/148260

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

Article ID: 148260

Article Last Modified on 1/8/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q148260



SYMPTOMS
Setting the Remote Data Control Enabled property to false at design time will reset to true when running the program. To work around, set the Enabled property to False programmatically. For example: MSRDC1. Enabled equals 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
 Start 32-bit Visual Basic 4.0, or if it is already running, click New Project on the File menu. Place a Remote Data Control on Form1. Set the Enabled property to False.  In the form_click event place the following code: MsgBox MSRDC1.Enabled  Run the program. click on the Form.</li> The Enabled property value prints out as True.</li></ol>

Additional query words: 4.00 vb4win vb432

Keywords: kbbug KB148260

-

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

© Microsoft Corporation. All rights reserved.