Click to See Complete Forum and Search --> : dhtml edit control?


danabaillie
September 19th, 2003, 05:34 PM
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 leaving me, the junior
programmer, to carry on 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 to display the text. This html is displayed when
the "html" tab is selected. 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 if the data
itself is redisplayed.

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 do not. Hard way to learn, but the solution will likely stick with
me.

There are two meta lines generated:

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

or

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

or

<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" 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.

I'm pretty new to this, so if I'm way out to lunch here, smack me
gently. 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 just don't see how/why this shows three different versions
when I only have one version of IE installed on my pc.

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

Thanks. :)