>Please help me with Web Browser control (VFP7)
>
>I am using web browser control in my form to view different file formats like BMP, DOC, PDF, and so on. If the document is a BMP file it’ll brings up Windows accessories Paint instead of showing the BMP file in my web browser control.
Hi Yelena,
You can use IMG tag to point to a BMP file.
lcBMPfileName = "C:\Images\something.bmp"
lcHtml = [<img src=] + lcBMPfileName +[>]
Thisform.oWeb.Navigate("about:blank")
Thisform.oWeb.Document.Open()
Thisform.oWeb.Document.Write(lcHtml)
Thisform.oWeb.Document.Close()
--sb--