PRB: Can't Watch Properties or Fields Used in a WITH Statement (129447)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q129447 SYMPTOMS
While debugging, no value is displayed if you add properties of objects or
fields of User Defined Types (UDTs) that are accessed by a WITH Statement
to the Watch Window. Instead, the message "Expression not defined in
context" is displayed.
NOTE: You cannot use the WITH statement itself from inside the Debug
Window.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | kbprb kbProgramming KB129447 kbAudDeveloper |
---|
|