Microsoft KB Archive/191966

= BUG: Textbox DTC Copy/Paste Causes Error in Quick View =

Article ID: 191966

Article Last Modified on 3/7/2005

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q191966



SYMPTOMS
When trying to copy and paste a text box DTC within a table onto the same page, the following runtime error is generated when switching to Quick View:

Object doesn't support this property or method.



CAUSE
This is due to the fact that the newly pasted control has the same name. In quick view, the script library is actually running and is raising a JScript exception due to two objects with the same name.



RESOLUTION
You can change the name of the second text box to make its name unique.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Behavior

 * 1) Create a new HTML page.
 * 2) Insert a 3x3 table.
 * 3) In cell (0,0), type in some text like "name:".
 * 4) Add a textbox DTC in cell (0,1).
 * 5) Select cell (0,0) and cell (0,1) by highlighting them.
 * 6) From the Edit menu, click Copy.
 * 7) Click outside the table and click Paste from the Edit menu. A new table is being created.
 * 8) Switch to quick view.

A runtime text error occurs:

Object doesn't support this property or method.

Keywords: kbbug kbctrl kbpending KB191966

-

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

© Microsoft Corporation. All rights reserved.