Microsoft KB Archive/73700

= BUG: TABs Paste Incorrectly as | to VB.EXE's Immediate Window =

Article ID: 73700

Article Last Modified on 12/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 1.0 Standard Edition

-



This article was previously published under Q73700



SYMPTOMS
TAB characters may be (from the Windows Clipboard) incorrectly PASTEd into the Immediate Window in Visual Basic. In Visual Basic, version 1.0, TAB characters may be incorrectly PASTEd in as pipe [|] symbols. In Visual Basic, version 2.0, TAB characters may be incorrectly PASTEd in as '\177', which looks like a small black box.



STATUS
Microsoft has confirmed this to be a bug in Microsoft Visual Basic programming system versions 1.0 and 2.0 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Problem
  From Windows, version 3.0, run NOTEPAD.EXE and enter the following text:

a  a

This will be displayed in the following format:   a     a                         Select the text with the mouse and choose Copy from Notepad's Edit menu to copy the text to the Windows Clipboard. Start Visual Basic and press F5 to run the blank program (or from the Run menu, choose Start). Break the program by pressing CTRL+BREAK, then click the mouse on the Immediate Window.  Press SHIFT+INSERT to enter the selected text into the Immediate Window. Observe that the Immediate Window incorrectly displays the following text: <pre class="fixed_text">  a|a instead of displaying the following: <pre class="fixed_text">  a     a NOTE: A pipe symbol is displayed in version 1.0, however in version 2.0, '\177' is displayed, which looks like a small black box. </li>  If you end the program (by choosing the End command from the Run menu), you will be able to successfully PASTE (SHIFT+INSERT) the correct text into any code window: <pre class="fixed_text">     a     a                        </li></ol>

Additional query words: buglist1.00 buglist2.00 buglist3.00 2.00 3.00

Keywords: kbbug KB73700

-

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

© Microsoft Corporation. All rights reserved.