Microsoft KB Archive/135142

= PRB: Cannot Change Icon at Runtime in Visual Basic 3.0 Apps =

Article ID: 135142

Article Last Modified on 10/20/2003

-

APPLIES TO


 * Microsoft Visual Basic 3.0 Professional Edition

-



This article was previously published under Q135142



SYMPTOMS
You can't change the Icon property of a form at run time in a Visual Basic version 3.0 application.



CAUSE
Windows version 3.1 had code that looked at the first 100 icons in Visual Basic applications. Windows 95 code now looks only at the first five icons in Visual Basic applications. This change was made both for performance reasons and because later versions of Visual Basic (4.0 and beyond) no longer need this special code.



RESOLUTION
Update the Visual Basic version 3.0 application to a Visual Basic version 4.0 (or later) application.



STATUS
This behavior is by design.

Additional query words: development program

Keywords: kbprb KB135142

-

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

© Microsoft Corporation. All rights reserved.