BUG: Application Error Returns Resized Array to Event Procedure (272400)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q272400 SYMPTOMS
When you attempt to assign the return value of a function to an event procedure array argument, an Application Error occurs if the function returns an array that is not the same size as the array argument in the event procedure.
RESOLUTION
To work around this behavior:
- a temporary array can be used as the return for the function and the array argument can be resized in the event procedure.
-or-
- the array in the function can be re-dimensioned to the same size as the array in the event procedure.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbCmnCtrls kbCtrl kbDSupport kbMonthCalCtrl KB272400 |
---|
|