Quote Originally Posted by kleinma View Post
try this:

Code:
        Dim req As Net.HttpWebRequest = Net.HttpWebRequest.Create(img_url)
        req.Credentials = New Net.NetworkCredential("usernamehere", "passwordhere")
        Dim res As Net.HttpWebResponse = DirectCast(req.GetResponse, Net.HttpWebResponse)
        Dim img As Image = New System.Drawing.Bitmap(res.GetResponseStream)
        res.Close()
        PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
        PictureBox1.Image = img
hi, i had try this with my own code for my wm6
Code:
Dim img Image = New.System.Drawing.Bitmap("C:\users\user\Desktop\123.bmp")
PictureBox1.Image = img
and i get this error: DirectoryNotFoundExxception was unhandled
could not find a part of the 'C:\users\user\Desktop\123.bmp'.

i double check the picture "123" location, it is correct, but i still get the error code.
i just want to load the picture name "123" to my picturebox in my window mobile 6 professional form.
please help me.