Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help needed with Web Browser
Message
 
 
À
26/07/2002 20:00:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00683177
Message ID:
00683182
Vues:
19
>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform