BUG: Error When Assigning a Text String to a TextBoxLast reviewed: February 10, 1998Article ID: Q180786 |
The information in this article applies to:
SYMPTOMSIf the assignment operator ("=") is left out when assigning a string to the Text property of a textbox, the following Application Error can occur when run within the emulator:
The instruction at "0x0027dcc0" referenced memory at "0x00000000". The memory could not be "written".When run on the device, the command does not function but there is no error generated.
CAUSEThe syntax error is not encountered until run-time.
RESOLUTIONEnsure that the assignment operator is included when assigning a string to the Text property of a textbox, as shown here:
Text1.Text = "Hello World"instead of:
Text1.Text "Hello World" 'Causes the Error! STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: Syntax Checking
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |