Microsoft KB Archive/255831: Difference between revisions
From BetaArchive Wiki
m (Text replacement - """ to """) |
m (Text replacement - "&" to "&") |
||
Line 73: | Line 73: | ||
<pre class="codesample"><%@ Language=VBScript %> | <pre class="codesample"><%@ Language=VBScript %> | ||
<INPUT type="button" value=" Sample " onclick="if (intTemp & | <INPUT type="button" value=" Sample " onclick="if (intTemp > 4) {return false}"> | ||
<SELECT name="tmpSelect"> | <SELECT name="tmpSelect"> | ||
<OPTION<% If blnCheck Then Response.Write " SELECTED"%>& | <OPTION<% If blnCheck Then Response.Write " SELECTED"%>>Default</OPTION> | ||
</SELECT> | </SELECT> | ||
Line 84: | Line 84: | ||
<%@ Language=VBScript %> | <%@ Language=VBScript %> | ||
<INPUT type="button" value=" Sample " onclick="if (intTemp & | <INPUT type="button" value=" Sample " onclick="if (intTemp > 4) {return false}"> | ||
<SELECT name="tmpSelect"> | <SELECT name="tmpSelect"> | ||
<OPTION<% If blnCheck Then Response.Write " SELECTED"%>& | <OPTION<% If blnCheck Then Response.Write " SELECTED"%>>Default</OPTION> | ||
</SELECT> | </SELECT> | ||
Latest revision as of 13:55, 21 July 2020
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">
<%@ 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 > 4) {return false}"> <SELECT name="tmpSelect"> <OPTION<% If blnCheck Then Response.Write " SELECTED"%>>Default</OPTION> </SELECT> <IMG src="myImg.gif"> <%@ 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">
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:
- Right-click the Project in the Project Explorer.
- Select Properties.
- On the General tab, under Link repair, click Off.
- 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