Problem loading images in IE with CF 2.0 and WM5

N

Neb

Hi,

I have a problem that only appears on Windows Mobile 5.0 (not on 2003).
I have a webbrowser object into my CF 2.0 application. I use the
webBrowser.DocumentText method to set my own HTML code (I don't use an
URL). The problem: if this HTML code contains an image tag, the Web
Browser seems to refresh constantly, causing a weird behavior.

To repro this, create a new WM5 application projet in VS2005. Add a
webbrowser object on the form. Then in the Form1() constructor, after
the InitializeComponent() method, cut these lines:

string html = "<html><body><img
src=\"http://www.google.ca/intl/fr_ca/images/logo.gif\"></body></html>";
webBrowser.DocumentText = html;

Run the app. You'll see what I mean. If you run this same code under
WM2003, no flicker.

Any idea why and how to fix?

Thanks,

neb
 
T

ttaschner

I'm running into the same problem in my own application. Does anybody
have an idea how to fix this?
 

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

Top