vb.net bitmaps and picturebox :    Please help. i need the hex. colour of pixel in an image.  This works fine:

     Private Sub PictureBox1_MouseMove(sender As Object, e As MouseEventArgs) Handles PictureBox1.MouseMove
        PictureBox1.Image = Image.FromFile("c:\image.jpg")
        PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
        Dim b As Bitmap = Me.PictureBox1.Image 
        Dim ver As String = b.GetPixel(e.X, e.Y).ToString 
        Dim veri As String = Hex(b.GetPixel(e.X, e.Y).ToArgb) 
        End Sub
    
   
Next code doesnt work as I expect:

  
    Private Sub PictureBox1_MouseMove(sender As Object, e As MouseEventArgs) Handles PictureBox1.MouseMove
                   PictureBox1.Image = My.Resources.MyImage
                   PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
                   Dim b As Bitmap = Me.PictureBox1.Image 'b is not streched..?
                   Dim ver As String = b.GetPixel(e.X, e.Y).ToString 
                   Dim veri As String = Hex(b.GetPixel(e.X, e.Y).ToArgb) 
            End Sub

why? how to fix it?

