Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View jpg file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
01509991
Message ID:
01509999
Vues:
59
This message has been marked as a message which has helped to the initial question of the thread.
>i would like to access a 'sample.jpg' file through a menu tab selection such that the image appears outside the VFP window
>
>i know i can view the image if i set it up within an html file thus (below) - however is there a way to display the image without going through intermediate html file - sample code would be appreciated.
>
>oIE = CreateObject ("internetexplorer.application")
>oIE.NAVIGATE ("c:/sample.html")
>oIE.VISIBLE = .T.
>
>
>thanks K

This works for me.
oIE = CreateObject ("internetexplorer.application")
oie.Navigate("c:\DSCN0016.JPG")
oie.Visible =.t.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform