Microsoft KB Archive/46183

= Search/Change &quot;Match Not Found&quot; If Previous Search/Label =

Article ID: 46183

Article Last Modified on 11/21/2006



This article was previously published under Q46183



SYMPTOMS
In the QuickBasic Version 4.50 environment, if you attempt to perform a Search/Change after previously performing a Search/Label, then a &quot;Match Not Found&quot; message or similar message may display. If the Search/Change is performed first, it functions correctly.



STATUS
Microsoft has confirmed this to be a bug in the QB.EXE editor in Microsoft QuickBasic Version 4.50. This problem was corrected in the QuickBasic Extended (QBX.EXE) environment of Microsoft Basic Professional Development System (PDS) Version 7.00 for MS-DOS and MS OS/2 (fixlist7.00).



MORE INFORMATION
When using the Label command on the Search menu, the Change command doesn't function correctly until another option is chosen from that menu. The Change command appears to work in all situations except after the Label command has been invoked.

This problem is associated only with the QuickBasic Version 4.50 environment and does not occur in earlier versions.

To reproduce the problem, do the following:

  Enter the following lines of code: LPRINT &quot;Hello&quot; LPRINT &quot;GoodBye&quot; label1: LPRINT &quot;The end&quot;  Choose Label from the Search menu and find the label &quot;label1&quot;. Choose Change from the Search menu and find LPRINT and change it to PRINT. The message &quot;No Match Found&quot; is displayed.

Additional query words: QuickBas BasicCom buglist4.50 B_BasicCom SR# S890616-7

Keywords: KB46183

-

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

© Microsoft Corporation. All rights reserved.