Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dhtml edit control?

Status
Not open for further replies.

baillie

Programmer
Jun 19, 2001
6
CA
Hello. I'm having a problem with an application and I believe it has something to do with the dhtmled.dll.

I'm probably going to over simplify this because the original programmers have left the company and quite frankly, I'm confused over this one. We have an application that users can enter text into and the text is run through the dhtml edit to generate the html required for display. Most of the time there is no problem. Sometimes though, the generated html has a question mark '?' prepended to it which of course also shows up when displayed.

I have noticed some differences in some of the html code
generated by the dhtml edit, which seems to signify when the '?' will appear or not.

Sorry if I sound like I don't know what's going on here, but in fact I'm stumped.

There are two meta lines generated. They show up in 3 different formats. Note the version numbers:

<META http-equiv=Content-Type content=&quot;text/html; charset=unicode&quot;>
<META content=&quot;MSHTML 6.00.2800.1106&quot; name=GENERATOR>

or

<META http-equiv=Content-Type content=&quot;text/html; charset=unicode&quot;>
<META content=&quot;MSHTML 5.50.4926.2500&quot; name=GENERATOR>

or

<META content=&quot;text/html; charset=unicode&quot; http-equiv=Content-Type>
<META content=&quot;MSHTML 5.00.2314.1000&quot; name=GENERATOR>

When either of the first two pairs are generated, the html is fine. If the last pair is generated, then the '?' will mysteriously appear in the document.

The version looking numbers relate to the version of IE
installed. Am I right? The version I currently have installed is 6.00.2800.1106, so I should expect to see the first pair of meta lines. I don't understand why the other two pairs would appear at all since my version of IE is clearly newer. I attribute the '?' appearance to the old version having a problem that was fixed in the newer versions as the only time the '?' appears is then the 5.00 version is displayed in the META tag.

I don't see how/why this shows three different versions when I only have one version of IE installed on my pc.

One other thing that may be a clue. There has been some objects copied and pasted from MS Powerpoint and MS Word into our documents.

If I have a document that definately does not have this problem and then paste a portion of the affected document into it, the non-affected document will now have the problem.

Possibly this may be caused because the affected document was created on a different pc (possibly different version of IE and/or dhtmled.dll. I'll have to look into that next.

Any insight or ideas of where to start with this would be very much appreciated.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top