Asked by SiJP in .NET, Miscellaneous Programming, C# Programming Language
Tags: vb.net c#.net, Internet Explorer 6 & 7
{edit} Ok - trimming this question down slightly:
Does anyone know why Windows 2000 doesn't wrap lines in the Web Browser control?
Cheers!
------------------
Original Question
Hello,
I have created a HTML Editor user control, using the .Net 2.0 WebBrowser control (shdocvw.dll).
It appears that in some situations word wrapping does not occur. I *think* I have narrowed it down to the version of the shdocvw.dll, but I am slightly confused.
OK: v6.0.6000.16386 (Windows Vista) OK: v6.0.3790.3041 (Windows Server 2003 SP1) OK: v6.0.3790.2920 (Windows Server 2003 SP1) another test server No Word Wrapping!: v6.0.3790.118 (Windows Server 2003) OK: v6.0.2900.3231 (Windows XP SP2) No Word Wrapping!: v6.0.2800.1916 (Windows Server 2000 SP4)
Note that XP falls between the Server 2000 SP4 and Server 2003 versions, which works ok, yet the server versions either side do not wrap the text. So, following on from this I'm now not sure that it is in fact the shdocvw.dll version. shdocvw.dll is a protected system file, so it's not easy to replace with another version to test; I do not have any tools to do this (live cds etc).
But, I'm hoping someone has had experience of Word Wrapping in the WebBrowser control, who will be able to say "ah ha! thats because of..."
View this solution now by starting your
7-day free trial.
Setting up your free trial is quick, easy, and secure. We will return you to this solution,
unlocked, when you're done.
About this solution
Zones: .NET, Miscellaneous Programming, C# Programming Language