1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

C#: Can't get PictureBox to display an image.

Discussion in 'Programming' started by geforce, Feb 3, 2011.

  1. #1
    Hi,,

    Im making a program for my own personal use to watch a camera.
    Images are stored ona hard drive every x seconds. Now there is a login on the hard drive and this I have got working, but when generating the URL for the image, it does not display.

    After using a packet sniffer to see what its requesting, it gets the right image and the content is correct, it just doesn't display in the PictureBox.

    Here is how im trying to display the picture.
    
    string Image_url = "http://" + port1_site_ip + ":" + port1_site_port + "/ivop.get?action=live&piccnt=2&THREAD_ID=" + port1_threadid;
     
    MainScreen_One_Pic.ImageLocation = Image_url;
    
    Code (markup):
    The image URL it generates exists and comes back with an image, but just not in the PictureBox.

    Could someone please help me to solve this.

    Thank you.
     
    geforce, Feb 3, 2011 IP