Microsoft KB Archive/255831: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - "<" to "<")
Line 48: Line 48:
'''For example, the following code:'''<br />
'''For example, the following code:'''<br />


<pre class="codesample">&lt;%@ Language=VBScript %&gt;
<pre class="codesample"><%@ Language=VBScript %&gt;


  &lt;INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &gt; 4) {return false}&quot;&gt;
  <INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &gt; 4) {return false}&quot;&gt;


  &lt;SELECT name=&quot;tmpSelect&quot;&gt;
  <SELECT name=&quot;tmpSelect&quot;&gt;
  &lt;OPTION&lt;% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&gt;Default&lt;/OPTION&gt;
  <OPTION<% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&gt;Default</OPTION&gt;
  &lt;/SELECT&gt;
  </SELECT&gt;


  &lt;IMG src=&quot;myImg.gif&quot;&gt;
  <IMG src=&quot;myImg.gif&quot;&gt;
   &lt;/PRE&gt;
   </PRE&gt;


  &lt;%@ Language=VBScript %&gt;
  <%@ Language=VBScript %&gt;


  &lt;INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &gt; 4) {return false}&quot;&gt;
  <INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &gt; 4) {return false}&quot;&gt;


  &lt;SELECT name=&quot;tmpSelect&quot;&gt;
  <SELECT name=&quot;tmpSelect&quot;&gt;
  &lt;OPTION&lt;% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&gt;Default&lt;/OPTION&gt;
  <OPTION<% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&gt;Default</OPTION&gt;
  &lt;/SELECT&gt;
  </SELECT&gt;


  &lt;IMG src=&quot;myImg.gif&quot;&gt;
  <IMG src=&quot;myImg.gif&quot;&gt;
                 </pre>
                 </pre>
'''is replaced with this code:'''<br />
'''is replaced with this code:'''<br />


<pre class="codesample">&lt;%@ Language=VBScript %&gt;
<pre class="codesample"><%@ Language=VBScript %&gt;


&lt;INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &amp;amp;gt; 4) {return false}&quot;&gt;
<INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &amp;amp;gt; 4) {return false}&quot;&gt;


&lt;SELECT name=&quot;tmpSelect&quot;&gt;
<SELECT name=&quot;tmpSelect&quot;&gt;
&lt;OPTION&lt;% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&amp;amp;gt;Default&lt;/OPTION&gt;
<OPTION<% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&amp;amp;gt;Default</OPTION&gt;
&lt;/SELECT&gt;
</SELECT&gt;


&lt;IMG src=&quot;myImg.gif&quot;&gt;
<IMG src=&quot;myImg.gif&quot;&gt;


    
    
&lt;%@ Language=VBScript %&gt;
<%@ Language=VBScript %&gt;


&lt;INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &amp;amp;gt; 4) {return false}&quot;&gt;
<INPUT type=&quot;button&quot; value=&quot; Sample &quot; onclick=&quot;if (intTemp &amp;amp;gt; 4) {return false}&quot;&gt;


&lt;SELECT name=&quot;tmpSelect&quot;&gt;
<SELECT name=&quot;tmpSelect&quot;&gt;
&lt;OPTION&lt;% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&amp;amp;gt;Default&lt;/OPTION&gt;
<OPTION<% If blnCheck Then Response.Write &quot; SELECTED&quot;%&gt;&amp;amp;gt;Default</OPTION&gt;
&lt;/SELECT&gt;
</SELECT&gt;


&lt;IMG src=&quot;myImg.gif&quot;&gt;
<IMG src=&quot;myImg.gif&quot;&gt;
                 </pre>
                 </pre>
'''NOTE''': Some of the &quot;&gt;&quot; characters within the lines of code are replaced with &quot;&gt;&quot;.
'''NOTE''': Some of the &quot;&gt;&quot; characters within the lines of code are replaced with &quot;&gt;&quot;.

Revision as of 09:01, 21 July 2020

Knowledge Base


Article ID: 255831

Article Last Modified on 10/16/2002



APPLIES TO

  • Microsoft Visual InterDev 6.0 Standard Edition



This article was previously published under Q255831

SYMPTOMS

When a file is opened to be edited with Visual InterDev 6.0, source code characters are encoded with their HTML variable equivalents.

For example, the following code:

<%@ Language=VBScript %>

 <INPUT type="button" value=" Sample " onclick="if (intTemp > 4) {return false}">

 <SELECT name="tmpSelect">
 <OPTION<% If blnCheck Then Response.Write " SELECTED"%>>Default</OPTION>
 </SELECT>

 <IMG src="myImg.gif">
  </PRE>

 <%@ Language=VBScript %>

 <INPUT type="button" value=" Sample " onclick="if (intTemp > 4) {return false}">

 <SELECT name="tmpSelect">
 <OPTION<% If blnCheck Then Response.Write " SELECTED"%>>Default</OPTION>
 </SELECT>

 <IMG src="myImg.gif">
                

is replaced with this code:

<%@ Language=VBScript %>

<INPUT type="button" value=" Sample " onclick="if (intTemp &amp;gt; 4) {return false}">

<SELECT name="tmpSelect">
<OPTION<% If blnCheck Then Response.Write " SELECTED"%>&amp;gt;Default</OPTION>
</SELECT>

<IMG src="myImg.gif">

  
<%@ Language=VBScript %>

<INPUT type="button" value=" Sample " onclick="if (intTemp &amp;gt; 4) {return false}">

<SELECT name="tmpSelect">
<OPTION<% If blnCheck Then Response.Write " SELECTED"%>&amp;gt;Default</OPTION>
</SELECT>

<IMG src="myImg.gif">
                

NOTE: Some of the ">" characters within the lines of code are replaced with ">".

CAUSE

This behavior is caused by a bug in the Link repair functionality for Visual InterDev 6.0 projects.

RESOLUTION

To resolve this problem, follow these steps to disable Link repair:

  1. Right-click the Project in the Project Explorer.
  2. Select Properties.
  3. On the General tab, under Link repair, click Off.
  4. Click OK.


STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbide KB255831