FIX: Error When Assigning a Text String to a TextBoxID: Q180786
|
If 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:
When run on the device, the command does not function but there is no error generated.The instruction at "0x0027dcc0" referenced memory at "0x00000000". The memory could not be "written".
The syntax error is not encountered until run-time.
Ensure that the assignment operator is included when assigning a string to
the Text property of a textbox, as shown here:
Text1.Text = "Hello World"
Text1.Text "Hello World" 'Causes the Error!
Microsoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article.
This problem was corrected in Windows CE Toolkit for Visual Basic 6.0.
(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Mike Dixon, Microsoft Corporation.
Additional query words: Syntax Checking vbce vbce5 vbce6
Keywords : kbToolkit kbVBp kbVBp500bug kbVBp600fix kbWinCE kbWinCE100 kbGrpVB
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: February 25, 1999