Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Vinay Pagaria
  Where is Vinay Pagaria?
 Kolkata
 India
 Vinay Pagaria
 Tags
Subject: RE: WebBrowser Control - Image Referencing
Thread ID: 112432 Message ID: 112434 # Views: 1 # Ratings: 0
Version: Visual FoxPro 6 Category: Active X Controls & OLE Automation
Date: Wednesday, November 08, 2006 2:37:30 PM         
   


> Dear Experts,
> In a form I am using the Microsoft Web Browser Control for display of output to the end user.
>
> The HTML to be displayed is generated in code using data in my data tables and using certain images in some of the records.
>
> I have to keep everything (including data and images) packed inside the EXE as everything is static and to ensure security.
>
> I am facing problem with display of images in the Web Browser control.
> As i have included them in the EXE, VFP can read the image file with the relative path, but within the dynamically generated HTML, the web browser cannot reference the image.
>
> Is there any way out!!
>
> Regards,
> Vinay
> Cheers for Fox, Folks!
> My Blog: www.weblogs.foxite.com/vinaypagaria


Vinay,

The "way out" is to not use the web browser control or to separate the image files from the EXE. Use an image control instead. Why are you using the web browser? What are you trying to accomplish?

Ken
You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

WebBrowser Control - Image Referencing Posted by Vinay Pagaria @ 11/8/2006 2:17:59 PM
RE: WebBrowser Control - Image Referencing Posted by Ken Murphy @ 11/8/2006 2:37:30 PM
RE: WebBrowser Control - Image Referencing Posted by tushar @ 11/8/2006 3:56:33 PM
RE: WebBrowser Control - Image Referencing Posted by Ken Murphy @ 11/8/2006 4:45:33 PM
RE: WebBrowser Control - Image Referencing Posted by tushar @ 11/8/2006 7:30:13 PM
RE: WebBrowser Control - Image Referencing Posted by Ken Murphy @ 11/8/2006 9:00:02 PM
RE: WebBrowser Control - Image Referencing Posted by tushar @ 11/9/2006 7:49:12 AM
RE: WebBrowser Control - Image Referencing Posted by Vinay Pagaria @ 11/9/2006 8:32:52 AM
RE: WebBrowser Control - Image Referencing Posted by Ken Murphy @ 11/9/2006 8:53:44 AM
RE: WebBrowser Control - Image Referencing Posted by tushar @ 11/9/2006 9:30:35 AM
RE: WebBrowser Control - Image Referencing Posted by Vinay Pagaria @ 11/9/2006 2:38:07 PM
RE: WebBrowser Control - Image Referencing Posted by Ken Murphy @ 11/9/2006 2:48:43 PM