Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View jpg file
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
01509991
Message ID:
01509999
Views:
60
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform