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

ID: Q73700


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 3.0
  • Microsoft Visual Basic programming system for Windows, version 1.0


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.


MORE INFORMATION

Steps to Reproduce Problem

  1. From Windows, version 3.0, run NOTEPAD.EXE and enter the following text:
    a <TAB> a
    This will be displayed in the following format:
    
       a     a 


  2. Select the text with the mouse and choose Copy from Notepad's Edit menu to copy the text to the Windows Clipboard.


  3. Start Visual Basic and press F5 to run the blank program (or from the Run menu, choose Start).


  4. Break the program by pressing CTRL+BREAK, then click the mouse on the Immediate Window.


  5. Press SHIFT+INSERT to enter the selected text into the Immediate Window. Observe that the Immediate Window incorrectly displays the following text:
    
       a|a 
    instead of displaying the following:
    
       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.


  6. 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:
    
          a     a 


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

Keywords :
Version : WINDOWS:1.0,2.0,3.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.