You're probably better off asking your question in one of the Visual
Basic NG's or if you search GoogleGroups you'll surely find some
relevant code examples.
Here's aprevious post of mine on this subject:
From: Stephen Lebans
(ForEmailGotoMy.WebSite.-WWWdotlebansdotcom@linvalid.com)
Subject: Re: Images on an Access Form
View this article only
Newsgroups: microsoft.public.access.formscoding
Date: 2004-05-23 19:58:06 PST
Hi Allen,
I have never worked in this area before so I just had a quick peak at
the issue tonight. You cannot place a URL in the Picture prop of a
standard Access Image control so it's either use the Hyperlink method
you outlined or some method to download the image to your local disk and
then load that image intot he Image control.
I placed the MS INternet Transfer control on an Access Form. I added a
CommandBUtton and an Image control.
Private Sub cmdDload_Click()
On Error GoTo Err_cmdDload_Click
Dim sUrl As String
sUrl = "http://www.lebans.com/images/Hillcrest%204x5grey.jpg"
Dim binarydata() As Byte
binarydata() = Me.ActiveXCtl1.OpenURL(sUrl, icByteArray)
Open "C:\TEMP\image.jpg" For Binary Access Write As #1
Put #1, , binarydata()
Close #1
Me.Image3.Picture = "C:\temp\Image.jpg"
Exit_cmdDload_Click:
Exit Sub
Err_cmdDload_Click:
MsgBox Err.Description
Resume Exit_cmdDload_Click
End Sub
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Dave Bootsma" <dave.bootsma@pcsonline.com> wrote in message
news:4144efe7$0$91004$39cecf19@news.twtelecom.net. ..[color=blue]
> Is it possible to programatically save a certain image from a certain[/color]
web[color=blue]
> page?
>
> I want to automatically get a specific graphic from a specific web[/color]
page[color=blue]
> programatically so I can automate the task. I know I can NAVIGATE to[/color]
the[color=blue]
> page with the MS web browser control, but at that point I am stumped[/color]
as to[color=blue]
> wether I can even save the page...
>
> TIA
>
>[/color]