perkster
asked on
Viewiing web images
I have an area in my application for viewing images (image1.)
I would like to be able to view the image of a specified web address...
i.e.
image1.picture = Load Picture(www.??????/target. jpg)
How do I set this up to use the address as the source for the pic and display it in my vb program? Help.
I would like to be able to view the image of a specified web address...
i.e.
image1.picture = Load Picture(www.??????/target.
How do I set this up to use the address as the source for the pic and display it in my vb program? Help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ark,
I am getting a runtime error on:
Inet1.Protocol = icHTTP
What component needs to be loaded to make this work?
Perkster
I am getting a runtime error on:
Inet1.Protocol = icHTTP
What component needs to be loaded to make this work?
Perkster
VB menu -> Project -> Components -> Microsoft Internet transfer control (msinet.ocx)
Cheers
Cheers
InVB,
Components... > Microsoft Internet Controls > OK.
Then, to load the pictur, add this line:
Webbrowser1.Navigate "www.??????/target.jpg"
That's it!
glass cookie : )