View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Duncan[_7_] Duncan[_7_] is offline
external usenet poster
 
Posts: 18
Default Need help saving an image from webbrowser!

I need to write a routine that automatically loads a .gif image from
the internet and saves it to disk. I managed to get the webbrowser
object to load the image but any attempt to use WebBrowser1.ExecWB
OLECMDID_SAVEAS fails with a method failed error.

Is there any way of doing this? I don't need to download and save
whole web pages, just a gif image from an internet-based store of
ready made images with a normal url. (The application needs to
retrieve pre-rendered maps held online).

Many thanks everyone!