0

I have a simple problem and i can't work out what is going on, i have loaded generated images to picture boxes before with the same url structure with no problems, the below url is the location of my image but when i try picturebox1.load(url) it loads it no problem apparently but the imagebox shows no image, try blocks show it works fine.

If i browse to the url the image shows, if i use html to show the image with the url as src it works fine also...

What am i missing here?

Image location is:

http://www.thedemonsden.com/index.php?action=verificationcode;vid=register;rand=dd253984e86650be850ff83e24900251

Code:

pictureBox1.Load("http://www.thedemonsden.com/index.php?action=verificationcode;vid=register;rand=dd253984e86650be850ff83e24900251");

If i try something like:

richTextBox1.Text += pictureBox1.ImageLocation.ToString();

it shows that the location is indeed correct....

Thanks in advance,

phnkha
  • 7,782
  • 2
  • 24
  • 31
scott
  • 1,531
  • 2
  • 16
  • 29

2 Answers2

3

Open http://www.thedemonsden.com/index.php?action=verificationcode;vid=register;rand=dd253984e86650be850ff83e24900251 in your browser.

Its a 1px by 1px image.

The Evil Greebo
  • 7,013
  • 3
  • 28
  • 55
0

You should try with other image with good resolution that should be atleast visible then check the application.

avirk
  • 3,050
  • 7
  • 38
  • 57