Microsoft KB Archive/312404

= Visual Basic Program May Not Receive the Correct Group Name in the MarkSelect Event =

Article ID: 312404

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q312404



SYMPTOMS
A Microsoft Visual Basic program that is using the Kodak Image Edit OCX control can implement the MarkSelect event sub function to receive the notifications when the user or program selects an annotation mark. The MarkSelect event returns the name of the annotation group to which the annotation belongs in the Group Name String parameter. The MarkSelect event may return the correct group name for first time, but on subsequent callbacks, it may always return only the first character of the name. For example, if you set the annotation group name as &quot;label&quot;, the very first time you run the Visual Basic program, the MarkSelect event returns the correct group name (label). But in subsequent MarkSelect event callbacks to your Visual Basic program, the group name may be returned as &quot;l&quot;.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:

  Date         Time   Version        Size     File name ---  27-Nov-2001  14:28  5.0.2195.4671  306,448  Imgedit.ocx



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Additional query words: kbShell

Keywords: kbbug kbfix kbshell kbwin2000presp3fix kbqfe kbwin2000sp3fix kbenv kbhotfixserver KB312404

-

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

© Microsoft Corporation. All rights reserved.