Microsoft KB Archive/305247

= FIX: Error Setting Property Named &quot;Value&quot; to Null in Class =

Article ID: 305247

Article Last Modified on 8/24/2001

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q305247



SYMPTOMS
If you create a class with a property named &quot;Value&quot;, attempts to change this property to =NULL cause the following error:

Fatal error: Exception code = C00000FD

The error does not occur if you type .NULL. instead of =NULL (or =null). Note that &quot;Value&quot; is a reserved word in Visual FoxPro, and that naming a property or method after a reserved word is not recommended.



STATUS
This problem was corrected in Visual FoxPro version 7.0 for Windows.



Steps to Reproduce Behavior
  Create and then run a program containing the following code: DELETE FILE testxx.vc? _CLIPTEXT = &quot;value&quot; KEYBOARD '{alt+c}{p}{ctrl+v}{alt+a}{alt+c}{ctrl+s}{alt+f}{c}' MODIFY CLASS test AS CUSTOM OF testxx MODIFY CLASS test AS CUSTOM OF testxx NOWAIT  In the Property sheet of the class, locate the Value property created in the program from step 1. Change the value of the Value property from .F. to =NULL and press the UP ARROW key. A memory error appears and the program closes.

Keywords: kbbug kbfix kboop kbcodesnippet kbvfp700fix KB305247

-

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

© Microsoft Corporation. All rights reserved.