Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help needed with Web Browser
Message
 
 
To
26/07/2002 20:00:30
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00683177
Message ID:
00683182
Views:
18
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform