Where is LoadPicture in Visual Studio .Net?

Hi, the book I am using is for VB 6. To load a picture into an image box, it says do this:
imgBox1.Picture = LoadPicture("Blah\Blah.jpg")

But, in Visual Studio .Net, it first of all doesn't recognize.Picture (it wants.Image), and says thatName 'LoadPicture' is not declared. How do I load an image from a file in VB .net?
[477 byte] By [AshwinPurohit] at [2007-12-16]
# 1
Hello

Imagebox.Picture has been replaced now.

Simply use



PictureBox1.Image = Image.FromFile("c:\image.bmp")

to load a image into a picture box now.

Dustin_H at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2
Thanks!
AshwinPurohit at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...