Results 1 to 3 of 3

Thread: Loading an Image from a Web Server

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Belfast
    Posts
    28
    I want to load an image into a VB Picture Box control at runtime.
    like
    Code:
    Form1.Picture1.Picture = LoadPicture(App.Path & "/images/about_us.gif")
    Form1.Picture1.Refresh
    However The image is on a web server and changes.
    Code:
    Form1.Picture1.Picture = LoadPicture("http://www.activeportal.net/images/about_us.gif")
    Form1.Picture1.Refresh
    This doesn't work.
    Has anyone done this before.

    I would rather do it using API than adding attitional dll's and ocx's to my project. Size is important as the app will be downloadable to modem users.

    Any help would be appreciated.

    Thanks
    Charlie

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Belfast
    Posts
    28
    I know someone out there can help me

  3. #3
    Junior Member
    Join Date
    Feb 1999
    Posts
    25

    Red face OCX or DLL needed

    If you want to download images off the Internet, you are going to have to use a dll or ocx. That's the only way to access the Internet. Try the Internet Transfer Control or WinSock.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width