The information in this article applies to:
SYMPTOMSThe Visual Basic Control Development Kit (CDK) API function VBSetErrorMessage() operates correctly only when called in response to a VBM_ message, such as VBM_SETPROPERTY. STATUSThis behavior is by design. MORE INFORMATION
The VBSetErrorMessage() function can be called from a custom control in
response to a VBM_ message to pass an error number and message back to
Visual Basic. When execution returns to Visual Basic, a trappable
run-time error will occur, with the error number and message specified
in the call to VBSetErrorMessage.
REFERENCES
"Microsoft Visual Basic: Control Development Guide," (c) 1992, page
117 (shipped with Professional Toolkit)
Additional query words: docerr 1.00 2.00
Keywords : |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |