XP-SP2: why does Browser displays HTML as source in a window



We have an application written in VB6 that hosts the Browser control on a
form. The HTML received from the server is hosted in the Browser control.

When we upgraded to XP- SP2 we hit the problem such that the HTML was not
rendered in the control. Instead the HTML source was displayed in it.

As per Microsoft recommendation in document link:
we inserted a 'Mark of the Web comment' in the HTML code. The problem
disapperaed except for a couple of users who still see the HTML displayed as

Can anyone please let me know what to check for on the failing machines?

The HTML in question is shown below:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"/>

<!-- saved from url=(0013)about:internet -->
<BASE href="http://pjweb-uk1.solutionnet.fs.fujitsu.com/pjwlib/"/>
<script src="js/language-en.js">
</script><script src="js/validation.js">
</script><link rel="stylesheet" type="text/css" href="css/common.css"/>
</HEAD><BODY onload="onLoadReadWrite(dialogue);"
<FORM name="dialogue" method="POST" onsubmit="return false;">
<TABLE border="1" width="100%" cellspacing="1" cellpadding="0">
New Folder</title><TR>
<TD valign="top">
<TABLE cellpadding="1" cellspacing="0" width="100%" bgcolor="" bordercolor="">
<TD colspan="2" bgcolor="">
<DIV align="center">
<FONT face="Arial, Helvetica, sans-serif" size="2">
<TD colspan="10" bgcolor="" align="center">
New Folder</h3></TD></TR></FONT></B></DIV></TD></TR><TR>
<TD colspan="2" bgcolor="">
Create a new folder in "My Projects/ProjectWEB
<TR id="name_row">
<TD align="right" NOWRAP="" valign="middle" height="17">
<DIV align="right" title="">
<span id="name_cap" class="">
New folder name</span></DIV></TD><TD>
<input type="text" title="" name="name" tabindex="" label="New folder name"
value="" min="1" max="" multi="" uri="" datatype="string" class=""
mandatory="" onchange="" size=""/>
</TD></TR><TR id="dialogueName_row">
<input type="hidden" title="" name="dialogueName" tabindex="" label=""
value="NewInput" min="" max="" multi="" uri="" datatype="" class=""
mandatory="" onchange="" size=""/>
<input title="" type="submit" name="yes" value="Create" uri="continue"
validate="" multi="" onclick="Submit(this);"/>
<input title="" type="button" name="cancel" value="Cancel" uri="cancel"
validate="" multi="" onclick="Submit(this);"/>
</TD></TR></TABLE></TABLE></TD></TR></TABLE><input type="hidden" name="uri"

Robert Aldwinckle

<!-- saved from url=(0013)about:internet -->

Does that really work? I have always thought it was a typo in the documentation.
(E.g. (0014) seems more appropriate for that name.)

Also, is that the zone which is being used for the problem page?
(Look at the icon in the Status bar.)

The problem disapperaed except for a couple of users
who still see the HTML displayed as source.

Try tracing each case with RegMon?
Perhaps a filter of zone would be sufficient
to detect any significant differences.

Good luck

Robert Aldwinckle


Hi Robert.

The problem went away when we re-arranged the 1st few lines of HTML:
<Meta .....
<!-- saved from url ...

<!-- saved from url ...
<Meta .....

By the way <!-- saved ... works fine.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question