>Yes, It works if the visible is .t. in properties.
>The reason for doing this is, I am using Image control for other image formats like JPG, BMP etc & I have both OLE control & Image control visible = .f., when the file is JPG/BMP I am making image control visible = .t. & if the file format is PDF then I am making OLE control visible = .t..
Check also
http://west-wind.com/weblog/posts/1299.aspx
If it's not broken, fix it until it is.
My Blog