PRB: Using TypeOf as Part of an If Statement Fails (129942)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
This article was previously published under Q129942 SYMPTOMS
Using TypeOf as part of an If statement fails when it is used it on a
control that was passed to a server application.
CAUSE
To resolve the type of an object through the TypeOf interface, remoting is
required for the actual control type. However, there is no remoting
capability for controls.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbprb KB129942 |
---|
|