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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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:
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx
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
source.

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"/>
<HTML>

<!-- saved from url=(0013)about:internet -->
<HEAD>
<BASE href="http://pjweb-uk1.solutionnet.fs.fujitsu.com/pjwlib/"/>
<script src="js/language-en.js">
/null;
</script><script src="js/validation.js">
/null;
</script><link rel="stylesheet" type="text/css" href="css/common.css"/>
</HEAD><BODY onload="onLoadReadWrite(dialogue);"
onkeyup="checkKey(dialogue);">
<FORM name="dialogue" method="POST" onsubmit="return false;">
<TABLE border="1" width="100%" cellspacing="1" cellpadding="0">
<title>
New Folder</title><TR>
<TD valign="top">
<TABLE cellpadding="1" cellspacing="0" width="100%" bgcolor="" bordercolor="">
<TR>
<TD colspan="2" bgcolor="">
<DIV align="center">
<B>
<FONT face="Arial, Helvetica, sans-serif" size="2">
<BR/>
<TR>
<TD colspan="10" bgcolor="" align="center">
<h3>
New Folder</h3></TD></TR></FONT></B></DIV></TD></TR><TR>
<TD colspan="2" bgcolor="">
<p>
Create a new folder in "My Projects/ProjectWEB
Support/ProjectWorkspace/WorkingNotes/Joginder_Nahil"</p></TD></TR><TABLE
width="100%">
<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">
<TD>
<input type="hidden" title="" name="dialogueName" tabindex="" label=""
value="NewInput" min="" max="" multi="" uri="" datatype="" class=""
mandatory="" onchange="" size=""/>
</TD></TR><TR>
<TD COLSPAN="10" ALIGN="RIGHT">
<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"
value=""/>
</FORM></BODY></HTML>
 
....
<!-- 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:
FROM:
<Meta .....
<HTML>
<!-- saved from url ...
<Header>

TO:
<HTML>
<Header>
<!-- saved from url ...
<Meta .....

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

Regards,
Joginder
 
Back
Top