Visual Basic Program May Not Receive the Correct Group Name in the MarkSelect Event (312404)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows 2000 Professional SP2

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 "label", 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 "l".

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


Modification Type:MinorLast Reviewed:9/26/2005
Keywords:kbHotfixServer kbQFE kbbug kbenv kbfix kbshell kbWin2000PreSP3Fix kbWin2000sp3fix KB312404