Microsoft KB Archive/152693

= BUG: Component Manager Closes Down When Invalid Date Entered =

Article ID: 152693

Article Last Modified on 6/28/2004

-

APPLIES TO


 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q152693



SYMPTOMS
If an invalid date is entered in the Visual Basic 4.0 Enterprise Edition Component Manager, and then a menu option is selected, the following error message occurs and the Component Manager closes down:

"Run-time error 5 - Invalid Procedure Call."



STATUS
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



WORKAROUND
This problem can be avoided by ensuring that the dates are valid before choosing a menu option.



Steps to Reproduce the Problem

 * 1) Start the Component Manager.
 * 2) In the Date field, delete the last character from the starting date.
 * 3) From the menu, choose View...User Options.

The Component Manager returns a run-time error and closes down.

This same behavior can be observed by accessing many other menu choice combinations after a Date has been made invalid.

Additional query words: 4.00 vb4win vb4all

Keywords: kbbug KB152693

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.