View Single Post
02-01-2011, 10:08 PM
#1
geforce is offline geforce
Status: Member
Join date: Jul 2006
Location: UK
Expertise: Programming - PHP & MySQL
Software: Photoshop and Notepad++
 
Posts: 216
iTrader: 2 / 100%
 

geforce is on a distinguished road

Send a message via AIM to geforce

  Old  C# and PictureBox

Hi,

I am developing a program which allows me to view a camera.
The images are stored on a hard drive on a computer and i've gotten through the login etc, but when I try and display the picture, it just doesn't show.

Here is what I am doing to show the picture:
Code:
MainScreen_One_Pic.ImageLocation = "http://" + port1_site_ip + ":" + port1_site_port + "/ivop.get?action=live&piccnt=1&THREAD_ID=" + port1_threadid;
It roughly translates to:
Code:
MainScreen_One_Pic.ImageLocation = "http://1.2.3.4:987/ivop.get?action=live&piccnt=1&THREAD_ID=bb234897rh2y3hvr237r2h;
If I put the URL that is generated in a web browser, the image displays perfectly.
Am I doing something very wrong here?

Thanks.