Loading the image from the url in to picturebox in VB 6.0??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sri2020
    New Member
    • Feb 2008
    • 1

    Loading the image from the url in to picturebox in VB 6.0??

    I am working on a fpspread where I need to displaythe pictures from the URL which are available in the database and Can Anyone please try to help me in finding how to display a Image from the url ???

    I tried LoadPicture method but it doesnt work with the url it needs the file path.
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    Originally posted by sri2020
    I am working on a fpspread where I need to displaythe pictures from the URL which are available in the database and Can Anyone please try to help me in finding how to display a Image from the url ???

    I tried LoadPicture method but it doesnt work with the url it needs the file path.
    If this method is not working
    [CODE=vb]Picture1.Pictur e=LoadPicture(r s!PicturePath)
    'Assuming the name of your recordset is rs and the column is PicturePath

    [/CODE]

    I think the problem would be path the location of the image. Have you checked the file if it is existing or not?

    Comment

    Working...