Microsoft KB Archive/129743

= BUG: Icon Distorted When Dragged in 16-Bit VB & Windows NT =

Article ID: 129743

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q129743



SYMPTOMS
When running Microsoft Visual Basic version 4.0 in 16-bit mode under Microsoft Windows NT, the icon specified in the DragIcon property of a control appears scrambled and distorted when you drag it. The icon also loses all colors and appears in black.

You may also see this behavior Windows 95 running an ATI Mach 32 video card.



RESOLUTION
This problem does not occur in the 32-bit edition of Visual Basic version 4.0. This is the only workaround.



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



Steps to Reproduce Behavior

 * 1) Start a new project in the 16-bit edition of Visual Basic version 4.0 under Windows NT. On the File menu, click New Project. Form1 is created by default.
 * 2) Place a Command Button (Command1) on Form1.
 * 3) Set the DragMode property for Command1 to "1-Automatic."
 * 4) Set the DragIcon property for Command1 to an icon.
 * 5) On the Run menu, click Start.
 * 6) Click the Command1 button, and try to drag it.
 * 7) Notice how the icon appears distorted and scrambled. If this icon is colored, notice how it appears in black. To see how the icon should appear, add an Image control to the form and set its Picture property to the same icon used in the DragIcon property of Command1.

Additional query words: kbdsd

Keywords: kbbug kbicon kb16bitonly kbpending KB129743

-

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

© Microsoft Corporation. All rights reserved.