none
Load PictureBox in VB2005 from Azure Storage? RRS feed

  • Question

  • Wondering how to get an image from my Azure blob storage to load into a PictureBox in VB2005. Is this possible? Any pointers appreciated.

    Using the WebClient methods, I get this error: "The remote server returned an error: (407) Proxy Authentication Required."

    Dim MyWebClient As New System.Net.WebClient

    'BYTE ARRAY HOLDS THE DATA
    Dim ImageInBytes() As Byte = MyWebClient.DownloadData("https://myAzureAccount.blob.core.windows.net/myStorage/myImage.png")

    I can load the image into a browser just fine, using the <IMG SRC" tag within a test webpage. It is framed with the "https" protocol, however.

    Monday, September 21, 2015 3:07 PM