I've created an image window in a form and I'm trying to display a jpeg file in it. First of all, although I have tried, is "DIM imgPhoto as Image" necessary? The line command is as follows:

imgPicture.Picture = LoadPicture("C:\Documents and Settings\Owner\My Documents\My Pictures\DCAO0082.JPG")

Debug tells me that:

imgPicture.Picture =<Object variable or With Block variable not set>

I don't know what that means? What is an object variable/With block variable? The width property has a value.