Try to set Visible property of the MS Web Browser control as well
...
.owB.Visible= .T.
.owB.Object.Visible= .T.
>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..
--sb--