title: Load image from URL to pictureBox
body: <p>I'm trying to load several images from URLs to a pictureBox.
  My problem is that "pictureBox.Load(URL)" or "pictureBox.ImageLocation = URL" doesn't work.
  I don't know why, I think it is because the URL doesn't have an extension like .jpg.</p>
  
  <pre><code>private void button3_Click(object sender, EventArgs e)
  {
      string URL = "https://internetmarke.deutschepost.de/internetmarke/franking/image/view/1403556118.do";
      pictureBox1.ImageLocation = URL;
  }
  </code></pre>
  
  <p>The URL works in Firefox and the picture is shown. But in IE it doesn't work and I think that's the same reason why it's not working in .NET.</p>
  
  <p>IE says "unknown filetype" and wants to download a "1403556118.do" file.</p>
  
  <p>In C# I only get a red X in the pictureBox.</p>
  
  <p>When I first try to load it in IE, it works in the pictureBox (IE cache?)</p>
  
  <p>Does somebody knows another possibility to load this images to a pictureBox?</p>
  
  <p>EDITED: Added sample code.</p>
  
  <hr>
  
  <p>Today I've tested the code on three different computers and with different Internet connections; Home DSL, Company DSL and a UMTS/3G Surf-Stick. All without any proxies and also tested without virusscan.</p>
  
  <p>In every single scenario it didn't work, same as I wrote in my first post.</p>
  
  <p>After I accessed some of the URLs in Firefox or IE, the images of these URLs showed up in my application. All others remained a red X.</p>
  
  <p>Is there any different (old-school^^) method to load these images, like downloading the HTTP-Stream into a byte array and then copy this into pictureBox.Image or something?</p>
  
  <p>Dino</p>